Hibernate Changelog
===================
Note: Newer entries are automatically generated and the description might not
match the actual issue resolution (i.e. a bug might not be a bug). Please
refer to the particular case on JIRA using the issue tracking number to learn
more about each case.
Changes in version 4.3.0.Beta5 (2013.10.09)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.atlassian.net/browse/HHH/fixforversion/14250
** Technical task
* [HHH-7841] - Introduce LoadPlan
* [HHH-8276] - Integrate LoadPlans into UniqueEntityLoader (PoC)
* [HHH-8354] - New dirty-checking options based on bytecode enhancement
** Bug
* [HHH-1835] - mysql dialect doesn't contain standard deviation/std() function
* [HHH-3812] - Documentation says bags are Lists in Java, but are not
* [HHH-4118] - Hibernate ignores invalid values for hibernate.hbm2ddl.auto
* [HHH-5744] - Return value check missing for ResultSet.next method
* [HHH-5818] - Malformed exception message
* [HHH-6255] - SchemaExport quote foreignkey names not correct
* [HHH-6576] - NPE in HibernateUtil in case there is no default configuration
* [HHH-7513] - PropertyAccessException while reattachement: could not get a field value by reflection getter
* [HHH-7689] - Error executing batch should abort rest of batch for "cleanliness" sake
* [HHH-8328] - Typo in Query.list Javadoc
* [HHH-8394] - Wrong processing of package-info.java on Windows
* [HHH-8432] - Wrong bindings of named parameters in IN clause
* [HHH-8434] - CriteriaUpdate doesn't separate multiple assignments in rendered string
* [HHH-8500] - Interbase does not have a boolean type
* [HHH-8502] - EnversIntegrator#disintegrate needs to check config for null
* [HHH-8509] - malformed LOG.tracef() throws exception
* [HHH-8514] - EntityManager#createQuery(CriteriaQuery) should throw IAE rather than ISE
* [HHH-8515] - EntityManager#createStoredProcedureQuery( String, String...) should throw IAE if result set mapping name(s) do not exist
* [HHH-8516] - EnumeratedTypeTest.testTrimmedEnum fails on oracle databases
* [HHH-8517] - ResultSet#getDate includes time in oracle12c JDBC
* [HHH-8518] - Validate EMF#addNamedQuery transfers all query settings
* [HHH-8522] - CompositeIdTypeBindingTest.testCompositeTypeBinding fails on sybase157
* [HHH-8523] - Incorrect parameter binding for Calendar and TemporalType
* [HHH-8530] - Align JPA "positional parameter" handling in javax.persistence.Parameter impl
* [HHH-8532] - ManagedType#getAttribute(String) should throw IAE rather than return null
* [HHH-8533] - Add tests of JPA Metamodel handling for MappedSuperclass and mixed @Id/@IdClass declaration
* [HHH-8537] - @UniqueConstraint naming non-existent column leads to NPE
* [HHH-8539] - @Column#table naming primary table fails
* [HHH-8540] - Throw ISE on attempts to create EntityManager using any form of createEntityManager accepting SynchronizationType if RESOURCE_LOCAL
* [HHH-8541] - EntityManager#getLockMode should technically throw TransactionRequiredException if transaction is not active
* [HHH-8542] - javax.persistence.Query#setLockMode should throw ISE if not a SELECT JPQL or Criteria query
* [HHH-8543] - Complete org.hibernate.ejb.HibernatePersistence deprecation
* [HHH-8548] - HHH-3047 causes regressions
* [HHH-8549] - JPQL TREAT keyword handling is currently case sensitive
* [HHH-8551] - Cannot use with-clause on the RHS of a join
* [HHH-8553] - hibernate-osgi needs to support alternative locations for hibernate.cfg.xml
* [HHH-8556] - QueryStructure#collectCorrelatedJoins should add correlationRoots implementing Join
* [HHH-8561] - hibernate.dialect_resolvers causes failures
* [HHH-8563] - javax.persistence.Query#getLockMode should throw ISE in some cases
* [HHH-8576] - Query not properly locking non-versioned entities associated with PersistenceContext
* [HHH-8578] - Bulk delete cascading into many-to-many join table not properly handling where clause
* [HHH-8580] - NPE while deleting items from collection
* [HHH-8584] - Prefer returning UNKNOWN from PersistenceUtilHelper
* [HHH-8586] - Synchronization beforeCompletion/afterCompletion should check if TransactionCoordinator is closed
* [HHH-8593] - EntityManager.refresh should throw EntityNotFoundException if the entity no longer exists in the database
** Improvement
* [HHH-2155] - mysql dialect should not generate automatically index for foreign key
* [HHH-4577] - 2L query cache: Low performance of flush and commit due many unnecessary (pre)invalidate calls on UpdateTimestampsCache
* [HHH-7130] - Evicting query regions is not logged
* [HHH-7150] - evictAll() method is missing in SessionFactory getCache()
* [HHH-8453] - Investigate improving DriverManager-based connection pooling
* [HHH-8476] - Bulk delete doesn't cascade delete on join table
* [HHH-8503] - invoke determineDialect instead of constructDialect when hibernate.dialect is blank
* [HHH-8504] - resolve proper dialect for mysql5 when determine by connection metadata
* [HHH-8521] - LockMode should be checked on query execution, not during call to setLockMode
* [HHH-8560] - Add (trace/debug) logging of SQL ResultSet mapping info
** New Feature
* [HHH-4910] - automatic L2 collection cache eviction when an element is added/updated/removed
* [HHH-8478] - AttributeConverters need to be applied to JPQL and Criteria queries
* [HHH-8495] - Support ilike in Hibernate Envers
* [HHH-8510] - Add a Logger which is able to monitor the creation of new Sessions at DEBUG/TRACE level
* [HHH-8520] - Apply "global quote identifier" to HBM processing
* [HHH-8529] - AttributeConverter not applied to @ElementCollection
* [HHH-8577] - ClearListener: allow to listen for clear events
** Task
* [HHH-8445] - Implement REF_CURSOR support for StoredProcedureQuery
* [HHH-8498] - Full ConstructorResult handling
* [HHH-8525] - Hook in XML overriding of ConstructorResult for sql-result-set-mapping
* [HHH-8594] - Update to "final" version of jboss-transaction-api_1.2_spec once it is "final"
* [HHH-8595] - Update Jandex to 1.1.0.Final
* [HHH-8601] - remove commons-logging and slf4j, using log4j as the backend of jboss-logging for testing
Changes in version 4.3.0.Beta4 (2013.09.12)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.atlassian.net/browse/HHH/fixforversion/13652
** Sub-task
* [HHH-8112] - Document OSGi capabilities
** Technical task
* [HHH-8448] - Convert annotations for composites not properly applied
* [HHH-8449] - AttributeConverter application not disabled properly via local Convert annotation
* [HHH-8462] - Handle elements in orm.xml
** Bug
* [HHH-3078] - Problem with multiple classloaders and cglib proxy enhancement, e.g. in the usual tomcat configuration
* [HHH-4141] - Typo in tutorial docs
* [HHH-4261] - @Any mapping fails during configuration: "@Any requires an explicit @JoinColumn(s)"
* [HHH-4294] - Generated SQL includes a column named "null" when referencing a map entry by key and using @LazyCollection(LazyCollectionOption.EXTRA)
* [HHH-4699] - String mapped ENUMs can't be loaded from CHARs only VARCHARS (fix is trivial)
* [HHH-6935] - HibernateException in mysql Found: bit, expected: boolean
* [HHH-7002] - SchemaExport ERROR when using in-memory database (H2) - drop constraint issue HHH000389
* [HHH-7116] - Ordered Criteria query that joins with an ordered mapped collection results in incorrect overall ordering
* [HHH-7216] - "java.lang.IllegalStateException: No supertype found" thrown on query with "COUNT" aggregate function
* [HHH-7915] - Inherited foreign keys which reference a non primary key column incorrectly reference the primary key column
* [HHH-7959] - Hibernate/Infinispan 2nd Level Caches set to JBoss7 transaction-mode=NONE stop functioning after an explicit eviction
* [HHH-8055] - Typo in docs? 16.3. Associations and joins
* [HHH-8106] - Broken org.hibernate.tool.enhance.EnhancementTask
* [HHH-8111] - AttributeConverter doesn't override built-in type mappings
* [HHH-8153] - Criteria on Enum mapping defined in hbm.xml fails.
* [HHH-8193] - MSSQL: The stream value is not the specified length. The specified length was 7, the actual length is 0.
* [HHH-8210] - JdbcCoordinatorImpl logs excessive HHH000387 warnings when used with some connection pools
* [HHH-8255] - Clean up compile and optional dependencies from OSGi manifests
* [HHH-8275] - union-subclass generates bad alter table for unique constraint
* [HHH-8280] - Validity audit strategy leads to database corruption when entity identifiers are reused
* [HHH-8283] - JdbcSQLException with CompositeCustomType and java.util.Date
* [HHH-8297] - Typo in error message: "contains phyical column name"
* [HHH-8301] - SQLServer2005LimitHandler skips column alias generation
* [HHH-8302] - C3P0 initialPoolSize non longer initialized with minPoolSize
* [HHH-8312] - named parameters binding are not correct when used within subquery
* [HHH-8316] - CNFE: javax.persistence.Converter
* [HHH-8318] - "delete" with "member of" query fails
* [HHH-8335] - Hibernate OSGi not included in build's /lib
* [HHH-8349] - DialectFactory cannot determine "hibernate.dialect" for PostgresPlus 9.2 (EnterpriseDB)
* [HHH-8362] - Wrong add contraint unique statement for informix
* [HHH-8363] - ClassLoaderServiceImpl should be defined as Stoppable
* [HHH-8371] - The method org.hibernate.internal.util.StringHelper.lastIndexOfLetter does not consider the character '_'
* [HHH-8373] - NullPointerException in QueryImpl#extractParameterInfo
* [HHH-8383] - ExceptionInInitializerError when changing System properties while Environment class is initialized
* [HHH-8385] - Check whether EMF is closed (throwing ISE if so) when indicated methods are called
* [HHH-8386] - Commit transaction on connection used to export schema (JPA)
* [HHH-8390] - Foreign key reference generated before unique constraint exists
* [HHH-8395] - JPA StoredProcedureQuery#getUpdateCount should prefer return -1 rather than throw exceptions
* [HHH-8397] - MultiLineImportFileTest failing on some platforms
* [HHH-8398] - JPA TCK incorrectly assuming partial column results (into entity returns) are valid for StoredProcedureQuery
* [HHH-8400] - Positional parameters defined on NamedStoredProcedureQuery not applied
* [HHH-8406] - Make EntityManagerFactoryRegistry.getNamedEntityManagerFactory thread safe
* [HHH-8407] - Missing synchronization in DriverManagerConnectionProviderImpl#stop
* [HHH-8411] - StoredProcedureQuery : getResultList and hasMoreResults() mot implemented properly
* [HHH-8414] - hibernate-osgi tests intermittently failing
* [HHH-8415] - Throw exception types expected by JPA spec wrt StoredProcedureQuery
* [HHH-8419] - Tie javax.persistence.Parameter instance to javax.persistence.Query instance
* [HHH-8420] - Correct test-only failures occurring in matrix CI
* [HHH-8422] - hibernate-matrix-testing not picking up hibernate.properties
* [HHH-8427] - Typo in documentation - Basic Mapping
* [HHH-8428] - ProviderMBeanRegistration.locateSessionFactory() NPE
* [HHH-8439] - Envers OSGI Manifest: org.apache.tools.ant import should be optional
* [HHH-8441] - Hibernate is trying to add values to an Immutable List
* [HHH-8442] - certain EntityManager operations (e.g. StoredProcedureQuery.execute()) should rollback the TX for certain exceptions
* [HHH-8444] - Fix criteriaapi failures from JPA 2.1 TCK
* [HHH-8447] - HQL delete with multiple subqueries failing (incorrect alias used)
* [HHH-8452] - Better parameter handling for JPA criteria queries
* [HHH-8454] - Criteria queries sometimes lead to SQL like "... where ? in (?,?)"
* [HHH-8464] - Using JPA2 specific quoting character (double quote) for JoinColumn results in DuplicateMappingException.
* [HHH-8465] - EnversListenerDuplicationStrategy areMatch method using listener.getClass().equals( original ) instead of listener.getClass().equals( original.getClass() )
* [HHH-8467] - Compiling should trigger animal-sniffer execution
* [HHH-8468] - @JoinColumn(table = "...") doesn't use NamingStrategy
* [HHH-8469] - Application of JPA 2.1 AttributeConverters
* [HHH-8472] - @Lob annotation applies to both key and value of Map
* [HHH-8477] - Use javax.persistence.Query#unwrap to implement addNamedQuery, rather than direct type checking
* [HHH-8480] - JPA Predicate#not() on a simple predicate should leave the operator as AND, not mutate it to OR
* [HHH-8486] - javax.persistence.Tuple#get(String,Class) impl does not validate type
* [HHH-8492] - Make the ValidatorFactory available via EntityManagerFactory.getProperties()
* [HHH-8496] - TableCatalog and TableSchema arguments mistaken in DB update-script.
** Improvement
* [HHH-3047] - Increase max alias length for Oracle dialects from 10 to 30
* [HHH-5920] - in org.hibernate.mapping.PersistentClass some 2 performance issues can be fixed
* [HHH-8068] - Provide better error messages for missing constructors in HQL / JPQL Constructor queries
* [HHH-8117] - Add package export versions in OSGi manifests
* [HHH-8284] - Have JPA schema generation include work done by Integrators
* [HHH-8319] - ConstraintViolationException not showing constraint name for MySQL
* [HHH-8378] - hibernate-osgi cleanup on bundle stop
* [HHH-8409] - Improve usage of ConcurrentMaps by using putIfAbsent in StatefulPersistenceContext
* [HHH-8410] - NaturalIdXrefDelegate could miss some cached entries from naturalIdResolutionCacheMap
* [HHH-8424] - Skip collection element/map key AnyTypes in JPA metamodel
* [HHH-8426] - Add defaultScrollMode to Dialect
* [HHH-8459] - Improved handling of JPA schema-generation target files
* [HHH-8461] - Add PropertyHolder#resolveAttributeConverter method
* [HHH-8470] - Automated maintenance of hibernate-osgi test config
* [HHH-8491] - improve LocaleTypeDescriptor#fromString
** New Feature
* [HHH-2692] - Allow select clause to specify parameters within an "insert to"
* [HHH-2736] - support for native/SQL query hints in HQL/Criteria (Oracle SELECT hints for example)
* [HHH-3452] - Statistics for Criteria Queries
* [HHH-7527] - OSGi hibernate-orm
* [HHH-7807] - Deleting Revision Entity (on delete cascade)
* [HHH-8174] - Link to current version of entity
* [HHH-8306] - Gradle task for bytecode enhancement
* [HHH-8331] - Create PostgreSQL9Dialect
* [HHH-8337] - Add Maven plugin for bytecode enhancement.
* [HHH-8440] - Support sequences with a new SQLServer2012Dialect
* [HHH-8493] - Implement ConstructorResults handling
** Patch
* [HHH-8408] - Test helpers for hi/lo id generations lack synchronization
** Remove Feature
* [HHH-8357] - remove dom4j proxy support
** Task
* [HHH-7996] - OSGi Unit Testing
* [HHH-8265] - Investigate proxy package imports in OSGi client bundles
* [HHH-8288] - Upgrade to Javassist 3.18
* [HHH-8309] - Create hibernate-orm subprojects for maven and gradle plugins
* [HHH-8336] - Upgrade c3p0 dependency
* [HHH-8358] - Upgrade infinispan to 5.3.0.Final
* [HHH-8364] - change the "exclude-unlisted-classes" behavior in Java SE environments
* [HHH-8388] - pull in final jpa-api 2.1
* [HHH-8399] - Upgrade to Javassist 3.18.1-Beta1
* [HHH-8405] - Track down tests that leak SessionFactories
* [HHH-8413] - Rename ProcedureResults -> ProcedureOutputs
* [HHH-8416] - JPA TCK challenge for StoredProcedureQuery#hasMoreResults assertion
* [HHH-8421] - JPA 2.1 TCK inaccurate assumptions about binding Date/Calendar parameter values
* [HHH-8450] - Predicate#not now required to return new instance
* [HHH-8463] - Upgrade to Javassist 3.18.1-GA
* [HHH-8474] - Upgrade to Gradle 1.7
* [HHH-8485] - Apply newly extracted version-injection plugin
* [HHH-8487] - Auto-flush on JPA native SQL query
* [HHH-8490] - Remove buildDashboard dependency on check
* [HHH-8499] - Prepare for 4.3 Beta4 release
Changes in version 4.3.0.Beta3 (2013.05.29)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.atlassian.net/browse/HHH/fixforversion/13451
** Sub-task
* [HHH-8144] - Create a 'release' task that performs all tasks needed for doing a release
** Bug
* [HHH-2664] - full join not working
* [HHH-5465] - HQL left join fetch of an element collection following a left join fetch of a one-to-one relationship causes NullPointerException
* [HHH-6813] - @Id @OneToOne cause NullPointerException during query
* [HHH-8083] - @OrderColumn not updated on @OneToMany cascade
* [HHH-8219] - Protect against JDK 7 API usage
* [HHH-8220] - pom dependencies scope changed from compile to runtime
* [HHH-8225] - EMF cannot be created, closed, then re-created in OSGi
* [HHH-8233] - exclude-unlisted-classes is not excluding unlisted classes in root
* [HHH-8236] - Update to hibernate-commons-annotations 4.0.2.Final
* [HHH-8241] - Reusing of scanner instance is impossible with Apache Aries JPA
* [HHH-8250] - DefaultInitializeCollectionEventListener not finding collections in cache
* [HHH-8254] - throw HibernateException when transaction is rolledback by a reaper thread
* [HHH-8266] - Binding of named-stored-procedure XML element tries to create duplicate
* [HHH-8269] - DenormalizedTable FK constraint names can be too long
* [HHH-8270] - Support for accessing JPA schema export script files specified by URL
* [HHH-8271] - Handling of javax.persistence.sql-load-script-source
* [HHH-8273] - Incorrect "unique-key" naming comment in docs
** Improvement
* [HHH-6875] - @OrderBy on @ElementCollection of basic type should "order by value"
* [HHH-7214] - DiscriminatorValue
* [HHH-7582] - TableGenerator does not distinguish between different tenants (MultiTenant Schema based)
* [HHH-8211] - Checkstyle and FindBugs fix-ups
* [HHH-8217] - Make generated constraint names short and non-random
* [HHH-8226] - table synonyms cannot find columns on Oracle
* [HHH-8231] - Pass along IOException as cause when trying to open script outputs
* [HHH-8238] - OsgiJtaPlatform null pointer exception
* [HHH-8257] - More concisely obtaining a JBoss logger
** Task
* [HHH-8218] - Update to final versions of BV 1.1 and HV 5
* [HHH-8222] - Implement @NamedStoredProcedureQuery binding
* [HHH-8223] - Implement @NamedEntityGraph binding
* [HHH-8232] - Upgrade to Gradle 1.6
* [HHH-8235] - Drop database profiles upstream
* [HHH-8246] - Implement XML binding of NamedStoredProcedureQuery
* [HHH-8247] - Implement XML binding of NamedEntityGraph
Changes in version 4.3.0.Beta2 (2013.05.02)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.atlassian.net/browse/HHH/fixforversion/13052
** Sub-task
* [HHH-7617] - Gradle eclipse task missing src paths and test source generation
* [HHH-7943] - C3P0, Proxool, ehcache, and infinispan services for OSGi
* [HHH-7944] - Envers OSGi support
* [HHH-7993] - Support jar scanning in OSGi
* [HHH-7995] - Auto-discovery of Hibernate extension points in OSGi
* [HHH-8141] - Upgrade to Gradle 1.5
* [HHH-8142] - Create a 'compile' task that performs all copmpilations
* [HHH-8143] - Create a 'generateSources' task that performs all generation tasks
* [HHH-8145] - Add MaxPermSize to test configuration
* [HHH-8146] - Update to use maven-publishing plugin
* [HHH-8147] - Update to use distribution plugin for createing release bundles
* [HHH-8151] - Consolidate defining "java language level" in one place
* [HHH-8152] - General cleanup
* [HHH-8156] - Apply new Gradle plugins
* [HHH-8160] - Integrate with Aries JPA 2.1 branch
** Bug
* [HHH-5845] - Lazy Loading of audited entites with revision type 'delete'
* [HHH-7357] - Incorrect exception translation when using Oracle
* [HHH-7478] - ConcurrentModificationException when adding a BeforeTransactionCompletionProcess from with a PostInsertEventListener for an @Audited entity
* [HHH-7880] - SessionFactory.openStatelessSession() does not respect tenant identifier from CurrentTenantIdentifierResolver
* [HHH-7974] - Session.getTenantIdentifier() not callable without active transaction
* [HHH-8049] - Initialization error with mapping
* [HHH-8084] - LobMergeTest fails on oracle
* [HHH-8103] - Oracle LOB ordering not working with SequenceIdentityGenerator
* [HHH-8137] - Javadoc generation is currently not playing nicely with Java7 javadoc changes
* [HHH-8171] - Auditing of collections of embeddables only supporting single element changes
* [HHH-8173] - AvailableSettings constants for javax.persistence.schema-generation contain space
* [HHH-8178] - Natural IDs generating one UniqueKey per Column
* [HHH-8182] - Correct intermittent UpgradeLockTest failures
* [HHH-8189] - Audit records are not rolled back when transaction is rolled back
* [HHH-8207] - Locale conversion is broken
* [HHH-8215] - Windows Build with Eclipse does not work
** Deprecation
* [HHH-8170] - Deprecate Hibernate @ForeignKey in favor of JPA 2.1 introduced @ForeignKey annotation
** Improvement
* [HHH-7605] - Provide details "An entity copy was already assigned to a different entity."
* [HHH-7908] - Logging level checking.
* [HHH-8138] - Log SQLException in DatabaseTarget with cause of schema export CREATE statement failure
* [HHH-8159] - Apply fixups indicated by analysis tools
* [HHH-8162] - Make unique constraint handling on schema update configurable
* [HHH-8167] - Adding @NotNull to a @ManyToOne association with @JoinColumnsOrFormulas leads to ClassCastException
* [HHH-8180] - Improve performance of logging level checks
* [HHH-8183] - Also support synonyms for schema validation
** New Feature
* [HHH-8157] - Adding DBAllocator labels for new DBs
* [HHH-8163] - Deprecate @IndexColumn and add @ListIndexBase
** Task
* [HHH-8164] - Deprecate @Sort in favor of @SortNatural and @SortComparator
* [HHH-8175] - Add support for Postgresql 9.2, Postgres Plus 9.2 and IBM DB2 10.1
* [HHH-8186] - Type in docs? Caching section nonstrict != nontrict
* [HHH-8212] - Add CLA ref to CONTRIBUTING.md
Changes in version 4.3.0.Beta1 (2012.07.12)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.atlassian.net/browse/HHH/fixforversion/12152
** Sub-task
* [HHH-7941] - Script OSGi manifest creation in Gradle
* [HHH-7942] - Create Hibernate OSGi bundle activator and class loader services
* [HHH-7966] - Remove external use of internal impls
* [HHH-7968] - Upgrade to JACC 1.0.2.Final -- needed for OSGi manifests
* [HHH-7981] - Load (now) locally defined orm.xsd while processing orm.xml files
* [HHH-7982] - Revisist discrepancy between and @JoinTable after discussion with EG
* [HHH-7991] - Correct all instances of Thread.currentThread().getContextClassLoader()
* [HHH-7994] - Improve OsgiClassLoader performance
* [HHH-7997] - Integrate changes to EntityGraphs
* [HHH-8010] - Ensure Hibernate manifests allow user bundle managed SF/EMF
* [HHH-8077] - Add MDC usage into attribute walking to help decode logs from recursive calls
* [HHH-8098] - JTA 1.2
* [HHH-8099] - CDI 1.1
* [HHH-8100] - BV 1.1
** Bug
* [HHH-995] - Order.ignoreCase() only works for VARCHAR types, not CHAR types
* [HHH-1168] - Problem combining locking and paging on Oracle
* [HHH-1283] - ScrollableResults JoinFetch don't set child collection correctly after the second parent object
* [HHH-1570] - criteria-api: filtering by key-many-to-one causes invalid sql
* [HHH-1904] - Identifier too long
* [HHH-2045] - in () result in "unexpected end of subtree"
* [HHH-2721] - PostgreSQLDialect: function md5() always returns a string value
* [HHH-3788] - FirebirdDialect: current_date() function
* [HHH-3862] - Wrong link in documentation tutorial chapter 1
* [HHH-4084] - @UniqueConstraint(columnNames="") causes StringIndexOutOfBoundsException
* [HHH-4150] - EntityManager.createQuery does not recognize COUNT CASE statement
* [HHH-4459] - Query with Composite Primary Key parameter crashes when query cache is on
* [HHH-4562] - Some kind of typo in chapter 7.3.1
* [HHH-4635] - Oracle ORA-24816 inserting and updating data for entities containg LOB attributes
* [HHH-5188] - Use provided enum type ordinal/string when reading
* [HHH-5209] - org.hibernate.hql.ast.QuerySyntaxException when running a JPQL query with a MEMBER OF on an @ElementCollection
* [HHH-5267] - NPE when updating a detached entity with a one-to-one association changed to null that is mapped with delete-orphan
* [HHH-5376] - Tests contain invalid SQL
* [HHH-5732] - @OrderColumn not updated if @OneToMany has mappedby defined
* [HHH-5836] - Mapping collection of entities with same name and notnull constraints from two different entities results in duplicate property mapping of Backref
* [HHH-5973] - Typo in documentation about Interceptors
* [HHH-6043] - PostLoad method invoked before collection initialised
* [HHH-6349] - AuditJoinTable rows missing when detached entities with collections are merged into the persistence context
* [HHH-6496] - ClassCastException inside proxy without explicit casting in application code
* [HHH-6643] - Criteria doesn't support a chaining of 2 not restrictions (sql = not not criterion)
* [HHH-6655] - trim function on DB2 is broken
* [HHH-6972] - Support PostgreSQL and Oracle LOBs
* [HHH-7029] - Javadoc says the opposite as in code example
* [HHH-7203] - IdentityGenerator fails with JOINED Inheritance when inserting entity to PosgtreSQL
* [HHH-7233] - unmuck EntityManager#getSingleResult wrt auto-setting of max results
* [HHH-7304] - NaturalIdResolutionCache not correctly filled on first persist when @GeneratedValue-@Id
* [HHH-7308] - beforeTransactionCompletion() not getting called in the same scenarios as afterTransactionCompletion() in the TransactionObserver for child Sessions
* [HHH-7309] - Natural-id not cached in shared cache after insert
* [HHH-7359] - Trace logging causes numerous test errors
* [HHH-7377] - NullPointerException in conjunction with natural IDs after Session.clear()
* [HHH-7398] - Transaction timeouts are not properly enforced
* [HHH-7437] - Classcast issue with new property auditing feature of Envers(withModifiedFlag)
* [HHH-7479] - getForUpdateString() of HSQLDialect returns empty string.
* [HHH-7487] - org.hibernate.type.EnumType incorrectly logs binded values
* [HHH-7519] - Upgrade byteman version
* [HHH-7524] - Enabling AvailableSettings.ENABLE_LAZY_LOAD_NO_TRANS results in leaking DB-connections
* [HHH-7541] - When using HSQLDB, inserting any CLOB value larger than 16Mb always fails with an exception
* [HHH-7557] - Map entries get deleted
* [HHH-7561] - PersistenceUnitUtil.getIdentifier returning null for a persisted proxy
* [HHH-7563] - Fallback for JBossAppServerJtaPlatform.locateUserTransaction() to look at "java:jboss" if "java:comp" not available
* [HHH-7566] - Activating JOIN fetch profile involving self-referential associations causes StackOverflowError
* [HHH-7567] - Better checking when @Enumerated involved
* [HHH-7568] - Add JPA1.0 compound key compatability when orm descriptor file used to override annotations.
* [HHH-7569] - Correct test-only failures in hibernate-core-master-matrix CI job
* [HHH-7575] - Hibernate Getting Started Guide refers to incorrect tutorial directory for annotations tutoral
* [HHH-7577] - Dialect's supportsNotNullUnique not working when false
* [HHH-7578] - Sybase does not support "unique not null"
* [HHH-7579] - Oracle does not support "unique not null"
* [HHH-7580] - Complete 2-phase SessionFactory building design
* [HHH-7584] - Sybase dialects attempting to use BLOB types
* [HHH-7586] - Re-architect Type or TypeFactory dynamic descriptors
* [HHH-7603] - NullPointerException being thrown instead of LazyInitializationException with collection reattach change
* [HHH-7608] - @OrderBy in combination with @Formula fails
* [HHH-7643] - java.io.NotSerializableException org.hibernate.type.EnumType
* [HHH-7644] - Correct memory leak introduced by HHH-7557
* [HHH-7645] - Enum property defined within orm.xml using enum-type string does not work
* [HHH-7669] - JtaTransaction test fails on Oracle RAC
* [HHH-7674] - DB locks not cleared on LazyLoadingTest#testLazyCollectionLoadingWithClearedSession
* [HHH-7692] - Postgres 9 and 9.1 use 8.1 dialect instead of 8.2 by default
* [HHH-7693] - SQL Server 2012 gets the SQL Server 2000 dialect by default
* [HHH-7711] - SchemaExport doesn't create file with script if both parameters exportToDatabase and scriptToConsole are false
* [HHH-7716] - Update CUBRID dialect and test cases
* [HHH-7717] - Reserved keywords are used in unit tests' column names
* [HHH-7721] - SQLFunctionRegistry findSQLFunction does not honor case sensitivity
* [HHH-7724] - JpaLargeBlobTest failing on multiple DBs
* [HHH-7730] - SchemaExportManagedConnectionTest#testGenerateDdlToFile failing on Oracle & Sybase
* [HHH-7732] - QueryTest#testMemberOfSyntax failing on Oracle
* [HHH-7733] - NativeSQLQueriesTest failing on Postgres
* [HHH-7734] - SerializableTypeTest#testNewSerializableType failing for Oracle 11G R1
* [HHH-7748] - EnumType crashes because of unsupported JDBC API in Oracle
* [HHH-7757] - NOT IN handled incorrectly with tuples for dialects that do not support tuple syntax
* [HHH-7767] - JoinWalker creates ".." substring in association path
* [HHH-7768] - Names of invalid named queries incorrectly concatenated
* [HHH-7769] - Define short-names for built-in MultiTableBulkIdStrategy impls
* [HHH-7785] - Schema export does not generate unique constraints for HSQLDialect any more
* [HHH-7797] - Inconsistent logic by uses of Dialect#supportsNotNullUnique
* [HHH-7800] - maximize() builds incorrect query if used inside an AuditDisjunction
* [HHH-7816] - DDL opertations will incorrectly commit current transaction on Oracle XA
* [HHH-7819] - Correct test issues found in CI hibernate-core-master-matrix job
* [HHH-7821] - NPE after upgrade from 4.1.6 to 4.1.8
* [HHH-7825] - org.hibernate.type.descriptor.java.DataHelper is incompatible with FireBird JDBC
* [HHH-7829] - NullPointerException when manually flushing One-To-One relationship with orphan removal
* [HHH-7839] - Documentation bug at SimpleNaturalIdLoadAccess.getReference(Object naturalIdValue)
* [HHH-7849] - Unable to join on an embedded field
* [HHH-7889] - Sybase jConnect driver cannot use ResultSet.getClob(String) method
* [HHH-7890] - Quoting identifiers breaks @UniqueConstraint
* [HHH-7910] - Transaction timeout can cause non-threadsafe session access by reaper thread
* [HHH-7911] - NPE in TwoPhaseLoad#initializeEntity
* [HHH-7923] - Revert to Javassist 3.15
* [HHH-7928] - Regression caused by HHH-6361
* [HHH-7930] - Hibernate will crash with (custom) enum types when running with a logback.xml in debug mode
* [HHH-7933] - boolean is broken on SQLServerDialect
* [HHH-7948] - Merging CollectionChangeWorkUnit with ModWorkUnit ended with incorrect values of modified flags
* [HHH-7970] - @javax.persistence.Cacheable is never wired up
* [HHH-7984] - Prepared statement for callable returning cursor not closed
* [HHH-7990] - Bootstrapping Hibernate fails if javax.validation API is on classpath but no provider
* [HHH-8002] - TransactionTimeoutTest#testTransactionTimeoutSuccess failing on Oracle
* [HHH-8003] - Create "sqlDropString" method in Dialect to handle "if exists" correctly
* [HHH-8005] - Sybase 15 - nullable column are not nullable (when created by SchemaExport)
* [HHH-8006] - MergeCollectionEventTest & BadMergeHandlingTest fail on MySQL
* [HHH-8007] - Update SQLServer2005LimitHandler to handle multiselects (*, table.*)
* [HHH-8017] - Correct SybaseDialect's getNullColumnString
* [HHH-8019] - Multiple tests creating identifiers too long for Oracle
* [HHH-8022] - Return REFCURSOR on native named query: regression on 4.2.0 CR1
* [HHH-8025] - Binary compatibility broken between 4.1.9 -> 4.1.10 for Restrictions.eq and Restrictions.ne
* [HHH-8026] - Duplicate constraint names with unique=true
* [HHH-8036] - Envers projection max causes mysql syntax error
* [HHH-8037] - Empty SQL statements with custom UniqueDelegate
* [HHH-8053] - HibernateBundleActivator should not register itself as a PersistenceProvider
* [HHH-8061] - tests failing on master-matrix CI
* [HHH-8067] - Hibernate's ManagedType#getDeclaredAttribute fails to find plural attributes
* [HHH-8072] - envers @ElementCollection Map support failing -- nullable KEY
* [HHH-8073] - Column#getAlias logic incorrectly uses Dialect#getMaxAliasLength
* [HHH-8082] - HQLScrollFetchTest.testScroll hangs on DB2-97
* [HHH-8085] - QueryCacheTest.testGetByCompositeId fails on db2-97 -- DB2 SQL Error: SQLCODE=-613
* [HHH-8086] - Allow explicit package naming in persistence.xml via
* [HHH-8087] - Envers delete doesn't insert a new row with revtype=2 for unidirectional manytomany collections
* [HHH-8092] - Configuration#generateSchemaUpdateScript does not create unique constraints
* [HHH-8107] - JandexHelper.getValue() returns Boolean instead of boolean, causing ClassCastException
* [HHH-8136] - Correct "to_char" function in HSQL
** Deprecation
* [HHH-7777] - Deprecate XmlRepresentableType
* [HHH-7856] - Deprecate TableHiLoGenerator and TableGenerator
** Improvement
* [HHH-465] - order by nulls first / last
* [HHH-1123] - Cannot put more than 1000 elements in a InExpression
* [HHH-1775] - collection batch fetching
* [HHH-1917] - Bulk Delete on the owning side of a ManyToMany relation needs to delete corresponding rows from the JoinTable
* [HHH-2448] - Generate identical column aliases among cluster
* [HHH-2805] - The class Order does not contain getters
* [HHH-2951] - Restrictions.eq when passed null, should create a NullRestriction
* [HHH-3458] - Register postgres random() function as "rand" in PostgresSQLDialect
* [HHH-4412] - bulk update with native sql queries
* [HHH-5951] - Strategy for deciding JtaPlatform when an explicit one not specified
* [HHH-6452] - PostgreSQL Dialect does not fully implement NOWAIT locking
* [HHH-6682] - add support for oracle "bitand" function to Oracle Dialect
* [HHH-6823] - Short-name config values
* [HHH-6841] - Allow multiple @SkipForDialect annotations
* [HHH-7462] - Make JACC service
* [HHH-7520] - BlobProxy.invoke Javadoc is incorrect
* [HHH-7550] - Fix UP-TO-DATE checking for APT-based tasks
* [HHH-7626] - Add javadoc to annotations
* [HHH-7631] - Improve performance of UpdateTimestampsCache
* [HHH-7633] - Improve performance of IdentityMap
* [HHH-7667] - Initial improved bytecode enhancement support
* [HHH-7683] - Optimize performance of AbstractLazyInitializer.prepareForPossibleSpecialSpecjInitialization()
* [HHH-7698] - In efficient LOB creations backed by streams
* [HHH-7714] - Add support for EntityMode.MAP to JPA Criteria API
* [HHH-7725] - Make handling multi-table bulk HQL operations more pluggable
* [HHH-7728] - Add equals method in the table class
* [HHH-7746] - Investigate alternative batch loading algorithms
* [HHH-7806] - Failure of lazy initialization of collection no longer reports role
* [HHH-7811] - grammar error in devguide for HB
* [HHH-7813] - mistake in code examples in devguide for HB
* [HHH-7826] - Generate 'unique' constraints in stable order
* [HHH-7835] - Inefficient implementation of JarVisitorFactory.getBytesFromInputStream
* [HHH-7840] - org.hibernate.id.IncrementGenerator very slow
* [HHH-7866] - Avoid redundant log level checking in StandardQueryCache
* [HHH-7869] - bad performance problem with org.hibernate.internal.util.StringHelper#firstIndexOfChar
* [HHH-7872] - Improved L2 cache storage of "reference" data
* [HHH-7902] - Replace JDBC proxies with a set of contracts/helpers
* [HHH-7912] - Define edge-case behavior for Session.evict
* [HHH-7947] - remove not maintained 2LC provider from Doc
* [HHH-7952] - Missing Deprecated Javadoc For TableGenerator/TableHiLoGenerator
* [HHH-7965] - Redesign DialectResolver contract
* [HHH-7992] - Add a base Session delegator implementation
* [HHH-7999] - Oracle test failures due to lack of support for various syntax
* [HHH-8029] - Improve SimpleNationalizedTest
* [HHH-8071] - Add debug/trace logging to HibernatePersistenceProvider
* [HHH-8076] - javax.security and javax.validation should be optional in OSGi manifest
* [HHH-8088] - Redesign Scanner contract
* [HHH-8096] - Re-work the OSGi class loading concepts
* [HHH-8113] - Persistence.createEntityManagerFactory() should run schema export if JPA properties are set
* [HHH-8121] - Make property-able JPA settings defined in persistence.xml available in EMF.getProperties()
* [HHH-8122] - Scrub known-sensitive settings from EMF.getProperties()
** New Feature
* [HHH-5869] - Add suport for nationalized character mappings
* [HHH-6613] - Support for audited @ElementCollection / collection of elements
* [HHH-6736] - Support for SELECT ... FOR UPDATE SKIP LOCKED / read past locking
* [HHH-7402] - Improve performance of named query registry
* [HHH-7552] - New StrategySelectorService
* [HHH-7723] - Adding mssql2012 DBAllocator label
* [HHH-7827] - [ENVERS] Create ability to get the latest revision of all instances for a requested Entity Class
** Patch
* [HHH-3869] - Improve toString on SessionStatistics
* [HHH-6361] - Collection events may contain wrong stored snapshot after merging a detached entity into the persistencecontext
** Task
* [HHH-7387] - Integrate Draft 6 of the JPA 2.1 spec
* [HHH-7451] - Integrate Draft 7 of the JPA 2.1 spec
* [HHH-7521] - JBoss 7 / JPA 2.1 integration work
* [HHH-7620] - allow ValidatorFactory to be passed into EntityManagerFactoryBuilder
* [HHH-7621] - allow DataSource to be passed into EntityManagerFactoryBuilder
* [HHH-7727] - Mark Envers demo as test source
* [HHH-7749] - Allow setting system properties for tests on gradle command line
* [HHH-7782] - Deprecate PersistentElementHolder, PersistentIndexedElementHolder, PersistentListElementHolder and PersistentMapElementHolder
* [HHH-7914] - Improve new stored procedure call support
* [HHH-7957] - Integrate Latest draft(s) of the JPA 2.1 spec
* [HHH-7978] - Document new feature from HHH-5869
* [HHH-8044] - Remove mention of unsupported cache providers from Developer Guide
* [HHH-8095] - Upgrade to JTA API 1.0.1
* [HHH-8097] - Pull in new EE7 apis for integration
* [HHH-8129] - Unify BaseQueryImpl and AbstractQueryImpl hierarchies
Changes in version 4.1.5.SP1 (2012.07.12)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.atlassian.net/browse/HHH/fixforversion/12155
** Bug
* [HHH-7447] - ValueHolder used in NaturalIdCacheKey is not Serializable
** Improvement
* [HHH-2394] - Support filter tag in subclass
Changes in version 4.1.5.Final (2012.07.12)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.onjira.com/browse/HHH/fixforversion/12150
** Bug
* [HHH-5411] - Missing value in not updatable column in Envers audit table
* [HHH-5565] - Memory leak is possible if changes for audited entities are outside of transaction
* [HHH-5929] - PooledLoOptimizer in conjunction with SequenceStyleGenerator is not thread-safe
* [HHH-6304] - Error "Cannot create TypedQuery for query with more than one return" with named queries
* [HHH-6707] - One-to-One mapping with foreign key in target table and foreign key being the primary key fails with Oracle
* [HHH-6896] - Metamodel.managedType(...) implemented incorrectly
* [HHH-7310] - Resolution of types registered in type registry does not work properly for Properties of @Embeddable types
* [HHH-7311] - NullPointerException if TenantConnectionProvider class does not exist
* [HHH-7368] - SQLServer2005Dialect: pagination query fails if terminating with a semicolon
* [HHH-7369] - SQLServer2005Dialect: scalar query fails with pagination
* [HHH-7374] - Support KEY, ENTRY and VALUE qualifiers in WHERE clause
* [HHH-7380] - bug when initialize MULTI_TENANT_IDENTIFIER_RESOLVER and CUSTOM_ENTITY_DIRTINESS_STRATEGY
* [HHH-7426] - Setting cacheable="true" in orm.xml does not enable caching of entity in 2lc
** Improvement
* [HHH-4394] - @OrderBy usage on a joined classes (when using join table) produces incorred SQL syntax.
* [HHH-7370] - SQLServer2005Dialect: sql-transformation to common_table_expression not needed when offset = 0
* [HHH-7381] - Refact: split CacheImpl from SessionFactoryImpl into a session factory scope service
* [HHH-7382] - refact: unify the configuration implementation loading strategy
* [HHH-7431] - Reduce NaturalIdCacheKey Memory Footprint
** Task
* [HHH-7440] - Redesign dialect-specific LIMIT clause appliance
* [HHH-7442] - rename org.hibernate.internal.util.Value
Changes in version 4.1.4.Final (2012.05.30)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.onjira.com/browse/HHH/fixforversion/11960
** Bug
* [HHH-2214] - SQLStateConverter chooses wrong JDBCException: Locks and MySQL
* [HHH-5396] - JPQL KEY(), ENTRY() and VALUE() does not recognize alias refs
* [HHH-6256] - persistence.xml-specified javax.persistence.lock.timeout is ignored
* [HHH-6310] - SQLServer2005Dialect produced select statement with a distinct keyword within an aggregate function does not work
* [HHH-6329] - Apparently inaccurate 'java.lang.UnsupportedOperationException: Illegal attempt to edit read only item' when using SQLQuery.executeUpdate
* [HHH-6728] - SQLServer2005Dialect - Paging doesn't work with UPPERCASE colums in a case sensitive database
* [HHH-6950] - Bogus string replacement in SQLServer2005Dialect.insertRowNumberFunction()
* [HHH-6960] - NullPointerException in PreCollectionRemove Listener
* [HHH-7019] - SQLServer2005Dialect, SQLServer2008Dialect issues with subqueries
* [HHH-7074] - the replacement annotations of @Entity are not working
* [HHH-7107] - org.hibernate.test.locking.LockModeTest hangs on Sybase 15.5 and DB2-97
* [HHH-7112] - session.clear does not clear StatefulPersistenceContext.naturalIdResolutionCacheMap
* [HHH-7198] - SQLServer2005Dialect.getLimitString turns tablenames to lowercase -> SQLGrammarException: when mapping tables with capital letters
* [HHH-7285] - Using distinct in Criteria, using first- and maxResults, fails with SQLGrammarException when a colum in the distinct clause starts with 'from'
* [HHH-7294] - Envers manytomany Test BasicSametable fails on DB2 as DB2 does not support tinyint
* [HHH-7295] - ParentAuditing Test in Envers Testsuite fails across different databases with different error messages because Hibernate does not set LockMode correctly
* [HHH-7316] - Collection removal actions added by DefaultAutoFlushEventListener.onAutoFlush() are not removed when flush is not needed
* [HHH-7317] - Boolean values bound to parameters in SQL predicate cause failures using DB2 with deferPrepares = true
* [HHH-7323] - SQLServerDialectTest.testMaxResultsSqlServerWithCaseSensitiveCollation fails on mssql2008R1 and mssql2008R2 due to Lock request TimeOut period exceeded
* [HHH-7346] - Tests fail on Postgresql due to failure in typecasts
* [HHH-7347] - fail test if it runs longer than 30 minutes to prevent hangs
* [HHH-7348] - AbstractMultiTenantConnectionProvider not closing connections
* [HHH-7350] - read-only entities can not be deleted from 2LC
** Improvement
* [HHH-3961] - SQLServerDialect, support nowait in LockMode.UPGRADE_NOWAIT
* [HHH-5881] - Add getter for "namedParameters" to QueryKey
* [HHH-6846] - Support for Query.setHint(javax.persistence.lock.timeout)
* [HHH-7356] - javax.persistence.lock.timeout hint is ignored by @NamedQuery
** New Feature
* [HHH-7306] - Allow use of CurrentTenantIdentifierResolver in normal session opening
Changes in version 4.1.3.Final (2012.05.02)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.onjira.com/browse/HHH/fixforversion/11959
** Bug
* [HHH-1512] - Problem to lock a row in a DB2 database with LockMode UPGRADE
* [HHH-2697] - Can't use := for variable assignment within a SQL-Statement
* [HHH-7068] - "Cursor state not valid" error from AS400
* [HHH-7101] - NPE when trying to create EntityManagerFactory
* [HHH-7195] - Table does not handle quoted catalog
* [HHH-7225] - NullPointerException after persisting null entity value as natural-Id
* [HHH-7237] - Inline natural-id synchronization doesn't consider reattached objects
* [HHH-7238] - Remove the need for QueryResultsRegionImpl to have @Listener
* [HHH-7239] - have session remove itself from list of transaction observers on close
* [HHH-7245] - Inline natural-id synchronization doesn't consider objects loaded from shared cache
* [HHH-7246] - Envers creates revision for changing from empty string to null and from null to string
* [HHH-7250] - Bug in SharedCache handling of Natural-id
* [HHH-7251] - PostgreSQL Dialect not properly mapping SQL error codes for pessimistic lock exceptions.
* [HHH-7252] - EntityManager not retaining LockOptions context when mapping exceptions.
* [HHH-7253] - NPE thrown by NaturalIdResolutionCache
* [HHH-7265] - ConcurrentModificationException in SynchronizationRegistryImpl.notifySynchronizationsAfterTransactionCompletion due to SynchronizationRegistryImpl.clearSynchronizations clearing SynchronizationRegistryImpl.synchronizations
* [HHH-7266] - Move away from use of Enhydra developed DataSource for JTA testing
* [HHH-7274] - Developer Guide reverses discussion of CMTTransactionFactory and JTATransactionFactory
* [HHH-7276] - Regression allows entity to be looked up by previous natural id
* [HHH-7278] - Natural-id shared cache afterTransactionCompletionProcess does not distinguish between success and failure
* [HHH-7281] - Tests fail on Postgresql due to failure in typecasting
* [HHH-7296] - NPE in JtaTransaction#markRollbackOnly
** Improvement
* [HHH-6848] - Performance Optimization of in memory merge algorithm (Wim Ockerman)
* [HHH-7235] - Support null NaturalId values in loadEntityIdByNaturalId query
* [HHH-7256] - Infinispan second level cache should react to minimal puts in putFromLoad impl
* [HHH-7272] - Have ClassLoaderServiceImpl use Class.forName rather than ClassLoader.loadClass
* [HHH-7279] - Prevent identical re-cachings in natural-id shared cache
* [HHH-7280] - Upgrade to Infinispan 5.1.4.FINAL
* [HHH-7282] - Move org.hibernate.cache.internal.Timestamper to hibernate-testing module
* [HHH-7283] - hibernate is not compilable on JDK7
** New Feature
* [HHH-6790] - Add option to SequenceStyleGenerator to prefer a "sequence per entity"
** Patch
* [HHH-5043] - Incorrect handling of hibernate.default_schema in SchemaUpdate
* [HHH-6405] - setFetchMode ignored in certain cases when using criteria queries
Changes in version 4.1.2.Final (2012.04.04)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.onjira.com/browse/HHH/fixforversion/11951
** Bug
* [HHH-1657] - hql update generate wrong sql with joined subclass hierarcy
* [HHH-6271] - deploying with a 1.0 orm.xml, gets unexpected error HHH00196
* [HHH-6915] - Restrictions.ilike(String propertyValue, Object value) does not correctly initialize LikeExpresison
* [HHH-7017] - Envers does not work in case of resource-local transactions and manual session flush mode
* [HHH-7020] - Connection leak with nested sessions
* [HHH-7090] - Temporary session closing affects original session
* [HHH-7133] - NaturalIdLoadAccess not correctly working on mutable NaturalId's
* [HHH-7158] - Regression: null values on NaturalId's at persist-time are causing subsequent NPE's and wrong behaviour
* [HHH-7159] - Database keywords causes failure of some tests in org.hibernate.test.collection.custom
* [HHH-7160] - NaturalIdXrefDelegate#cache() needs to remove obsolete entries in shared cache when NaturalId values changed
* [HHH-7165] - count() query on classes using EmbeddedId should not use id column tuple on Dialects which dont support non-distinct tuple counts
* [HHH-7166] - Infinispan Hibernate RegionFactory doesn't allow user to have their own custom CommandFactory
* [HHH-7167] - The new natural id code introduced in 4.1.1 depends on the order the entity persisters are loaded which leads to fatal errors
* [HHH-7174] - org.hibernate.test.tm.CMTTest.testConcurrentCachedQueries fails due to test cases interdependent
* [HHH-7184] - Missing StaticModels for envers revision entity
* [HHH-7191] - NaturalIdCache improperly declared
* [HHH-7192] - NullPointerException in QueryTranslatorImpl on erroneously typed delete query
* [HHH-7193] - Transaction Rollback not clearing statement batch on Prepared Statement causes issues with statement caching
* [HHH-7194] - NullPointerExeption with nested subqueries using Criteria API
* [HHH-7200] - SessionFactoryObservers should be notified of the close event in reverse order of the create event
* [HHH-7204] - improve tracking of regions created in the Infinispan region factory
* [HHH-7210] - Natural-id cache put stats not being correctly updated on insert for "asynch" cache providers
Changes in version 4.1.1.Final (2012.03.07)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.onjira.com/browse/HHH/fixforversion/11859
** Bug
* [HHH-6883] - Informix dialect incorrectly reports that temp tables are not supported
* [HHH-7046] - Polymorphic query by natural ID broken
* [HHH-7073] - Audited entities with Many-to-Many relationships fail with NullPointerException
* [HHH-7085] - Entities marked as @Immutable that have a @NaturalId fail to be inserted with NPE
* [HHH-7089] - NPE during SessionFactoryImpl init when 2L caching is enabled and @NaturalIdCache is used with EHcache
* [HHH-7094] - Session is not flushed before NaturalIdLoadAccess is executed
* [HHH-7095] - Handle RegionFactory.buildNaturalIdRegion throwing UnsupportedOperationException
* [HHH-7096] - Settings not available in SingletonEhCacheRegionFactory
* [HHH-7097] - Entity load event doesn't result in naturalId->pk caching
* [HHH-7102] - Misleading error message is shown when no RegionFactory is manually set
* [HHH-7106] - Documentation doesnt explain how to create audited tables
* [HHH-7117] - MultipleLinesSqlCommandExtractor does not accept trailing white spaces after last statement
* [HHH-7127] - Query region evictAll not working on local mode
* [HHH-7129] - Throw exception when metadata attempts to spread @NaturalId across an entity hierarchy
* [HHH-7138] - Hibernate implements JPA @OneToMany collection versioning incorrectly
* [HHH-7147] - ServiceRegistry is starting services twice
** Deprecation
* [HHH-7023] - Deprecate HQL-specific (JDBC-style) positional parameters
** Improvement
* [HHH-5927] - Performance risk: Suboptimal synchronization in org.hibernate.engine.query.QueryPlanCache.getHQLQueryPlan
* [HHH-6589] - Skip non-JPA features populating JPA "static metamodel"
* [HHH-6946] - Add support for the AS400 (iSeries) system to StandardDialectResolver
* [HHH-6983] - remove common-collections dependency
* [HHH-7066] - Improve memory allocation on String extraction out of Clob fields
* [HHH-7128] - Upgrade to Infinispan 5.1.2.CR1
** Patch
* [HHH-4417] - Add annotation support for UserCollectionType
* [HHH-6100] - Bug fix related to CriteriaQuery (JPA) when using XML mappings
** Task
* [HHH-7062] - upgrade to jboss-logging 3.1.0.GA
* [HHH-7067] - Update build to work with Gradle m8
* [HHH-7153] - Update to newest jDocBook tool chain versions
Changes in version 4.1.0.Final (2012.02.08)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.onjira.com/browse/HHH/fixforversion/11223
** Bug
* [HHH-3218] - ManyToOne Persisting Cascade in Embeddable as part of ElementCollection
* [HHH-3544] - Nullability.checkNullability() throws PropertyValueException (not-null property references a null property) for a property that ForeignKeys.Nullifier.nullifyTransientReferences() just nulled
* [HHH-3853] - one-to-one mapping doesn support Primary Key Association
* [HHH-4962] - @ManyToOne with @JoinTable fails
* [HHH-5024] - MetadataContext#registerAttribute does not recognize inherited fields
* [HHH-5299] - Multi-Level cascading of unsaved instances with bidirectional associations fails with TransientObjectException (Carl-Eric Menzel)
* [HHH-5755] - javax.persistence.criteria.Expression.as() is broken
* [HHH-6580] - Discriminator value used as ID when inserting entity to PosgtreSQL
* [HHH-6689] - DefaultMergeEventListener changes CheckNullability flag - not thread save
* [HHH-6738] - Hardcoded alias causing problems
* [HHH-6744] - TransientObjectException thrown on dirty check during flush with CHECK_NULLABILITY set to false
* [HHH-6825] - AuditException with @OneToOne-mappedBy and @PrimaryKeyJoinColumn
* [HHH-6964] - EnversIntegrator is always detected by default while initializing Serviceregistry using Native Hibernate API causing a MappingException even when Envers is not used
* [HHH-6967] - Reapply HHH-6906
* [HHH-6969] - Reference manual discusses removed SessionFactory.openSession(Interceptor) method
* [HHH-6984] - some statistics are incremented even when stats are disabled
* [HHH-7003] - Scale = 0 doesn't supported
* [HHH-7006] - keyword "top" causes test fail on ms sql server
* [HHH-7007] - Replacing the region factory in the global cache command factory could affect other apps
* [HHH-7016] - NullPointerException in CacheAdapterImpl when evictAll
* [HHH-7021] - PostgreSQL 8.1 and earlier does not support if exists before drop (Eric Dalquist)
* [HHH-7022] - AbstractMultiTenantConnectionProvider never closes connections causing resource exhaustion
* [HHH-7030] - EventListenerRegistry interface generic declaration is not extensible to subclasses
* [HHH-7034] - java.sql.SQLTimeoutException should be mapped to org.hibernate.QueryTimeoutException
* [HHH-7041] - SQLServer2005Dialect handles DISTINCT clauses incorrectly
* [HHH-7044] - SQLServer2005Dialect parses GROUP BY clause incorrectly
** Deprecation
* [HHH-7014] - Deprecate PostgreSQLDialect
* [HHH-7032] - Deprecate Dialect.buildSQLExceptionConverter()
** Improvement
* [HHH-2879] - add an actual api for loading an entity by natural candidate key (mapped natural-id)
* [HHH-3910] - custom dirty flag tracking
* [HHH-4358] - Having to use @ForceDiscriminator kind of breaks JPA compatibility
* [HHH-5472] - Delay saving an entity if it does not cascade the save to non-nullable transient entities
* [HHH-6923] - Remove org.hibernate.service.instrumentation.spi.InstrumentationService
* [HHH-6944] - Update Dialects to return SQLExceptionConversionDelegate
* [HHH-6957] - Throw TransientPropertyValueException if there are unresolved entity insert actions after persist/save/merge listeners execute
* [HHH-6968] - Update overview.html for aggregated JavaDocs
* [HHH-6974] - Add caching to new "load access" api for natural id loading
* [HHH-6980] - Upgrade to Infinispan 5.1.0.CR4
* [HHH-6994] - Have EntityEntry fire notification to PersistenceContext on loadedState being updated
* [HHH-6998] - Expand CustomEntityDirtinessStrategy to define findDirty
* [HHH-7009] - Create PostgreSQL81Dialect and PostgreSQL82Dialect (Eric Dalquist)
* [HHH-7026] - upgrade to infinispan 5.1.1.FINAL
** New Feature
* [HHH-6605] - Storing information about changes of properties
** Task
* [HHH-6082] - Incorporate EntityManager documentation into main dev guide
* [HHH-6336] - Add TenantIdentifierResolver
* [HHH-6656] - Document org.hibernate.boot.registry.classloading.spi.ClassLoaderService
* [HHH-6966] - Re apply HHH-6782
* [HHH-6985] - Change up tests for PostgreSQL LockMode issues
* [HHH-7011] - Document multi-tenancy
* [HHH-7018] - change EntityManagerFactory serialization to just serialize the name and lookup the previously created EntityManagerFactory during deserialization
Changes in version 4.0.1.Final (2012.01.11)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.onjira.com/browse/HHH/fixforversion/11754
** Sub-task
* [HHH-2763] - Allow initialization during flush
* [HHH-6952] - Allow extensions of InfinispanRegionFactory to override classloader logic
** Bug
* [HHH-4439] - In general it is impossible to override properties defined in @MappedSuperclass to change how they will be handled during auditing.
* [HHH-5275] - Criteria.setLockMode does not work correctly
* [HHH-5891] - AuditReaderImpl.getRevisions result is not ordered as specified in Javadoc
* [HHH-6854] - testSubsequentPooledLoOptimizerUsage doesn't actually test the PooledLo optimizer
* [HHH-6855] - SequenceStyleGenerator should force use of TableStructure when the optimizer is PooledLo
* [HHH-6902] - Create typed query in EntityManager throws NullPointerException when filters are present
* [HHH-6906] - Clean up javadoc warnings
* [HHH-6909] - "Getting Started Guide" example code cannot be run successfully
* [HHH-6916] - Improper handling of primitive arrays in AbstractQueryImpl.registerParameterBinding
* [HHH-6920] - HQL insert queries and identifier handling
* [HHH-6921] - jandex and classmate dependencies should not be exported to published pom
* [HHH-6933] - Developer's guide has strange markup in Chapter 1
* [HHH-6936] - EntityManagerImpl.close() and EntityManagerImpl.isOpen() should check if the session factory is closed
** Improvement
* [HHH-6822] - Split notions of (1) "naming" a SessionFactory and (2) specifying a JNDI name to which to bind it
* [HHH-6840] - Add to_char function to HSQLDialect
* [HHH-6887] - Improve SQLStateConverter to take sql state type from the database metadata into account
* [HHH-6955] - Upgrade to Infinispan 5.1.0.CR3
** New Feature
* [HHH-6931] - Provide local database hook
* [HHH-6940] - Ability (easier) to run bits of code in a timeout protected way
** Patch
* [HHH-5124] - Removing an entity and persisting it again fails
** Task
* [HHH-6657] - Document org.hibernate.integrator.spi.IntegratorService
* [HHH-6782] - define javadoc groups based on api/spi/internal
* [HHH-6897] - serialization of the EntityManager should be possible
* [HHH-6900] - upgrade to org.javassist:javassist:3.15.0-GA
* [HHH-6903] - add building of hem and manual docs
* [HHH-6937] - Process database profiles just once per build
Changes in version 4.0.0.Final (2011.12.14)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.onjira.com/browse/HHH/fixforversion/11656
** Bug
* [HHH-6836] - some test failures on Oracle
* [HHH-6866] - UUID wrongly mapped as 'char(255) for bit data' on DB2
* [HHH-6867] - test data overflow causes org.hibernate.test.cut.CompositeUserTypeTest.testCustomColumnReadAndWrite fails on DB2
* [HHH-6870] - sysdate function in oracle dialect is a non argu and no parentheses function
** Improvement
* [HHH-6729] - Upgrade to Infinispan 5.1 and update default second level cache config file
** Task
* [HHH-6423] - Add JoinedIterable
Changes in version 4.0.0.CR7 (2011.11.30)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.onjira.com/browse/HHH/fixforversion/11653
** Bug
* [HHH-5222] - upgrade from READ to OPTIMISTIC_FORCE_INCREMENT fails
* [HHH-5945] - Race condition in building query cache
* [HHH-5992] - A query fails to return correct results silently
* [HHH-6068] - JPA-specified default schema ignored for Hibernate sequences
* [HHH-6425] - On Sybase ASE, insert a empty string '' to db, it stores it as single space ' '
* [HHH-6773] - test fails on sybase
* [HHH-6780] - Wrong Query timeout calculation
* [HHH-6806] - Auto scan for JPA entities does not work in exploded packages in JBoss AS < 7
* [HHH-6807] - org.hibernate.test.lob.LobMergeTest fail on Sybase ASE
* [HHH-6817] - Logging of strings containing the percent character broken
* [HHH-6819] - org.hibernate.test.importfile.CommandExtractorServiceTest/MultiLineImportFileTest fail
* [HHH-6820] - Skip test org.hibernate.ejb.test.lock.LockTest.testContendedPessimisticLock for Sybase ASE15.5
* [HHH-6827] - org.hibernate.test.tm.CMTTest#testConcurrentCachedDirtyQueries is falling
* [HHH-6828] - BasicOperationsTest does not take into account that databases can treat identifers differently when it come to lower or upper case
* [HHH-6830] - QueryAndSQLTest.testNativeQueryWithFormulaAttribute fails due to hard coded function names
* [HHH-6834] - skip test BasicOperationsTest on oracle due to a oracle jdbc driver issue
* [HHH-6842] - Skip org.hibernate.test.annotations.manytoonewithformula.ManyToOneWithFormulaTest#testManyToOneFromNonPkToNonPk for DB2
* [HHH-6843] - LockTest#testContendedPessimisticLock is too agressive in its assumptions
* [HHH-6849] - SQLServer2005Dialect changes the order of selected columns when using pagination
* [HHH-6850] - no Types.BINARY mapping in DB2 dialect
* [HHH-6851] - DB2 doesn't support NotNullUnique causes org.hibernate.test.annotations.uniqueconstraint.UniqueConstraintTest.testUniquenessConstraintWithSuperclassProperty fail
* [HHH-6852] - DB2 doesn't support exists in select
* [HHH-6856] - RowValueConstructorSyntax with In syntax is not working
* [HHH-6863] - serviceBindingList in AbstractServiceRegistryImpl needs synchronization
* [HHH-6865] - PessimisticLockException should be thrown when pessimistic read and write locking strategies fail
* [HHH-6867] - test data overflow causes org.hibernate.test.cut.CompositeUserTypeTest.testCustomColumnReadAndWrite fails on DB2
** Improvement
* [HHH-4055] - make UpdateTimestampsCache pluggable, like QueryCache
* [HHH-6833] - Eable SQL logging for tests
* [HHH-6845] - Avoid repeated invocations of ReflectHelper.overridesEquals in proxy initializers
* [HHH-6858] - Minor performance improvements after hotspots analysis
* [HHH-6862] - Reuse cached entryArray of IdentityMap in StatefulPersistenceContext as much as possible
* [HHH-6868] - Lazily initialize HashMap in LockOptions
** Patch
* [HHH-6286] - UpdateTimestampsCache should try to avoid acquiring lock if possible
** Task
* [HHH-6818] - update dependencies management
* [HHH-6821] - Upgrade to jboss-logging-tools 1.0.0.CR5
* [HHH-6853] - upgrade to jboss-logging 3.1.0.CR2
* [HHH-6860] - Upgrade to Hibernate Commons Annotations 4.0.1 when released
Changes in version 4.0.0.CR6 (2011.11.10)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.onjira.com/browse/HHH/fixforversion/11652
** Bug
* [HHH-3716] - Sybase - null values for columns mapped as "boolean" are persisted as 0 (zero) instead of NULL
* [HHH-5413] - null values for columns mapped as "boolean" cause exception when saving entity with Sybase jdbc4
* [HHH-6714] - Parentheses dissapear in HQL query where they should stay
* [HHH-6753] - Envers WorkUnits: Problems with merge
* [HHH-6779] - ByteType mapped to tinyint, but on sybase/ms sql server, tinyint is unsigned int
* [HHH-6784] - The REVINFO table is always added to Hibernate's configuration, even if there are no audit tables
* [HHH-6786] - DB2 v97 doesn't support define a boolean type column
* [HHH-6789] - StringIndexOutOfBoundsException at TemplatedViolatedConstraintNameExtracter.extractUsingTemplate
* [HHH-6792] - connection leaks due to service registry is not destroyed
* [HHH-6793] - SessionCacheCleaner doesn't accomodate for closed sessions
* [HHH-6795] - unsupported Boolean type null value on Sybase causes hangs forever when doing bind parameter
* [HHH-6796] - Services retrieved after SessionFactoryServiceRegistry has started are not configured (Configurable)
* [HHH-6799] - Hibernate EntityManager bootstrap does not ensure that ServiceRegistries are closed
* [HHH-6815] - ByteTest fails on SQL Server due to driver dropping negative sign due to TINYINT data type
** Patch
* [HHH-5146] - org.hibernate.util.IdentitySet.iterator() return Map.Entry instances instead of actual elements
** Task
* [HHH-6787] - upgrade to JBoss Logging tools 1.0.0.CR3
* [HHH-6791] - tiny improvement, in favor of java auto-box instead of create new instance
* [HHH-6798] - Upgrade to Hibernate Commons Annotations GA once it's released
* [HHH-6816] - Upgrade to jboss-logging 3.1.0.CR1
Changes in version 4.0.0.CR5 (2011.10.27)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.onjira.com/browse/HHH/fixforversion/11550
** Bug
* [HHH-2304] - Wrong type detection for sql type char(x) columns
* [HHH-3434] - hql insert doesn't work when inserting into a table with composite-id
* [HHH-3843] - @Audited and @ManyToMany relation problem - after modyfing an Entity: org.hibernate.NonUniqueObjectException with message: "a different object with the same identifier value was already associated with the session ...
* [HHH-4838] - 2L-Querycache ImmutableNaturalKeyLookup not properly recognized as hasImmutableNaturalId() is called on wrong EntityMetamodel
* [HHH-4881] - restrict polymorphic query results
* [HHH-4982] - JPA OneToOne(optional=true) not supported with @PrimaryKeyJoinColumn
* [HHH-5419] - COUNT operator with composite primary key and JPA 2.0 Criteria API produces bad sql
* [HHH-6121] - Hibernate statistics should log at DEBUG level instead of INFO
* [HHH-6188] - java.util.UUID cannot be used for Ids on Oracle
* [HHH-6636] - Properties listed inside "" tag are not audited
* [HHH-6703] - id element has 'column' attribute, then the pk column is nullable in ddl created by schema export
* [HHH-6715] - Integrator classes not being located correctly
* [HHH-6717] - oracle does not have a boolean type
* [HHH-6722] - o.h.test.schemaupdate.SchemaExportTest fails if dialect does not support drop table if exist
* [HHH-6724] - AnnotationBinder and HbmBinder improperly set EntityPersisterClass upon class hierarchy
* [HHH-6737] - column names in Constraint is not quoted even column name is quoted in mapping
* [HHH-6739] - JtaIsolationDelegate.doTheWorkInNewTransaction fails to propagate or otherwise report caught exceptions
* [HHH-6748] - Test failures due to inconsistent return type of numeric from native query
* [HHH-6749] - FooBarTest.testLimit() fails on MS SQL Server due to dialect interpretation of max row
* [HHH-6750] - ASTParserLoadingTest.testAggregation() fails on MS SQL Server performing avg, presumably due to forcing result to match column type
* [HHH-6751] - Test failure due to inconsistent scale returned for BigDecimal properties
* [HHH-6755] - SQL Server/Sybase dialects don't have type mapping for binary datatype
* [HHH-6756] - Test failures due to Oracle LONG limitatations
* [HHH-6757] - QueryCacheTest.testCaseInsensitiveComparison() fails for case-insensitive DBs
* [HHH-6758] - Test failure due to Oracle restrictions on Blob comparison and missing equals() and hashcode()
* [HHH-6759] - Null properties mapped as boolean cause exception on Oracle
* [HHH-6760] - Test failures on Oracle due to identity IDs
* [HHH-6762] - ManyToOneWithFormulaTest.testManyToOneFromNonPkToNonPk() fails due to unsupported keyword
* [HHH-6764] - QueryAndSQLTest.testNativeQueryWithFormulaAttribute() fails on SQL Server due to unsupported function
* [HHH-6765] - AuctionTest2.testLazy() fails on SQL Server due to unsupported function in select clause
* [HHH-6767] - CriteriaQueryTest.testSubselect() fails on SQL Server since it doesn't support ORDER BY in a subquery
* [HHH-6770] - Oracle test failures due to reserved words used as column names
* [HHH-6771] - Test failure on Oracle due to ORDER BY in subquery
* [HHH-6772] - org.hibernate.ejb.test.BaseEntityManagerFunctionalTestCase overrides system properties
* [HHH-6775] - TargetTest.testTargetOnMapKey() fails on SQL Server due to nullable column in primary key
** Improvement
* [HHH-4854] - Make constraint violation name extraction language neutral
* [HHH-6691] - Improve JavaDoc of Wrapped wrt exception thrown upon unexpected type
* [HHH-6716] - envers should set the TCCL to the envers classloader before constructing a dom4j instance. This will allow applications to use their own version of dom4j
* [HHH-6720] - Refactor QuerySplitter
* [HHH-6723] - Remove extra join from eager @OneToOne
* [HHH-6732] - Some logging trace statements are missing guards against unneeded string creation
* [HHH-6733] - Avoid frequent usage of ReflectHelper in PojoInstantiator
* [HHH-6735] - Performance hostpot in FieldInterceptionHelper.JavassistDelegate.isInstrumented(Class)
* [HHH-6745] - Sybase ASE dialect improvement
* [HHH-6766] - Support Multicolumn Subqueries in Criteria API
** New Feature
* [HHH-6696] - Allow specifying revision listener apart from @RevisionEntity annotation
** Patch
* [HHH-4596] - Bulk insertion with assigned identifiers
** Task
* [HHH-6740] - run envers tests on db matrix
* [HHH-6742] - move unit tests back to src/test
Changes in version 4.0.0.CR4 (2011.09.28)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.onjira.com/browse/HHH/fixforversion/11357
** Bug
* [HHH-5801] - ColumnNameCache.columnNameToIndexCache map should be synchronized
* [HHH-5832] - JPA Query and IdClass Causing NullPointerException
* [HHH-6625] - EntityPrinter.toString() fails for non-POJO entities (happens when logging)
* [HHH-6642] - NullPointerException in method AbstractReadWriteEhcacheAccessStrategy.handleLockExpiry
* [HHH-6668] - JaxbProcessor can't resolve hibernate-configuration-4.0.xsd
* [HHH-6669] - Manual SchemaExport broken due to temp code comments
* [HHH-6677] - skip @BeforeClassOnce / @AfterClassOnce if test is ignored
** Improvement
* [HHH-5326] - UpdateTimestampsCache should maintain the statistics for its region
* [HHH-6674] - upgrade infinispan to 5.0.1.Final
** Task
* [HHH-6659] - upgrade maven wagon plugin to 1.0
* [HHH-6660] - Edit Transactions.xml in devguide
* [HHH-6663] - Proof/edit Services.xml in devguide
* [HHH-6675] - upgrade dependencies
* [HHH-6676] - change the Intellij metadata generated by gradle idea task configuration (max heap size to 512M by default)
* [HHH-6683] - Consolidate (consistency) building of service registries
Changes in version 4.0.0.CR3 (2011.09.14)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.onjira.com/browse/HHH/fixforversion/11363
** Bug
* [HHH-6533] - ByteTypeDescriptor is not working properly
* [HHH-6581] - JPA 2.0 Spec. Violation with Access and MappedSuperclass
* [HHH-6614] - Bad performance: audited entity updates (lots of them) with no EntityManager clear
* [HHH-6635] - C3P0: hibernate.c3p0.* configuration properties not properly parsed
* [HHH-6645] - Fix entity information
* [HHH-6647] - ValidityAuditStrategy breaks in case of concurrent updates to the same entity
** Improvement
* [HHH-6640] - Add ability for Integrator to prepare ServiceRegistryBuilder as part of lifecycle
* [HHH-6653] - Clean up JAXB generated classes
** New Feature
* [HHH-6091] - Let people customize identifier generator strategy mappings programmatically in Hibernate 4
** Task
* [HHH-6439] - Add Dialect.getAddUniqueConstraintString()
* [HHH-6626] - Improve PutFromLoadValidatorUnitTestCase to be less timesensitive
* [HHH-6634] - upgrade to jandex 1.0.3.Final
* [HHH-6641] - Document services
* [HHH-6650] - upgrade jacc dependency
* [HHH-6654] - upgrade ant to 1.8.2
* [HHH-6658] - upgrade jboss-logging-tools to 1.0.0.Beta7
Changes in version 4.0.0.CR2 (2011.08.31)
------------------------------------------------------------------------------------------------------------------------
http://hibernate.onjira.com/browse/HHH/fixforversion/11352
** Bug
* [HHH-5789] - Hibernate 3.5.4 doesn't build with OpenJDK 6b18-1.8.2 or greater
* [HHH-5848] - Columns's table name not processed by naming strategy
* [HHH-6020] - Move to JBossTS caused some test failures in hibernate-envers
* [HHH-6384] - hibernate.hbm2ddl.auto=create does not drop tables
* [HHH-6412] - hibernate version is not injected by the injection plugin
* [HHH-6586] - Document metamodel package as experimental and unsupported
* [HHH-6594] - Interceptor.onPrepareStatement no longer being called
* [HHH-6599] - Hibernate mark as rollback even for no transaction requests
** Improvement
* [HHH-6588] - rollback to use "org.hibernate.SQL" category to log sql
** New Feature
* [HHH-6618] - running hibernate functional test cases on DB matrix
** Patch
* [HHH-6577] - CUBRID Database Dialect
** Task
* [HHH-5930] - Remove hibernate-tools dependency from runtime scope if it's not needed
* [HHH-6619] - Move org.hibernate.pretty.Printer to org.hibernate.internal.util.EntityPrinter
* [HHH-6621] - Migrate to Hibernate Commons Annotations 4.0.0.CR2
* [HHH-6622] - Upgrade JBoss Logging to 3.0.0.GA
Changes in version 4.0.0.CR1 (2011.08.17)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.onjira.com/browse/HHH/fixforversion/11350
** Bug
* [HHH-6543] - JBoss AS7 transaction manager jndi lookup is wrong
* [HHH-6547] - Basic properties cannot be made nullable in HBM XML
* [HHH-6560] - Discriminator match value is not initialized in root EntityBinding
* [HHH-6563] - NullPointerException using annotations source if a unique constraint is not mapped with a constraint name
* [HHH-6564] - JBoss AS6 and earlier transaction manager jndi lookup is wrong
* [HHH-6565] - Unique constraint columns that already exist in the table are not found
** Improvement
* [HHH-6573] - change to use ClassLoaderService to locate service initiator
** Patch
* [HHH-6370] - HSQLDB dialect - fixes reported issues and adds minor enhancement (Fred Toussi)
** Task
* [HHH-6268] - Plumb MetadataImplementor into integrators
* [HHH-6337] - Add EntityBinding methods to support single-table inheritance
* [HHH-6410] - Update EntityBinding.getAttributeBindingClosureSpan() and getAttributeBindingClosure() to work for subclass EntityBindings
* [HHH-6498] - Update entity persisters and tuplizers to use EntityBinding superclass and subclass information
Changes in version 4.0.0.Beta5 (2011.08.03)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.onjira.com/browse/HHH/fixforversion/11251
** Sub-task
* [HHH-6202] - Bind inheritance type
* [HHH-6212] - Handle secondary tables
* [HHH-6393] - Implement attribute overrides for embeddables
* [HHH-6430] - MappedAttribute should make use of HibernateTypeDescriptor
* [HHH-6476] - Implement AttributeSource.getPropertyAccessorName
* [HHH-6485] - Add support for @DiscriminatorFormula
* [HHH-6488] - Implement SimpleIdentifierSource#getIdentifierGeneratorDescriptor
* [HHH-6489] - Support @javax.persistence.Temporal
* [HHH-6490] - Support @javax.persistence.Lob
* [HHH-6501] - Support @org.hibernate.annotations.Parent
* [HHH-6520] - if no @GeneratedValue on an simple @Id property, then the generator strategy should be assigned
* [HHH-6521] - Column name is not quoted even the global quote identifier property is enabled
* [HHH-6535] - Support @org.hibernate.annotations.Target
** Bug
* [HHH-1780] - negation of EXISTS in hql query does not work
* [HHH-4648] - Mapping exception when one class maps to multiple tables.
* [HHH-6469] - build error when using open jdk
* [HHH-6471] - Redesign how EntityBinding models hierarchy-shared information
* [HHH-6478] - Code cleanup in metamodel package
* [HHH-6479] - Split notions of locating and creating an attribute
* [HHH-6480] - Develop component binding for new metamodel
* [HHH-6495] - Components not handled correctly from annotations
* [HHH-6499] - NPE can be thrown by some implementations of Helper.ValueSourcesAdapter.isIncludedInInsertByDefault() and isIncludedInUpdateByDefault()
* [HHH-6500] - EntityBinding.getEntity().getSuperType() is null for subclass EntityBinding
* [HHH-6506] - Descriminator type is not resolved
* [HHH-6529] - Type is not resolved for plural attributes
** Improvement
* [HHH-6472] - Implementing EntityDiscriminator and discriminator match value
* [HHH-6482] - ddl from schema export is not correctly formatted
Changes in version 4.0.0.Beta4 (2011.07.20)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.onjira.com/browse/HHH/fixforversion/11242
** Sub-task
* [HHH-6392] - Implement attribute overrides for mapped super classes
** Bug
* [HHH-2614] - Blob Length Set to 255 By Default With Derby DB
* [HHH-6380] - Annotations source maps SingleColumnType values to Tuple
* [HHH-6381] - using @SecondaryTable with optional=true not handled for joined subclasses (@Inheritance(strategy = InheritanceType.JOINED)
* [HHH-6401] - Create @OptimisticLocking annotation
* [HHH-6418] - org.hibernate.metamodel.relational.AuxiliaryDatabaseObject extends org.hibernate.mapping.RelationalModel
* [HHH-6419] - Thread Local bound session proxy does not let SessionImplementor#getFactory() go through on inactive transactions
* [HHH-6442] - JarVisitorFactory is reconstructing URLs without the URLStreamHandler association
* [HHH-6451] - adapt hibernate-ehcache to the new api
* [HHH-6456] - Test failure in CachedPropertyRefCollectionTest behind a proxy
* [HHH-6460] - AbstractEntityPersister is missing simple property information
* [HHH-6467] - Non-association attributes are not dirty-checked
** Deprecation
* [HHH-6395] - Deprecate org.hibernate.annotations.Entity
** Improvement
* [HHH-6417] - Make EventType more debugger friendly by implementing toString
* [HHH-6421] - Reduce log level of LazyInitializationException from ERROR to TRACE
* [HHH-6437] - Improve Database to track default Schema object
* [HHH-6447] - Develop shared binding creation approach
** New Feature
* [HHH-6397] - Create @DynamicInsert annotation
* [HHH-6398] - Create @DynamicUpdate annotation
* [HHH-6399] - Create @SelectBeforeUpdate annotation
* [HHH-6400] - Create @Polymorphism annotation
** Patch
* [HHH-4630] - Criteria join on composite identifier generates wrong alias, SQL error
** Remove Feature
* [HHH-6402] - Remove previously deprecated annotations
** Task
* [HHH-6257] - Add IdentifierGenerator to EntityIdentifier binding
* [HHH-6355] - Have attribute bindings return single, aggregated CascadeStyle
* [HHH-6357] - Add AttributeBinding.getFetchMode()
* [HHH-6371] - Develop metamodel binding creation using a push approach
* [HHH-6416] - Move AuxiliaryDatabaseObject into Database
* [HHH-6420] - SQL Server dialect is broken (Tomaz Cerar)
* [HHH-6444] - Integrate new metamodel into SchemaExport
* [HHH-6449] - Change Exportable.sqlCreateStrings/sqlDropStrings(MetadataImplementor) to take Dialect argument instead
* [HHH-6450] - Change length argument of Dialect.getTypeName() and TypeNames size/capacity to long
* [HHH-6453] - Enable new metamodel in BaseCoreFunctionalTestCase
* [HHH-6462] - Build fetch profiles, caches, current session context and transaction environment from new metadata
Changes in version 4.0.0.Beta3 (2011.07.07)
------------------------------------------------------------------------------------------------------------------------
http://opensource.atlassian.com/projects/hibernate/browse/HHH/fixforversion/11241
** Sub-task
* [HHH-6173] - Implement embedded entities (component) mapping
* [HHH-6201] - Handle mapped super classes
* [HHH-6352] - Add EntityBinding.getAttributeBindingClosureSpan() and getAttributeBindingClosure()
* [HHH-6358] - Integrate new metamodel into EntityMetamodel
* [HHH-6359] - Integrate new metamodel into entity tuplizers
* [HHH-6360] - Build basic properties from an AttributeBinding
* [HHH-6364] - Add AttributeBinding,getValuesSpan() and Tuple.valuesSpan()
* [HHH-6365] - Use Identifier.toIdentifier() to create column names
* [HHH-6366] - Add integer value to uniquely identify Table and InLineView objects for column aliases
* [HHH-6387] - Add EntityBinding.getFilterDefinitions() and addFilterDefinition()
* [HHH-6389] - Add TableSpecification.getQualifiedName(Dialect) and implement in subclasses
* [HHH-6411] - Integrate new metamodel into SingleTableEntityPersister
** Bug
* [HHH-5917] - Envers doesnt track all columns anymore
* [HHH-6289] - Review log level for o.h.m.s.AnnotationBinder and related binder classes
* [HHH-6386] - sybase improvement
* [HHH-6394] - org.hibernate.metamodel.source.annotations.global.QueryBinder handles resultClass paramter of @NamedNativeQuery wrong
* [HHH-6408] - An empty (ie not null) hibernate.connection.isolation raises a java.lang.NumberFormatException
Improvement
* [HHH-6406] - Move JBoss Transaction dependency from 4.14 to 4.15.1 (no more dependency hell)
** Task
* [HHH-6278] - quote all db identifiers
* [HHH-6350] - Integrate new metamodel for a root entity with simple attributes and no joins
* [HHH-6368] - remove deprecated hibernate annotations
* [HHH-6372] - Provide a temporary way to initialize basic types in metamodel
* [HHH-6404] - Move Hibernate Search integrator from Hibernate Core to Hibernate Search
* [HHH-6407] - Add SimpleValue.getAlias(Dialect) and implement in subclasses
Changes in version 4.0.0.Beta2 (2011.06.22)
------------------------------------------------------------------------------------------------------------------------
http://opensource.atlassian.com/projects/hibernate/browse/HHH/fixforversion/11231
** Sub-task
* [HHH-5671] - Apply entity-mode information to the logical model
* [HHH-6319] - Add getter for attribute node name
* [HHH-6320] - Add boolean values and getters to EntityIdentifier indicating if an ID is embedded or "identifier mapper"
* [HHH-6321] - Add org.hibernate.metamodel.binding.CascadeType.toCascadeStyle()
* [HHH-6341] - Add AttributeBinding.isBasicPropertyAccessor()
* [HHH-6342] - Add EntityModeEntitySpecifics.getTuplizerClass()
* [HHH-6346] - Add EntityBinding.entityTuplizerClass(); change getEntityPersisterClass() to return Class
** Bug
* [HHH-6177] - Envers - problem with mapping relation when using mixed inheritance strategy
* [HHH-6327] - NPE when using JDBC connection pool C3pO
* [HHH-6348] - POST_COMMIT_DELETE listener does not get executed
** Remove Feature
* [HHH-6330] - Remove entity mode switching capability
** Task
* [HHH-6297] - remove legacy cache api
* [HHH-6300] - Create EntityBindingState implementation for annotations
* [HHH-6301] - Metamodel changes in preparation for integrating metamodel into persisters
* [HHH-6307] - Upgrade to slf4j 1.6.1
* [HHH-6308] - Upgrade to Hibernate Validator 4.2.0.Final
* [HHH-6318] - Change EntityIdentifier.attributeBinding to be type SimpleAttributeBinding
* [HHH-6322] - upgrade to hibernate-jpa-2.0-api-1.0.1.Final
* [HHH-6333] - Create DeferredInitializationValue
* [HHH-6334] - Create JavaType for the metamodel
* [HHH-6335] - Change PojoEntitySpecifics to use JavaType for entity and proxy classes
* [HHH-6340] - Revisit EntityBindingState
* [HHH-6343] - Remove JavaClassNameResolver because it is not used
Changes in version 4.0.0.Beta1 (2011.06.08)
------------------------------------------------------------------------------------------------------------------------
http://opensource.atlassian.com/projects/hibernate/browse/HHH/fixforversion/11222
** Sub-task
* [HHH-6113] - Write orm.xml parser
* [HHH-6132] - Process and bind global configuration annotations
* [HHH-6133] - Enhance annotation based Jandex index with configuration extracted from orm.xml
* [HHH-6171] - Implement SimpleAttributeBinding relational and domain state using annotations
* [HHH-6174] - Create table binding
* [HHH-6207] - Bind o.h.a.Cache and j.p.Cachable
* [HHH-6246] - ConfiguredClass should honor default access from persistence-metadata-unit
* [HHH-6261] - Bind @GeneratedValue
* [HHH-6263] - Bind o.h.a.Proxy
* [HHH-6264] - Bind typedef information
* [HHH-6265] - Bind fetch profiles
* [HHH-6266] - Bind filter definitions
* [HHH-6273] - Bind identifier-generator definitions
* [HHH-6279] - Bind database object definitions
* [HHH-6281] - Basic HbmBinder cleanup
** Bug
* [HHH-2176] - DB2 setMaxResults problem in Hibernate 3.1.3
* [HHH-2225] - NPE when eager fetching joined component with native SQL query
* [HHH-4760] - NotAuditedException occurs when auditReader.getRevisions() is called for javassist proxies
* [HHH-4943] - ilike support is incomplete
* [HHH-5572] - clean up Sybase job failures
* [HHH-5808] - ObjectNotFoundException for an audited optional association. Envers is creating a proxy even when the association is null.
* [HHH-5967] - Envers Fetching Indexed Collection - Duplicate Row Exception
* [HHH-6119] - NullPointerException in AbstractPathImpl without source path
* [HHH-6176] - Envers ignores custom comparators for SortedSets
* [HHH-6206] - Explicitly add antlr jar to transitive dependencies
* [HHH-6211] - Fix bad pull request merge
* [HHH-6217] - Create EntityBindingState for initializing entity-specific binding data
* [HHH-6219] - Memory leak with Infinispan cache
* [HHH-6242] - no Types.BINARY type mapping in PostgresqlDialect
* [HHH-6243] - JBPAPP-3312 org.hibernate.test.legacy.CustomSQLTest fails
* [HHH-6250] - Some classes still using SLF4J
* [HHH-6272] - More logging fix ups
* [HHH-6274] - Logging format error causes many test failures
* [HHH-6276] - org.hibernate.test.cache.ehcache.EhCacheRegionFactoryImpl fails due to no slf4j in test configuration
** Improvement
* [HHH-4489] - need method "refresh(String entityName, Object obj)"
* [HHH-5025] - Support caching audit queries using ehcache's DiskStore.
* [HHH-5598] - sybase integration improvement
* [HHH-5649] - improve eclipse support with migration to gradle
* [HHH-6062] - Infinispan as JTA synchronization participant
* [HHH-6237] - Remove Service proxy code
* [HHH-6247] - Log (warn) inability for EM to join transaction only when user explicitly asked for join
* [HHH-6248] - Ominous-sounding WARN message from SessionFactoryObjectFactory
* [HHH-6258] - Performance improvement work
* [HHH-6291] - Basic MetadataImpl redesign
* [HHH-6292] - avoid Boolean instance creation
* [HHH-6294] - use enum instead of constant
** New Feature
* [HHH-5580] - tracking entity names in a revision
* [HHH-6078] - Conditional auditing support
* [HHH-6293] - avoid create unnesserary Integer object
** Patch
* [HHH-5434] - org.hibernate.test.filter.DynamicFilterTest testSqlSyntaxOfFiltersWithUnions fails with Ingres dialect
* [HHH-6228] - Build is platform dependent
** Task
* [HHH-6110] - Initial work to integrate new metamodel into persisters
* [HHH-6156] - Deprecate Configuration
* [HHH-6186] - Upgrade Hibernate 4 to Infinispan 5.0.0.CRx
* [HHH-6213] - Move domain and relational state interfaces into org.hibernate.metamodel.state
* [HHH-6214] - Make RegionFactory a service
* [HHH-6229] - Clean up MappingDefaults
* [HHH-6230] - Rework attribute binding using state objects
* [HHH-6232] - Add discriminator value to DiscriminatorBindingState
* [HHH-6239] - Add service for access to configuration options/settings map
* [HHH-6240] - Add access to configuration options targetting metamodel building
* [HHH-6251] - Create CollectionElement subclasses for element, composite-element, one-to-many, many-to-many, many-to-any
* [HHH-6267] - Plumb MetadataImplementor into service initiators registered in SessionFactoryServiceRegistry
* [HHH-6282] - clean out-of-date config files in etc dir
* [HHH-6290] - Add EntityBinder.isRoot() to indicate if the EntityBinding is for a "root" entity
Changes in version 4.0.0.Alpha3 (2011.05.04)
------------------------------------------------------------------------------------------------------------------------
http://opensource.atlassian.com/projects/hibernate/browse/HHH/fixforversion/11163
** Sub-task
* [HHH-6114] - Preprocess annotation configuration
* [HHH-6148] - Resolve generic type parameters
* [HHH-6161] - Integrate annotation based configuration processing into MetadataSource
** Bug
* [HHH-468] - MysqlDialect incorrectly maps java.lang.Boolean to SQL BIT
* [HHH-2049] - LEFT OUTER JOIN subcriteria filters children
* [HHH-4073] - discriminator formula creates problem in hibernate envers
* [HHH-4787] - AuditProperty.isNull() doesn't generate "tab.col is null" SQL clause as expected
* [HHH-5276] - Table REVINFO created in the default schema even if the property is otherwise set
* [HHH-5887] - Document typo hibernate.hbm2ddl.import_files
* [HHH-6069] - Escape entity fields name when required
* [HHH-6093] - Account for tenant identifier on QueryKey
* [HHH-6094] - Test failures in hibernate-infinispan dealing with query caching
* [HHH-6095] - Improve the way AbstractEntityManagerImpl.flush checks for an active transaction, should apply to other AbstractEntityManagerImpl methods that also check for an active tx
* [HHH-6163] - Need to fix location of envers integrator service file
* [HHH-6164] - Prefer regsitering JTA syncs via TransactionManager
** Deprecation
* [HHH-6158] - Deprecate SessionFactoryStub
* [HHH-6181] - Deprecate EJB3Configuration
* [HHH-6183] - Deprecate Configuration
** Improvement
* [HHH-2578] - redesign SessionFactory building
* [HHH-2579] - scope bytecode provider selection to session factory
* [HHH-5914] - Remove deprecated Hibernate type constants from org.hibernate.Hibernate and manuals
* [HHH-6064] - Skip regsitration of envers listeners if AuditConfiguration says no auditing annotations were found
* [HHH-6080] - Migrate from DTD to XSD for hbm.xml files
* [HHH-6096] - H2Dialect should use CACHED option for temporary table creation
* [HHH-6097] - Review log levels, especially related to i18n messages
* [HHH-6102] - ISE should be thrown when EM is colsed and joinTransaction is called, even with RESOURCE-LOCAL TX
* [HHH-6106] - Fix up IntelliJ project generation
* [HHH-6117] - Figure out best way to handle SessionFactoryObjectFactory dealing with JNDI
* [HHH-6118] - Make Metadata more user-friendly API
* [HHH-6128] - Create simplier LobCreator access from Session
* [HHH-6129] - org.hibernate.LobHelper#createNClob can now return NClob
* [HHH-6144] - Introduce ServiceRegistryBuilder
* [HHH-6154] - Add a README for describing build
** New Feature
* [HHH-6140] - Allow disabling of JAXP validation
** Patch
* [HHH-6169] - Prevent unnecessary calls to JDBC metadata methods.
** Task
* [HHH-5652] - Create "Take It Further" tasks for the JPA chapter of the GSG
* [HHH-6014] - Migrate hibernate-envers tests to JUnit4
* [HHH-6023] - Create "Take It Further" tasks for the Envers chapter of the GSG
* [HHH-6092] - Create domain and relational state APIs for SimpleAttributeBinding and implement for XML mappings
* [HHH-6098] - Slight naming changes in regards to new logging classes
* [HHH-6101] - Clean up checks for java 1.3 versus 1.4
* [HHH-6107] - Metamodel dependence on ServiceRegistry
* [HHH-6111] - Switch to use JAX for xml parsing
* [HHH-6115] - jaxb generation should follow directory pattern
* [HHH-6131] - JAXB generated classes should have a prefix to distinguish then easier from model classes
* [HHH-6134] - Migrate processing hbm.xml files to use Jaxb-generated classes
* [HHH-6138] - Implement addition of annotated classes and packages in MetadataSources
* [HHH-6141] - Develop scheme for ordered processing of MetadataSources sources
* [HHH-6142] - Integrate JAXB-based binding code and MetadataSources
* [HHH-6146] - remove SF.setTenantIdentifier, add to withOptions selections
* [HHH-6147] - Add support for multi-tenancy to StatelessSession building
* [HHH-6155] - Migrate o.h.impl package to o.h.internal
* [HHH-6168] - Create an attribute binding for many-to-one and implement DomainState and RelationalState for HBM XML
* [HHH-6191] - repackage org.hibernate.cache per api/spi/internal split
* [HHH-6192] - Split org.hibernate.collection package up into api/sip/internal
* [HHH-6193] - Split org.hibernate.context package into api/spi/internal
* [HHH-6194] - Better jaxb task to leverage Gradle up-to-date checking
* [HHH-6196] - Split org.hibernate.engine package into api/spi/internal
* [HHH-6198] - Split org.hibernate.event package into api/spi/internal
* [HHH-6199] - Split org.hibernate.exception package into api/spi/internal
* [HHH-6200] - Split org.hibernate.hql package into api/spi/internal
Changes in version 4.0.0.Alpha2 (2011.04.06)
------------------------------------------------------------------------------------------------------------------------
http://opensource.atlassian.com/projects/hibernate/browse/HHH/fixforversion/11162
** Bug
* [HHH-4999] - createSQLQuery(query).list() result screw up when when columns in different tables have same name
* [HHH-5803] - Better handling of implicit literal numeric expression typing
* [HHH-5940] - @MapKeyJoinColumns always throws an exception
* [HHH-5989] - Add tests of JPA-style transaction joining
* [HHH-5996] - Wire in JdbcServices into SchemaUpdateTask, SchemaExportTask, SchemaValidatorTask, HibernateService.dropSchema(), HibernateService.createSchema()
* [HHH-6001] - Add a top-level directory inside the release bundle archives
* [HHH-6002] - Use today's year when building copyright footer for aggregated javadocs
* [HHH-6028] - Remove o.h.classic stuff
* [HHH-6057] - hibernate.cfg.xml references wrong hbm.xml files and doesn't include reference to DTD file
* [HHH-6058] - Error in mapping file in Event.hbm.xml file for documentation in download
* [HHH-6061] - ValidatoryFactory type checking
* [HHH-6076] - query with setFirstResult throws Exception on derby
** Improvement
* [HHH-2680] - Blobs not updated on Session.merge() for detached instances
* [HHH-2860] - Consolidate Session creation options/parameters
* [HHH-4362] - @RowId
* [HHH-5244] - Flesh out H2Dialect temp table support
* [HHH-5284] - Allow Type to dictate the default length/scale/precision
* [HHH-5562] - Introduce a locator pattern for integrators to be able to leverage to more easily integrate with Hibernate
* [HHH-5947] - Improve error message, documentation and tests on @UniqueConstraint
* [HHH-5993] - Expose SessionFactoryObserver to Hibernate EntityManager configuration
* [HHH-6053] - Create an interface for centralizing the contract that is shared between Session and StatelessSession
** New Feature
* [HHH-5697] - Support for multi-tenancy
** Patch
* [HHH-3646] - implement Criteria API querying of collection-of-component (David Mansfield)
* [HHH-5348] - support for TypedQuery jpaql/hql "scalar" queries
** Task
* [HHH-5650] - Pull documentation building into 'release' module
* [HHH-5682] - Modify service infrastructure to leverage CDI annotations
* [HHH-5683] - Create Weld-specific ServiceRegistry
* [HHH-5913] - Implement set of event listeners as a service
* [HHH-5942] - Migrate to JUnit 4
* [HHH-5966] - Finish up loose ends for overriding a SqlTypeDescriptor
* [HHH-6010] - Remove duplication in code involving Work and ReturningWork
* [HHH-6013] - Consolidate on single JTA impl for testing
* [HHH-6015] - Investigate hibernate-infinispan test failures since migration to JUnit4
* [HHH-6016] - Migrate version injection plugin to Gradle
* [HHH-6025] - Remove cglib dependencies
* [HHH-6026] - Migrate bytecode provider integrations to api/spi/internal split
* [HHH-6027] - Migrate o.h.action pakcage to api/spi/internal split
* [HHH-6033] - Migrate stats to api/spi/internal split
* [HHH-6036] - integration documentation generation
* [HHH-6038] - Migrate to use newly separated gradle-upload-auth-plugin
* [HHH-6047] - allow nesting of ServiceRegistry
* [HHH-6050] - Remove direct compile-time dependencies to slf4j from build
* [HHH-6051] - Create a SessionFactory scoped ServiceRegistry
* [HHH-6052] - Make statistics a service
* [HHH-6073] - Dialects cannot use the Thread Context ClassLoader with AS7, please change to use the
* [HHH-6081] - Finish up Integrator
* [HHH-6088] - Move to slf4j-log4j12 for test logging
Changes in version 4.0.0.Alpha1 (2011.03.09)
------------------------------------------------------------------------------------------------------------------------
http://opensource.atlassian.com/projects/hibernate/browse/HHH/fixforversion/11161
** Sub-task
* [HHH-5662] - Import the initial work
* [HHH-5765] - Wire in JdbcServices
* [HHH-5949] - Migrate, complete and integrate TransactionFactory as a service
** Bug
* [HHH-3873] - DB2Dialect.getLimitString raise DB2 error message when called with limit=0
* [HHH-4646] - Inconsistent behavior with Audited and MappedSuperclass annotations
* [HHH-5126] - JPA Query with InExpression and Collection_valued_input_parameter Complains About Bad Syntax
* [HHH-5136] - map-key-column is broken
* [HHH-5163] - ClassCastException when Hibernate tries to cache results using ResultTransformer
* [HHH-5168] - DB2Dialect generates CROSS JOINs which aren't supported
* [HHH-5177] - auditing a child of a mapped superclass forces auditing on siblings
* [HHH-5280] - Exception on unidirectional collection whose elements are owned by several collection: "java.lang.IllegalArgumentException: object is not an instance of declaring class"
* [HHH-5306] - Dialect resolution: Cannot set a custom dialect resolver programatically or using hibernate.cfg.xml
* [HHH-5359] - Derived entity usecase fails when the association is bidirectional
* [HHH-5590] - Don't log and rethrow exceptions in AbstractFlushingEventListener
* [HHH-5599] - NPE occurs when using Infinispan as L2 Cache
* [HHH-5669] - Fix gradle build issues with Infinispan 2LC
* [HHH-5686] - Collections should be loaded by default using "lazy collection fetch" instead of "extra lazy collection" fetch
* [HHH-5693] - Re-enable entitymanager tests
* [HHH-5704] - New getSubString() handling in ClobProxy is incompatible with MySQL JDBC PS.setClob(int, Clob) for empty CLOB
* [HHH-5706] - Incorrect accounting for 1-based LOB offsets
* [HHH-5709] - JPA Metamodel: EntityType.getName != @Entity.name
* [HHH-5710] - incorrect test logic of org.hibernate.test.readonly.ReadOnlyCriteriaQueryTest
* [HHH-5717] - LockOptions not being set correctly
* [HHH-5725] - SqlServerDialect should support SQL 2000 which does not support the row_number function
* [HHH-5727] - Collection member declaration not handling optional AS in HQL.
* [HHH-5729] - Only one check constraint is generated when @Min and @Max annotation is used on a single field
* [HHH-5736] - Problem with "not" function of CriteriaBuilder
* [HHH-5750] - Envers unset session on proxy
* [HHH-5756] - Envers creates new revisions when only collection changed for entity
* [HHH-5766] - New services are not wired into standalone SchemaExport, SchemaUpdate, and SchemaValidator
* [HHH-5782] - Remove HibernateException and SQLException from ConnectionManager method signatures
* [HHH-5783] - Transaction timeout should be applied by ConnectionManager, not LogicalConnection
* [HHH-5791] - NullPointerException merging a transient entity with non-nullable properties that are null if insert is delayed and check_nullability is false
* [HHH-5793] - Query and timestamp caches to use cluster cache loader to avoid behaving like sync repl caches
* [HHH-5800] - Implement missing element-collection related xml in JPAOverridenAnnotationReader
* [HHH-5807] - Weird characters in license headers lead to compilation errors with UTF-8 character set
* [HHH-5817] - Passing char[] or byte[] to equal function of CriteriaBuilder throws java.lang.ClassCastException (Vyacheslav Dimitrov)
* [HHH-5821] - JPA EntityType's (or ManagedType's) getSingularAttributes() returns the version attribute with isVersion set to false.
* [HHH-5826] - org.hibernate.util.SerializationHelper#resolveClass never tries loader3
* [HHH-5838] - Proxool connection pool should only close pools it opened
* [HHH-5839] - non-utf8 characters in AuditReaderImpl
* [HHH-5842] - Types.Binary column type should be registered as "binary($l) for HSQLDialect (Fred Toussi)
* [HHH-5853] - Problem loading cachable collections defined with a property-ref key with a versioned owner
* [HHH-5883] - @Lob annotated field throws MappingException
* [HHH-5888] - CLONE: Problem using BLOB and CLOB fields in Oracle
* [HHH-5889] - CLONE: Using materialized blobs with PostgreSQL causes error
* [HHH-5890] - Parent POM: License comment in points to 404
* [HHH-5893] - Tests fail for dialects that return null for empty LOBs
* [HHH-5900] - Revert change to add upload repositiory authentication handling in build script
* [HHH-5907] - derby does not support materialize a LOB locator outside the transaction in which it was created
* [HHH-5922] - Type overrides do not affect functions registered with the dialect
* [HHH-5961] - Contextual LOB creator is used when the JDBC driver does not support JDBC4 Connection.createBlob()
* [HHH-5982] - Flush checker logic bugs
* [HHH-5983] - Entiy actions contain non-transient references to session and entity causing inconsistencies after serialization
* [HHH-5987] - Remove org.hibernate.ejb.CurrentEntityManagerImpl
* [HHH-5994] - Inserts may be delayed because TransactionCoordinatorImpl.isTransactionInProgress() returns false for non-JTA transactions
* [HHH-5995] - Compile error because Statement is undefined in SqlExceptionHelper
** Remove Feature
* [HHH-5981] - Clarify Session.disconnect() and Session.reconnect() behavior
** Improvement
* [HHH-3965] - Expose the ability to use varchar(max) or nvarchar(max)
* [HHH-4539] - Make UPPER and LOWER work on MS SQL Server text and ntext columns
* [HHH-5325] - Minor issues in test suite and suggestions for improvements (fixes HSQDB 2.0 failures)
* [HHH-5588] - Improve support for entityNames - determine the entityName for a retrieved object vÃa envers
* [HHH-5655] - In Gradle build, better account for non-standard local maven repo cache locations
* [HHH-5658] - Better .gitignore
* [HHH-5701] - Add .metadata/* to .gitignore
* [HHH-5724] - Improve the error message on Bean Validation exception by showing the constraint violation data
* [HHH-5726] - SqlServer2005Dialect should support variable limit
* [HHH-5761] - Update source repository links in Envers documentation
* [HHH-5794] - Add support for additional orm.xml elements for Map handling and element collections
* [HHH-5823] - Poor multithread performance in UpdateTimestampsCache class
* [HHH-5824] - Poor multithread performance in SessionFactoryImpl.getQueryCache method
* [HHH-5843] - Avoid useless branches during HQL parsing when trace logging is disabled
* [HHH-5859] - Upgrade to Infinispan 4.2.1.CR1
* [HHH-5904] - Deploy just testing artifacts from hibernate-core, not all tests
* [HHH-5906] - Expose AbstractEntityPersister.getPropertyUniqueness() as public for OGM to use
* [HHH-5943] - Make ServiceRegistry mutable
* [HHH-5977] - Add tests for @JoinColumn using secondary table
* [HHH-5986] - Refactor org.hibernate.util package for spi/internal split
* [HHH-5993] - Expose SessionFactoryObserver to Hibernate EntityManager configuration
** New Feature
* [HHH-2655] - SQLServer2005Dialect (ROW_NUMBER for Paging)
* [HHH-5371] - Add support for REVEND_TSTMP which will enable SQL table partitioning by time
* [HHH-5611] - Add management capability via JMX
* [HHH-5687] - Extract SQL keywords from DatabaseMetaData
* [HHH-5879] - Expose state from AbstractEntityPersister / Type / SessionFactoryImplementor for OGM usage
* [HHH-5898] - Improve authentication for Gradle uploads
* [HHH-5916] - Add support for a programmatic way to define a default EntityPersister and CollectionPersister class implementation
* [HHH-5957] - Provide a way for dialects to override a SqlTypeDescriptor
** Task
* [HHH-5615] - Switch to JBoss logging
* [HHH-5616] - Switch to Gradle for builds
* [HHH-5617] - Migrate to Git for source control
* [HHH-5618] - Support legacy ConnectionProvider names
* [HHH-5619] - Support legacy TransactionFactory names
* [HHH-5623] - Baseline on JDK 1.6
* [HHH-5632] - Import initial services work
* [HHH-5634] - Clean up stuff no longer needed
* [HHH-5638] - Import JDBC batching service
* [HHH-5639] - Import ConnectionProvider service
* [HHH-5640] - Import DialectFactory and DialectResolver services
* [HHH-5641] - Import JtaPlatform services
* [HHH-5647] - Develop release process using Gradle
* [HHH-5651] - Wire in new services in org.hibernate.service
* [HHH-5656] - Import ServicesRegistry bootstrap code and service tests
* [HHH-5714] - Upgrade metamodel generator dependency in entitymanager to 1.1.0.Final
* [HHH-5768] - upgrade H2 version to 1.2.145 (was 1.2.140)
* [HHH-5778] - Wire in new batch code
* [HHH-5781] - Refactor code in org.hibernate.jdbc to spi/internal and remove obsolete code
* [HHH-5788] - Move settings required by JdbcServices into JdbcSupport
* [HHH-5880] - Gradle has to deploy testing artifacts
* [HHH-5897] - Upgrade to Gradle 0.9.2
* [HHH-5903] - Rename ServicesRegistry to ServiceRegistry
* [HHH-5928] - Clean up compilation warnings
* [HHH-5941] - Remove deprecated set(), nullSafeSet(), get(), nullSafeGet() methods and add SessionImplementer argument to UserType.nullSafeGet()/nullSafeSet()
* [HHH-5985] - Remove TransactionHelper in preference of IsolationDelegate
* [HHH-5990] - Remove non-maintained second level cache integrations
* [HHH-5991] - Revist passing of ServiceRegistry to Configuration to build a SessionFactory
* [HHH-6000] - split annotation processor execution out into separate tasks
Changes in version 3.6.0.CR2 (2010.09.29)
-------------------------------------------
http://opensource.atlassian.com/projects/hibernate/browse/HHH/fixforversion/11131
** Bug
* [HHH-892] - HQL parser does not resolve alias in ORDER BY clause
* [HHH-2917] - Using subselects as operands for arithmetic operations causes NullPointerException
* [HHH-4510] - Add column-level read/write support (HHH-4440) to annotations
* [HHH-5490] - dirty data be inserted into 2L cache
* [HHH-5552] - Infinispan listener implementations need to load entities and keys using application classloader.
* [HHH-5563] - JndiInfinispanRegionFactory creates region with a stopped cache, if region previously existed
* [HHH-5568] - correct wrong format in document
* [HHH-5573] - Change TestCase to rebuildSessionFactory() whenever sessions var is accessed
* [HHH-5590] - Don't log and rethrow exceptions in AbstractFlushingEventListener
* [HHH-5591] - ConcurrentStatisticsImpl#queryExecuted() does not update queryExecutionMaxTimeQueryString
* [HHH-5592] - org.hibernate.test.hql.ASTParserLoadingOrderByTest hangs on postgresql
* [HHH-5593] - org.hibernate.test.legacy.FooBarTest.testCollectionWhere fails on hsqldb
* [HHH-5594] - org.hibernate.test.jpa.lock.JPALockTest fails on hsqldb
* [HHH-5595] - postgresql jdbc driver does not implement the setQueryTimeout method
* [HHH-5596] - org.hibernate.test.annotations.onetoone.OneToOneTest.testPkOneToOneSelectStatementDoesNotGenerateExtraJoin() fails on postgresql
* [HHH-5597] - org.hibernate.test.criteria.LikeTest.testLike fails on postgresql because of the default escape charactor
** Improvement
* [HHH-5560] - Envers ValidAuditTimeStrategy needs a better name
* [HHH-5589] - mysql does not support column check
** New Feature
* [HHH-5190] - Provide annotation support for 's force and insert
* [HHH-5205] - Add support for source="db" for timestamp versions
** Patch
* [HHH-5581] - Improve InformixDialect sequence support
Changes in version 3.6.0.CR1 (2010.09.15)
-------------------------------------------
http://opensource.atlassian.com/projects/hibernate/browse/HHH/fixforversion/11141
** Sub-task
* [HHH-3766] - Modify the queries executed to use the "end-revision" column, when available
* [HHH-5446] - Write an envers tutorial guide
* [HHH-5499] - Extend AuditReader interface with findRevisions() method
** Bug
* [HHH-5310] - orm_2_0.xsd compliant mapping files break in JEE use cases
* [HHH-5356] - Sybase 15 does not support cross join
* [HHH-5484] - org.hibernate.type.UUIDCharType incorrectly mapped to char and causes test fail due to the padding space
* [HHH-5542] - Infinispan region factory uses same cache instance for all timestamp regions
* [HHH-5545] - Resolve query cache results not up to date testsuite failures
** Improvement
* [HHH-3709] - Add StartRevision/EndRevison fileds to audit tables
* [HHH-5372] - Improve envers query performance by using new REVEND column
* [HHH-5441] - Create "Getting Started Guide"
* [HHH-5543] - JEE bootstrapping should only parse and validate mapping files once
* [HHH-5557] - Sybase supports alias length upto 30 characters
* [HHH-5564] - Upgrade to Infinispan 4.2.x
** Task
* [HHH-5524] - Move tagRelease.sh into svn
Changes in version 3.6.0.Beta4 (2010.09.01)
-------------------------------------------
http://opensource.atlassian.com/projects/hibernate/browse/HHH/fixforversion/11140
** Sub-task
* [HHH-5442] - Write native tutorial chapter
* [HHH-5444] - Write annotations tutorial chapter
* [HHH-5445] - Write a jpa/entitymanager tutorial guide
* [HHH-5462] - Write preface
* [HHH-5463] - Write a community chapter
** Bug
* [HHH-817] - Projection aliases should not be applied to where-clause (Milosz Tylenda)
* [HHH-1189] - interfaces for Proxies are not regonized as interfaces
* [HHH-3334] - Cascade-save breaks if parent ID is assigned (delays insert) and child has identity ID (early insert) (Wallace Wadge)
* [HHH-5142] - Exception when initializing lazy @ManyToMany indexed collection containing not audited entities
* [HHH-5225] - Cannot parse order-by fragment if it contains a registered function without parentheses
* [HHH-5440] - Joined collection expressions not properly "rendered" in JPA Criteria queries
* [HHH-5511] - Infinispan Region.destroy() impl should call cache.stop()
* [HHH-5512] - JndiInfinispanRegionFactory shouldn't try to stop CacheManager
* [HHH-5517] - Switch uuid generation in SessionFactory to org.hibernate.id.UUIDGenerator instead
* [HHH-5519] - VersionedItem should not extend Item, otherwise query cache results are confusing
* [HHH-5520] - Per org.hibernate.cache.spi.RegionFactory javadocs, implementors should be allowed to use no-arg constructor
** Deprecation
* [HHH-5489] - Deprecate jbosscache as a second level cache provider, in favor of infinispan
** Improvement
* [HHH-5427] - derby 10.6.1.0 native sequence support broken
* [HHH-5507] - Add @MapKeyType annotation
* [HHH-5509] - Leverage StandardBasicTypes internaly
* [HHH-5515] - Upgrade to Infinispan 4.1.0.CR3
** Patch
* [HHH-5197] - Envers documentation doesn't include the correct configuration when using Hibernate directly
* [HHH-5453] - ByteCodeHelper.readByteCode won't load classes bigger than a constant size
** Task
* [HHH-5502] - Upgrade to maven-jdocbook-plugin 2.3.2
* [HHH-5505] - enable Sybase 15.5 in the test db profile
* [HHH-5506] - rollback maven-jdocbook-plugin to 2.3.0
* [HHH-5510] - Upgrade to maven-jdocbook-plugin 2.3.3
Changes in version 3.6.0.Beta3 (2010.08.18)
-------------------------------------------
http://opensource.atlassian.com/projects/hibernate/browse/HHH/fixforversion/11133
** Sub-task
* [HHH-5464] - Write a chapter about obtaining Hibernate
** Bug
* [HHH-1643] - Sub-query as function parameter - either sub-query is missed from SQL or NullPointerException raised
* [HHH-5180] - StandardQueryCache.get() does not handle EntityNotFoundException for natural key lookups
* [HHH-5426] - HQL update/delete does not invalidate the query cache
* [HHH-5449] - Versioned HQL update might issue incorrect SQL
* [HHH-5469] - HHH-3659 is only half done, due to HHH-4989 (i.e. no HQL performance log when running Java 5)
* [HHH-5473] - Default for CHECK_NULLABILITY does not allow merge retries
** Improvement
* [HHH-5438] - Skip deployment of "irrelevant" modules
* [HHH-5439] - Deployment of site.xml
* [HHH-5474] - Clean up usages of now deprecated ExtendedMappings
* [HHH-5477] - Introduce StandardBasicTypes for standard basic type constants
** Patch
* [HHH-5300] - Configurable QueryPlanCache reference counts (Manuel Dominguez Sarmiento)
** Task
* [HHH-5451] - deprecate cglib as bytecode provider
* [HHH-5479] - Upgrade jDocBook plugin to 2.3.0
* [HHH-5485] - Move hiberante dtd files from http://hibernate.sourceforge.net to http://www.hibernate.org/dtd
Changes in version 3.6.0.Beta2 (2010.08.04)
-------------------------------------------
http://opensource.atlassian.com/projects/hibernate/browse/HHH/fixforversion/11132
** Bug
* [HHH-2350] - 2nd level cache broken for non-inverse bidirectional one-to-many relation
* [HHH-4011] - ChainedPropertyAccessor is not serializable, which breaks caching to disk and replicated caches.
* [HHH-5097] - Bug in ParameterizedFunctionExpression with two or more parameters: IllegalArgumentException
* [HHH-5296] - AbstractFromImpl::getJoin() shall return empty set, not null
* [HHH-5355] - org.hibernate.test.id.uuid.sqlrep.sqlchar.UUIDCharTest errors with IngresDialect
* [HHH-5400] - Binding BLOB values via byte[] (MaterializedBlobType) fails in 3.6 on MySQL
* [HHH-5408] - Revise JPA compliance wording used in documentation according to Oracle policies
* [HHH-5415] - org.hibernate.type.descriptor.java.DataHelper dumping "NClob not found" exception to stderr
* [HHH-5425] - PropertyAccessException when caching results from a Query with a ResultTransformer that as 1 value per row
* [HHH-5431] - Infinispan's CacheAdapterImpl.putAllowingTimeout not using silent flag
** Improvement
* [HHH-2510] - override equals() and fix hashCode() in AliasToBeanResultTransformer
* [HHH-5212] - Alter SQLFunction contract to be more flexible
* [HHH-5283] - Add BasicType handling of java.net.URL
* [HHH-5295] - Rendered JPAQL query shall be the same all the times, aliases shall not have random indexes
* [HHH-5331] - Remove reflection calls on SessionFactory for JDK 1.5 detection in relation to Statistics
* [HHH-5375] - Merge AnnotationConfiguration into Configuration
* [HHH-5418] - Have Configuration delay parsing/binding of mappings until buildMappings() is called
* [HHH-5420] - introducing new dialect for ms sql server 2008 with jdbc 3.0 and above
* [HHH-5424] - ResultTransformer should only be set in the QueryKey if putting/getting data that is actually transformed
** New Feature
* [HHH-3908] - Expose way to fully control fetching and result mapping on SQLQuery
* [HHH-5423] - Provide a JBoss TS TransactionManagerLookup implementation for standalone (non JNDI) usage
** Patch
* [HHH-5246] - Addition of withClause for DetachedCriteria (Shawn Clowater)
* [HHH-5349] - CriteriaHQLAlignmentTest fails with an error running with the Ingres dialect
* [HHH-5401] - Update to HHH-5381 HSQLDB new dialect (Fred Toussi)
* [HHH-5435] - Add identity column support to the Ingres10Dialect
** Task
* [HHH-5259] - Invalid reflection optimization configuration property name in Hibernate documentation.
* [HHH-5416] - upgrade to h2 1.2.140
Changes in version 3.6.0.Beta1 (2010.07.21)
-------------------------------------------
http://opensource.atlassian.com/projects/hibernate/browse/HHH/fixforversion/10941
** Sub-task
* [HHH-3764] - Add the "end-revision" column when generating metadata
* [HHH-3765] - Fill the "end revision" column with appropriate data in add/mod/del/collection work units
* [HHH-5115] - Migrate Annotations documentation system to jdocbook's maven plugin (like core)
* [HHH-5149] - Update "Basic O/R Mapping" (chapter 5) and "Collection Mapping" (chapter 6) of Core manual to use annotations
* [HHH-5150] - Update settings section to reflect merge from Annotations and Core documentation
* [HHH-5153] - Update Filters chapter to also show annotation configuration
* [HHH-5155] - Move Additional modules chapter from Annotations to Core probably in Appendix
* [HHH-5366] - Move annotations module tests into testsuite module
* [HHH-5367] - Move annotations module sources into core module
* [HHH-5379] - Update "Transitive persistence" (10.11) section to incorporate annotations
* [HHH-5380] - Update "Cache mappings" (20.2.1) section to incorporate annotations
* [HHH-5388] - Add @NamedQuery, @NamedNativeQuery, @SqlResultSetMapping, @Tuplizers and @FetchProfile to Core documentation
* [HHH-5389] - Update custom CRUD chapter
** Bug
* [HHH-2269] - Many-to-one cascade fails with TransientObjectException if the inverse collection is marked CascadeType.DELETE_ORPHAN
* [HHH-2277] - bidirectional both lazy=false fetch=join lead to infinite loop
* [HHH-3001] - The NoopOptimizer is not thread safe
* [HHH-3005] - DTD: map-key should allow nested type rather than attribute.
* [HHH-3096] - COUNT DISTINCT operator with idenfication variable w/ composite primary key produces bad sql
* [HHH-3377] - Update H2Dialect to use DECIMAL SQL type instead of NUMERIC
* [HHH-3694] - ResultTransformer not used when scroll() is used on a named SQLQuery
* [HHH-4036] - EntityMetamodel entityNameByInheritenceClassNameMap field used inconsistently
* [HHH-4147] - Eager Bidirectional association with @ManyToOne in PK lead to infinite loop
* [HHH-4156] - c3p0 is not used when only specific hibernate.c3p0.* properties
* [HHH-4240] - SecondaryTables not recognized when using JOINED inheritance
* [HHH-4250] - @ManyToOne - @OneToMany doesn't work with @Inheritance(strategy= InheritanceType.JOINED)
* [HHH-4568] - Sybase - Test "BatchTest" fails due to "unexpected row count from update"
* [HHH-4647] - Problems with @JoinColumn referencedColumnName and quoted column and table names
* [HHH-4716] - NotAuditedException using the entity name concept of hibernate.
* [HHH-4773] - @CollectionId does not force the id column to not-null
* [HHH-4957] - Criteria Projections.countDistinct() function broken
* [HHH-4966] - Entity Manager bug with ParameterExpressionImpl
* [HHH-4968] - Cannot deactivate default BeanValidationListener independently of DDL constraints generation (Vladimir Klyushnikov)
* [HHH-4991] - ManyToMany table not joined due to max_fetch_depth parameter, results to SQL exceptions
* [HHH-5006] - hibernate.globally_quoted_identifiers=true and Annotations tests
* [HHH-5032] - Setting LockModeType.OPTIMISTIC_FORCE_INCREMENT defaults to only OPTIMISTIC
* [HHH-5042] - TableGenerator does not increment hibernate_sequences.next_hi_value anymore after having exhausted the current lo-range
* [HHH-5063] - Projections that have aliases same as the property name result in invalid sql
* [HHH-5069] - Fix annotation documentation wrt setup
* [HHH-5094] - PersistenceUtilHelper cannot access non-public fields/methods (it should be able to)
* [HHH-5098] - AssertionFailure thrown when collection contains a parameterized type
* [HHH-5109] - @OneToOne - too many joins
* [HHH-5125] - The annotations @Entity and @MappedSuperclass used in one class produce a nullpointerexception
* [HHH-5131] - SchemaExport drop fails if constraint names change
* [HHH-5135] - "Ambiguous column" exception thrown with columns having the same name as a function registered with the dialect (e.g. to_date, floor)
* [HHH-5173] - hql - average returns double but looses the decimal part
* [HHH-5178] - Unit tests in org.hibernate.test.immutable fail on mssql and sybase due to keyword used for table and column name
* [HHH-5191] - CollectionMetadataGenerator fails to obtain mappedBy attribute when is defined on superclasses
* [HHH-5195] - FilterImpl.validate() throws NullPointerExeption on deserialization
* [HHH-5204] - Introduce @RequiresDialectFeature annotation
* [HHH-5207] - Unexpected exception occurs during refresh of a transient immutable business object.
* [HHH-5208] - Oracle 11g R2 RAC - Test SequenceIdentityTest fails because first value of sequence is "2"
* [HHH-5210] - Query Cache effective only after closing the session that created the cache
* [HHH-5211] - no need to create a schema first when run this test org.hibernate.test.sql.hand.custom.db2.DB2CustomSQLTest
* [HHH-5220] - Unit tests related to HHH-5063 and HHH-5135 fail on some dialects
* [HHH-5230] - Regresion! @SequenceGenerator with allocationSize=1 fails Other allocationSizes appear to be decremented by 1
* [HHH-5231] - Unit test failures lock up when they run on DB2 and PostgreSQL
* [HHH-5233] - @FetchProfile fails to take more than one @FetchProfile.FetchOverride
* [HHH-5253] - TableHiLoGenerator does not increment hi-value any more when lo-range es exhausted
* [HHH-5258] - Persistence.isLoaded(Object, String) fails if the annotated property does not have a public getter or field
* [HHH-5272] - Typo in tutorial at web site
* [HHH-5286] - Jar Scanner instances cannot be passed to EntityManagerFactory creation method
* [HHH-5288] - Envers auditReader.find() returns wrong data for embedded components using fields with default values
* [HHH-5298] - @AuditMappedBy doesn't work on an inherited relation
* [HHH-5315] - AuditJoinTable rows are no longer flushed to the database
* [HHH-5318] - Wrong logic for RequiresDialectFeature in org.hibernate.test.annotations.HibernateTestCase
* [HHH-5319] - Clean up data created in org.hibernate.test.annotations.onetomany.OneToManyTest#testUnidirectionalExplicit
* [HHH-5322] - Regression in PersistenceUtilHelper
* [HHH-5323] - correct jdbc driver version for testing
* [HHH-5324] - Tests fail on mysql
* [HHH-5329] - NoClassDefFoundError when using Hibernate 3.5 with J2SE 1.4 because of a wrong catch block
* [HHH-5332] - JndiInfinispanRegionFactory cannot be instantiated
* [HHH-5334] - PersistenceUtilHelpe.findMember(Class, String) private method doesn't work with members of a superclass
* [HHH-5340] - Typo in tutorial at web site
* [HHH-5370] - Building IN condition with CriteriaBuilder providing collection of values not working.
* [HHH-5384] - HEM should not register its own Synchronization
* [HHH-5395] - Fix the failing Lobs test
** Improvement
* [HHH-3050] - Convert usage of Hibernate's FastHashMap to ConcurrentHashMap (Java 1.5)
* [HHH-4945] - Replace all usages of EJB3TestCase with org.hibernate.ejb.test.TestCase
* [HHH-5138] - Redesign types + introduce TypeRegistry & TypeResolver
* [HHH-5144] - Dont restrict on jdk5 in hibernate core development
* [HHH-5162] - Deprecate @Entity.mutable in favor of @Immutable
* [HHH-5171] - Allow usage of standalone @JoinFormula annotation
* [HHH-5182] - Inject SessionFactory into "non-basic" Types
* [HHH-5217] - Minimize double sequence value reads in PooledOptimizer
* [HHH-5218] - Provide a new "pooled value" based optimizer which interprets the database value as the low boundary instead of upper boundary
* [HHH-5245] - Introduce LobHelper
* [HHH-5248] - Introduce CompositeType interface (to replace AbstractComponentType interface)
* [HHH-5251] - NativeSQLQueryReturn impls pre-cache a final hashcode based on non-final fields
* [HHH-5252] - AttributeFactory needs more info in AssertionFailure
* [HHH-5262] - Allow UserType and CompositeUserType to be registered with BasicTypeRegistry
* [HHH-5268] - Support for java.util.UUID properties/generators
* [HHH-5285] - Add support for CompositeUserType to implement org.hibernate.usertype.LoggableUserType
* [HHH-5362] - Upgrade trunk to latest Infinispan 4.1
* [HHH-5373] - Better account for SQLWarnings in temp table creation
** New Feature
* [HHH-3579] - Support for PostgreSQL UUID data type
* [HHH-3659] - statistics: Execution time of a query
* [HHH-5260] - Allow query region name specific eviction settings
* [HHH-5337] - Allow customization of "import.sql" file name and multi files import
** Patch
* [HHH-1574] - AbstractEntityPersister.getNaturalIdentifierSnapshot doesn't work with many-to-one ids (Alex Burgel)
* [HHH-2268] - Skip bridge methods during getter determination (JDK Bug 5062759)
* [HHH-3220] - Patch to prevent "org.hibernate.AssertionFailure: possible non-threadsafe access to the session" error caused by stateless sessions
* [HHH-5064] - OrderBy string getting dumped to console on session factory creation (Shawn Clowater)
* [HHH-5078] - JPA criteria query numeric expressions produce wrong result (due to wrong bracketing)
* [HHH-5147] - EnumType speed up in initEnumValues()
* [HHH-5213] - Add native SQL Boolean type to Ingres10Dialect
* [HHH-5336] - a few typo fixes
* [HHH-5381] - HSQLDB new dialect (Fred Toussi)
** Task
* [HHH-4868] - Upgrade to Javassist 3.12.0.GA
* [HHH-5139] - Increase minimum language level from 1.4 to 1.5
* [HHH-5145] - Update pom to use the new distributationManagement information
* [HHH-5148] - Merge Hibernate Annotations reference documentation into Core
* [HHH-5181] - Merge hibernate-annotations module code into hibernate-core
* [HHH-5186] - update db profiles id and jdbc properties' name to use dballocator
* [HHH-5200] - Prepare to use H2 as the default testing datbase
* [HHH-5254] - Present document on Types as a separate chapter
* [HHH-5281] - TypeSafeActivator should also generate constraints for @Length
* [HHH-5294] - declare source files encoding to utf-8 to avoid maven warning
* [HHH-5317] - Update Annotations and EM to use latest version of Hibernate Validator
* [HHH-5357] - Rename hibernate-testing packages
* [HHH-5358] - Merge jmx module back into core
* [HHH-5365] - merge annotations module into core module
* [HHH-5374] - Upgrade to H2 version 1.2.139
* [HHH-5382] - Upgrade to slf4j 1.6
* [HHH-5397] - Odds and ends from documentation merge
Changes in version 3.5.1 (2010.04.14)
-------------------------------------------
http://opensource.atlassian.com/projects/hibernate/browse/HHH/fixforversion/11021
** Bug
* [HHH-2809] - dialect changes: limit string
* [HHH-3543] - method org.hibernate.transaction.JDBCTransaction.notifyLocalSynchsBeforeTransactionCompletion "swallows" all exceptions occured inside it
* [HHH-4077] - Misuse of NamingStrategy and logical column names in HbmBinder
* [HHH-4721] - Error in AuditSync.beforeCompletion() does not result in faillure of JDBCTransaction
* [HHH-4912] - testManyToManyWithFormula induces error with Ingres dialect
* [HHH-4938] - Multiple errors reported during legacy FooBarTest with Ingres
* [HHH-4961] - org.hibernate.test.hql.ASTParserLoadingTest error running testPaginationWithPolymorphicQuery with Ingres
* [HHH-4965] - Implicit parameters abusively use TypeFactory.heuristicType losing UserType and XToOneType info
* [HHH-4970] - org.hibernate.test.hql.ASTParserLoadingTest error running testComponentParameterBinding with Ingres
* [HHH-4973] - org.hibernate.test.hql.ASTParserLoadingTest error running testSelectClauseSubselect with Ingres
* [HHH-4976] - org.hibernate.test.hql.ASTParserLoadingTest error running testImplicitPolymorphism with Ingres
* [HHH-4977] - org.hibernate.test.hql.ASTParserLoadingTest error running testOneToManyFilter with Ingres
* [HHH-5045] - org.hibernate.test.hql.HQLTest failure running testConcatenation with Ingres
* [HHH-5059] - callouts and programlistings with highlighting
* [HHH-5082] - QueryException thrown when grouping by component
* [HHH-5096] - FetchingScrollableResultsImpl.last() does not move to the last result if cursor is after the last result
* [HHH-5102] - Instances of a subclass can't be loaded
* [HHH-5103] - Specifying the referencedColumnName in a @JoinColumn in backtics like `uid` fails
* [HHH-5104] - EntityType.isEqual() test x equals x but should test x equals y (Thierry-Dimitri Roy)
* [HHH-5106] - UnsupportedOperationException on SQL named native queries when using the type-safe API
** Improvement
* [HHH-3962] - Ingres Hibernate dialect for EAP 4.3.0 GA CP04
** Patch
* [HHH-2470] - Use of session.createSQLQuery causes memory leak (Harry Mark and Michael Stevens)
* [HHH-5003] - IngresDialect requires query substitutions for boolean values
* [HHH-5076] - Multiple failures reported during ReadOnlyProxyTest with Ingres
** Task
* [HHH-3997] - Build aggregated javadocs
* [HHH-5083] - Align javadoc styles better with docbook / website
* [HHH-5084] - Improve overview for aggregated javadocs
* [HHH-5116] - Remove copyrighted fonts from annotations
Changes in version 3.5.0-Final (2010.03.31)
-------------------------------------------
http://opensource.atlassian.com/projects/hibernate/browse/HHH/fixforversion/11022
** Sub-task
* [HHH-4599] - An embeddable class may contain ToOne or ToMany associations
* [HHH-4666] - Implement the clarified rules for resource discovery (esp for and co)
* [HHH-4691] - Validate all new concepts are supported in orm.xml
** Bug
* [HHH-2088] - TypeMismatchException on object equality expression from one-to-one relationship
* [HHH-2997] - LikeExpression case sensitive not working properly
* [HHH-4784] - JDBCTransaction -> commit() -> notifyLocalSynchsBeforeTransactionCompletion()
* [HHH-4870] - Cannot determine java-type from given member [null]
* [HHH-4919] - DefaultMergeEventListener does not call Interceptor.instantiate() for a new persistent entity (Francesco Degrassi)
* [HHH-4931] - two tests in org.hibernate.test.legacy.MultiTableTest fail on Ingres
* [HHH-4946] - org.hibernate.test.legacy.FooBarTests testLimit failure with Ingres
* [HHH-4958] - Immutable entity snapshot is retained after insert
* [HHH-4972] - javax.persistence.query.timeout and javax.persistence.lock.timeout can be passed when creating an EMF
* [HHH-4993] - Updates to read-only entity associations made while in persistent state are ignored by flush
* [HHH-4998] - org.hibernate.test.hql.ASTParserLoadingTest failure running testStr with Ingres
* [HHH-5000] - duplicate words in the documents
* [HHH-5010] - org.hibernate.test.hql.CriteriaHQLAlignmentTest.testCriteriaAggregationReturnType() needs call flush before do the query
* [HHH-5013] - the previous select query should not to hold locks in TypeParameterTest#testSave
** Improvement
* [HHH-1088] - Add support for projections using composite keys and components
* [HHH-4374] - @Subselect
* [HHH-4907] - Support for tuple syntax in HQL/Criteria on databases which do not support tuple syntax
* [HHH-4940] - Document immutable/read-only entity and immutable collection functionality
* [HHH-4989] - Make Statistics concurrent safe when Java 5 is present (Alex Snaps)
* [HHH-5008] - Log query lock mode in EntityLoader constructor
* [HHH-5022] - Small documentation improvements in chapter 6
** New Feature
* [HHH-4812] - Add fetch profile support in annotations
* [HHH-4994] - find(Class entityClass, Object primaryKey, Map properties) and refresh(Object entity, Map properties) do not honor properties
* [HHH-5026] - Ability to customize Scanner strategies
** Patch
* [HHH-4419] - is missed using annotations
* [HHH-5049] - org.hibernate.test.legacy.ParentChildTest error running testLoadAfterNonExists with Ingres
** Task
* [HHH-4933] - Write documentation on JPA 2
* [HHH-4990] - Move to commons-annotations 3.2.0.Final
* [HHH-4995] - Update dependency versions for JPA 2 and Metamodel Generator
* [HHH-4996] - Use monospace fonts in docbook programlistings
* [HHH-5035] - upgrade to jdocbook 2.2.3
* [HHH-5047] - Remove column coordinates from areaspecs
* [HHH-5058] - Include hibernate-jpa-2.0-api (JPA 2 API) in release bundle
Changes in version 3.5.0-CR-2 (2010.02.24)
-------------------------------------------
http://opensource.atlassian.com/projects/hibernate/browse/HHH/fixforversion/11011
** Sub-task
* [HHH-4605] - Add support for @OneToMany @JoinColumn in XML
* [HHH-4606] - Add support for @*ToOne @JoinTable in XML
* [HHH-4662] - Implement javax.persistence.query.timeout
* [HHH-4676] - Any interceptor exception (RTE) should mark the tx for rollback
* [HHH-4765] - Enhance Dialect support for JPA-2 locking
** Bug
* [HHH-3817] - JBC second level cache integration can cache stale collection data
* [HHH-4583] - Incorrect handling of empty conjunction and disjunction
* [HHH-4613] - KEY, VALUE and ENTRY should not be strict keywords
* [HHH-4693] - MapProxy - problems during marshalling/demarchalling
* [HHH-4809] - Immutable entities added to a session have Status.MANAGED unless loaded by the Session
* [HHH-4810] - Persistent immutable and read-only entities are updated before being deleted
* [HHH-4825] - mapping order impacting behavior leading to bug
* [HHH-4836] - Infinispan: 2L QueryCache don't considers cached queries which belong to current transaction
* [HHH-4845] - Investigate why entitymanager test cannot be run in forkMode once
* [HHH-4899] - Type not supported: org.hibernate.type.TimestampType
* [HHH-4917] - Keyword TYPE not supported
* [HHH-4926] - Upgrade to jDocBook 2.2.1
* [HHH-4928] - Non-Audited Entity with @ManyToOne in PK causes error in Envers 1.2.2
* [HHH-4932] - Upgrade EM to use the latest metamodel generator (CR-1)
* [HHH-4944] - putFromLoad calls could store stale data
* [HHH-4948] - Session.flush() does not always cascade save or update to read-only or immutable entities
** Improvement
* [HHH-4905] - Allow consistent handling of numeric primary key values by any integral data type
* [HHH-4911] - Make referencedColumnName case insensitive
* [HHH-4930] - Drop org. prefix on hibernate.cache.default_cache_concurrency_strategy and hibernate.id.new_generator_mappings for consistency
* [HHH-4934] - Improve logging in MetadataContext and AttributeFactory
* [HHH-4942] - Refactor PackagedEntityManagerTest and JarVisitorTest to use ShrinkWrap
** New Feature
* [HHH-3841] - Add support for lock timeouts
** Patch
* [HHH-4908] - Multiple failures reported during ReadOnlyProxyTest with Ingres
** Task
* [HHH-4640] - Add test with JNDI bound JBoss Transactions Transaction Manager
* [HHH-4936] - Document JPA criteria queries
* [HHH-4949] - Document JPA 2 metamodel
* [HHH-4951] - Correct DTD entities for injecting version and date into docs
Changes in version 3.5.0-CR-1 (2010.02.10)
-------------------------------------------
http://opensource.atlassian.com/projects/hibernate/browse/HHH/fixforversion/11014
** Sub-task
* [HHH-4661] - Properly propagate Query.setLockMode to Hibernate Core
* [HHH-4664] - Implement EntityManagerFactory#getProperties()
* [HHH-4848] - Derived identities: Derived entities using @IdClass and mapping a @XToOne are not supported
** Bug
* [HHH-4317] - Memory leak in EnumType class.
* [HHH-4824] - localpath appeared in the doc xml
* [HHH-4841] - Read-only proxies in NonFlushedChanges are not read-only when applied to a new session
* [HHH-4861] - Allow lookup by the "simple" pk type of "parent entity" in "derived identities" cases
* [HHH-4877] - "Check Nullability" logging incorrectness in SettingsFactory
* [HHH-4880] - EntityManager.refresh does not throw EntityNotFoundException for removed entity
* [HHH-4883] - Unable to join across a component
* [HHH-4884] - Fix binding of @TableGenerator#initialValue into org.hibernate.id.enhanced.TableGenerator
* [HHH-4889] - @IdClass containing an associated entity reference (instead of the pk of this associated entity) should still work
* [HHH-4895] - property mappings incorrect for composite ids with many-to-one
* [HHH-4896] - Read-only proxy targets initialized from second-level cache are not read-only
* [HHH-4898] - Results from read-only Criteria and Query obtained from query cache are not read-only
* [HHH-4900] - Wrong immutable type check in IdMetadataGenerator
* [HHH-4902] - Handle JPA 2 requirement of setting id attribute to non-null with its equivalent of foreign-generator
** Improvement
* [HHH-4578] - Criteria is missing read-only flag
* [HHH-4704] - Pass session into EntityTuplizer#setIdentifier
* [HHH-4879] - Support HQL index-refering functions for many-to-many, indexed collections
* [HHH-4894] - Process composite-id sub-generators PersistentIdentifierGenerator contract(s)
** New Feature
* [HHH-4731] - Public API to know if an entity class is audited
** Patch
* [HHH-4886] - Merge minor change from IngresDialect.java from 3.3.2 for Ingres 9.2 compatibility
** Task
* [HHH-4892] - Simplify testing of persistence packages
Changes in version 3.5.0-Beta-4 (2010.01.28)
-------------------------------------------
- http://opensource.atlassian.com/projects/hibernate/browse/HHH/fixforversion/11012
** Sub-task
* [HHH-4529] - Partial support for derived identity (including @MapsId)
* [HHH-4651] - Add support for EntityManager properties
* [HHH-4659] - Add support for standard declarative cache (@Cacheable)
* [HHH-4660] - Support Cache Retrieve Mode and Cache Store Mode Properties
* [HHH-4669] - Implement JDBC driver properties support
* [HHH-4677] - implement PersistenceUnitInfo#getPersistenceXMLSchemaVersion(); and the same in PersistenceMetadata
* [HHH-4678] - Apply PersistenceUnitInfo#getSharedCacheMode and #getValidationMode
* [HHH-4690] - Consider adding a flag for legacy/new generators
* [HHH-4725] - implement orphanRemoval for OneToOne
* [HHH-4849] - Derived Identity: default @JoinColumn is not honored for properties linked to @MapsId
** Bug
* [HHH-3828] - Criteria: Restriction whith class does not work
* [HHH-4736] - Cannot pass ValidatorFactory into PersistenceProvider.createContainerEntityManagerFactory(PersistenceUnitInfo, Map)
* [HHH-4781] - When a read-only entity is refreshed it is changed to modifiable
* [HHH-4789] - Check annotations and entitymanager poms for consistent plugin configuration
* [HHH-4796] - NullPointerException when an @AssociationOverride joinColumn is set but no @AssociationOverride joinTable is on a given property
* [HHH-4797] - Backref properties should be ignored when building the JPA 2 metamodel (leading atm to java.lang.IllegalArgumentException: Cannot determine java-type from given member [null])
* [HHH-4804] - Entities in non-lazy associations loaded by a read-only HQL Query are not read-only
* [HHH-4805] - JPA 2 metamodel impl ignores nested generics
* [HHH-4806] - em.getTransaction.commit() does not always wrap in a RollbackException
* [HHH-4807] - not-null checking no longer applied even if Bean Validation is not present
* [HHH-4828] - Entities returned by Query...setReadOnly(true)...iterate() should be read-only
* [HHH-4834] - Exception in the metamodel population when raw types are used in collections
* [HHH-4843] - org.hibernate.ejb.util.LogHelper assumes javax.persistence.spi.PersistenceUnitInfo#getProperties is never null
* [HHH-4846] - NPE in AbstractIdentifiableType.checkDeclaredVersion
* [HHH-4847] - In nested id generators, use the context aka idObject for set operation and the raw entity as input for generation
* [HHH-4850] - Transaction commit throws RollbackException instead of PessimisticLockException
* [HHH-4851] - OneToOneSecondPass Metadata is mistakenly interpreted
* [HHH-4853] - 3.4.4.3 Lock Mode Properties and Uses, "Vendor-specific hints must be ignored if they are not understood. "
* [HHH-4855] - Incorrectly tries to search a secondary table when globally quoted identifiers are used
* [HHH-4858] - Implicitly add a cascade PERSIST when @MapsId is used
* [HHH-4859] - NPE when the entity uses a core-style "embedded" id (ie not an @IdClass nor an explicit @EmbeddedId)
* [HHH-4862] - quoted column/alias names not properly handled in org.hibernate.loader.EntityAliases
** Improvement
* [HHH-4552] - Support generated value within composite keys
* [HHH-4813] - annotation and entitymanager module should use the maven-injection-plugin to generate version string
* [HHH-4816] - Cleanup JPA setting name constants
** New Feature
* [HHH-2501] - Add capability to set a default read-only/modifiable setting for a session
* [HHH-2762] - SessionImplementor.getNonFlushedChanges()/applyNonFlushedChanges() API and initial implementation
* [HHH-4616] - Configure global/cache level JMX statistics from Hibernate configuration file
* [HHH-4726] - Add support for delete-orphan cascading to
* [HHH-4840] - Support embedded id properties like core
** Task
* [HHH-4792] - Validate fix for HHH-4791
* [HHH-4793] - Revert disabling of VersionsJoinTableRangeComponentNamingTest and fix underlying issue
* [HHH-4799] - Create a *unit* test that asserts SerializationHelper's ability to deser a class using an "isolated classloader" (aka a TCCL)
* [HHH-4822] - Add @FailureExpected annotation to annotations and entitymananger modules to allow the skipping of tests
* [HHH-4823] - Reorder modules in top level pom so that testsuite runs directly after core
* [HHH-4856] - Upgrade dependency to jpa metamodel generator
Changes in version 3.5.0-Beta-3 (2010.01.13)
-------------------------------------------
- http://opensource.atlassian.com/projects/hibernate/browse/HHH/fixforversion/10981
** Sub-task
* [HHH-4203] - Implement JPA 2.0 criteria apis (compiling)
* [HHH-4352] - implement @AttributeOverride for Map (key, value)
* [HHH-4353] - implement default column naming strategy for Collections and Map of basic types
* [HHH-4527] - Implement @j.p.Access support
* [HHH-4536] - Fix the mismatch between JPA 2's logical model and mapping.* physical model wrt t*toOne and *ToMany
* [HHH-4546] - add JPA 2.0 locking
* [HHH-4553] - Hibernate doesn't support official JPA2 escape char for table name
* [HHH-4584] - Query Language needs to support joins on embedded values
* [HHH-4598] - An embeddable class may contains collection of basic types or embeddable objects
* [HHH-4600] - Implements full support for JPA 2 Maps
* [HHH-4601] - implement orphanRemoval for *ToMany
* [HHH-4649] - support for in ORM.xml files
* [HHH-4654] - Criteria quries must support referencing parameters by name
* [HHH-4657] - support CascadeType.DETACH and em.detach()
* [HHH-4663] - Make sure CriteriaQuery is serializable
* [HHH-4665] - Implement emf.getPersistentUnitUtil().getIdentifier(Object)
* [HHH-4667] - Properly parse the new orm.xml xsd and persistence.xml xsd
* [HHH-4675] - Bean Validation ConstraintViolationException should trigger a tx rollback as per JPA's spec
* [HHH-4679] - Make sure @AssociationOverride support the dot notation (section 11.1.2)
* [HHH-4680] - Implement @AssociationOverride .value for Map value overriding (section 11.1.2)
* [HHH-4681] - Implement @AttributeOverride "key." or "value." for Maps
* [HHH-4682] - Check that @CollectionTable (or its absence) defaults to the right table/column names
* [HHH-4684] - Make sure @Lob works with @ElementCollection
* [HHH-4685] - Make sure bidirectional @*To* works from an embedded object to another entity
* [HHH-4686] - Implement @MapKeyEnumerated
* [HHH-4687] - implement @MapKeyTemporal
* [HHH-4688] - Make sure @OrderBy works for @ElementCollection
* [HHH-4689] - Make sure @OrderBy supports dotted notation to point to embedded properties
* [HHH-4692] - add the new orm_2_0.xsd file
* [HHH-4696] - Add persistence.xsd version 2
* [HHH-4724] - query.multiselect() on a CriteriaQuery returns List