Hibernate 3.2.0.cr3 is the third Candidate for Release for the upcoming 3.2.0 version. This release includes further fixes and enhancements related to JPA compliance, as well as batch fetching efficiency improvements and component-related enhancements to HQL; check out the changelog for all the details.
The download and notes are available at Sourceforge.
Here is the changelog compared with cr2:
** Bug
* [HHH-1452] - Native SQL query is missing join if entity includes many-to-one on secondary table
* [HHH-1507] - one-to-one can have formula or meta but not both of them.
* [HHH-1552] - Error when using ?1 and parameterList
* [HHH-1586] - ClassCastException in CollectionType.toLoggableString if using CustomCollectionType
* [HHH-1732] - EhCache.toMap still assumes Serializable objects
* [HHH-1734] - Connection leak when using hilo strategy in SE environment
* [HHH-1741] - Bug in reference documentation
* [HHH-1746] - NullPointerException at IdentNode.resolveAsNakedComponentPropertyRefLHS(IdentNode.java:195
* [HHH-1748] - Setting a comment that contains a single quote on a query results in an unintuitive exception
* [HHH-1763] - Bug in InputStream org.hibernate.util.ConfigHelper.getResourceAsStream(String resource)
* [HHH-1791] - property update="false" ignored since 3.2.0.cr2
* [HHH-1816] - serializing session from a named session factory to a different vm broken
* [HHH-1822] - flushing entity linked to transient instance (non cascaded) should always fail
* [HHH-1828] - registering a transaction marked for Rollback is illegal
* [HHH-1833] - Not Generating HibernateException
* [HHH-1838] - Wrong SQL generated for hql query on "any" relation
* [HHH-1855] - booleans not properly handled in assignment clause of UPDATE statements
* [HHH-1858] - wrong sql generated against many-to-any association table
* [HHH-1871] - query type autodiscovery assume wrong column when mixing entities and scalars
** Deprecation
* [HHH-1792] - Callable update/insert/delete statements should not force rowcount out parameter
** Improvement
* [HHH-1617] - Check the second-level cache before adding a PK to a batch fetch
* [HHH-1773] - Typo in ImprovedNamingStrategy
* [HHH-1779] - Allow Session.remove() on transient object
* [HHH-1789] - improve efficiency of collection initialization from L2 cache hits
* [HHH-1795] - default cache provider to NoCacheProvider
* [HHH-1796] - TreeCache based providers and Fqn
* [HHH-1800] - session.get() / load() should raise exception when the id is of the wrong type
* [HHH-1818] - remove() should force subsequent contains() calls to return false
* [HHH-1831] - Batch loading the same EntityKey (one side of manytoone ) more than once
* [HHH-1861] - More complete component handling in HQL
* [HHH-1881] - introduce LoggableUserType inteXXXce
** New Feature
* [HHH-1709] - Be able to raise ENFE rather than LIE in proxies
* [HHH-1727] - Add a SQLFunctionRegistry
* [HHH-1817] - Introduce setting for JPA-QL strict compliance
* [HHH-1826] - Built-in type for char[] -> VARCHAR Byte[] and Character[]
** Patch
* [HHH-1558] - Dialect for new database engine H2
* [HHH-1847] - QBE 'like' clause with backslashes don't work with MySQL
** Task
* [HHH-1839] - rename FlushMode.NEVER -> FlushMode.MANUAL
心情: 一般