Commit Graph

4791 Commits

Author SHA1 Message Date
Brett Meyer f0af00b5a9 HHH-9054 QuoteTest violates unique key constraint on some DBs
Conflicts:
	hibernate-core/src/test/java/org/hibernate/test/quote/User.java
2014-03-17 15:15:43 -04:00
Brett Meyer 7c45e7eb15 HHH-9052 ASTParserLoadingTest.testBooleanPredicate fails on most
databases
2014-03-17 15:13:05 -04:00
Libor Ondrusek 9eaca501d9 HHH-9040 Added halt on error support for scripts importing
Conflicts:
	hibernate-core/src/main/java/org/hibernate/tool/hbm2ddl/SchemaExport.java
2014-03-12 17:04:37 -04:00
Brett Meyer 3cdb74b161 HHH-8374 test case 2014-03-12 16:22:44 -04:00
sndyuk cd14a5a473 HHH-8374: Treat an entity wrapped by hibernate proxy equals a raw entity 2014-03-12 16:22:42 -04:00
Julien Herr 0d4b9690f2 HHH-9039 Typo 2014-03-12 14:37:36 -04:00
bleporini 9cf6f6dfaa HHH-9039 Update collection_mapping.xml typos 2014-03-12 14:37:34 -04:00
Evan Severson e0c7a64e1b HHH-8815 Updated example code for session scoped interceptor 2014-03-12 13:23:06 -04:00
Jorgen Rydenius d8e4c51235 HHH-9037 Simplified debugging by improving the ClassCastException message from JavassistLazyInitializer. 2014-03-12 13:20:54 -04:00
Brett Meyer b755206924 HHH-9034 ASTParserLoadingTest fails with postgresplus92 2014-03-12 12:53:29 -04:00
Brett Meyer 3cd69af333 HHH-8739 corrected test 2014-03-10 14:41:04 -04:00
Steve Ebersole 57b5dccb78 HHH-8739 - Tracking of JTA Synch registration thread 2014-03-10 13:52:31 -04:00
Steve Ebersole 9d1563a817 HHH-8739 - Tracking of JTA Synch registration thread 2014-03-10 13:52:22 -04:00
Brett Meyer 768d02df4a HHH-9028 corrected Session#get for caching w/ polymorphism, improved
tests
2014-03-07 12:17:14 -05:00
Guillaume Smet 04c57c8a73 HHH-9028 Test case: when second level cache is enabled, the session returns the objects even if the class doesn't match 2014-03-07 12:17:12 -05:00
Brett Meyer 673fcaa932 HHH-8440 added mssql2012 to StandardDatabaseInfoDialectResolver
Conflicts:
	hibernate-core/src/main/java/org/hibernate/engine/jdbc/dialect/internal/StandardDatabaseInfoDialectResolver.java
2014-03-05 12:44:50 -05:00
Brett Meyer c64297bc06 HHH-8440 Support sequences with a new SQLServer2012Dialect 2014-03-05 12:42:57 -05:00
Brett Meyer d0eaa87fac HHH-7072 correcting test failure 2014-03-04 17:19:12 -05:00
Brett Meyer 677ac13458 HHH-7072 force recreation of element collections of components with all
nullable properties
Conflicts:
	hibernate-core/src/main/java/org/hibernate/type/ComponentType.java
	hibernate-core/src/test/java/org/hibernate/test/annotations/collectionelement/embeddables/withcustomenumdef/Location.java
2014-03-04 16:29:25 -05:00
Brett Meyer d22c60cc68 HHH-9017 correct HSQL pooled sequences
Conflicts:
	hibernate-core/src/main/java/org/hibernate/dialect/HSQLDialect.java
2014-03-04 09:56:53 -05:00
Brett Meyer b873e56c20 4.2.10.Final post release 2014-02-28 14:25:54 -05:00
Brett Meyer 6e272b79e7 4.2.10.Final release 2014-02-28 14:07:17 -05:00
Brett Meyer 1fe54cf7e6 HHH-9010: Revert "HHH-8961 Reduce allocation cost of org.hibernate.cache.spi.CacheKey"
This reverts commit a7910b19a4.
2014-02-28 14:01:21 -05:00
Brett Meyer 2e0f5a7998 HHH-9010: Revert "HHH-8961 corrected test failure"
This reverts commit 0c0519ebb3.
2014-02-28 14:01:04 -05:00
Brett Meyer b371422379 4.2.9.Final post release 2014-02-26 20:40:36 -05:00
Brett Meyer 90b338e567 4.2.9.Final release 2014-02-26 19:59:35 -05:00
Sanne Grinovero 6ba6ce14a9 HHH-9003 Avoid allocating arrays in most methods of ComponentType 2014-02-26 19:01:18 -05:00
Sanne Grinovero b12f2ecf44 HHH-8950 Avoid repeated array allocation for sqlTypes 2014-02-26 19:00:14 -05:00
Brett Meyer 419633432a HHH-8878 corrected id conflict in CoreMessageLogger 2014-02-26 18:55:19 -05:00
Sanne Grinovero 28738c1e20 HHH-8878 Remove some dead code 2014-02-26 18:32:53 -05:00
Sanne Grinovero b644b515ef HHH-8878 Avoid hot allocation in PooledLoOptimizer 2014-02-26 18:32:34 -05:00
Sanne Grinovero 03fa305667 HHH-8878 Fix logged message about PooledLoOptimizer being created 2014-02-26 18:32:26 -05:00
Sanne Grinovero 7b3f1408f3 HHH-9001 Unnecessary Stack object being allocated in org.hibernate.engine.internal.Cascade 2014-02-26 17:37:29 -05:00
Brett Meyer 8f52c614c3 Revert "HHH-8945 introduced "hibernate.session.initial_capacity" to reduce"
This reverts commit 09ea1b33f9.
2014-02-26 17:21:12 -05:00
Brett Meyer 14f757c87a Revert "HHH-8945 increased default map size"
This reverts commit 8e5e8d1b14.
2014-02-26 17:20:57 -05:00
Sanne Grinovero d910feee22 HHH-8990 Improve backwards compatibility of 4.2 branch by reintroducing the deleted NonFlushedChanges interface 2014-02-26 17:14:10 -05:00
Sanne Grinovero 1be3e2407c CheckStyle: Improve formatting of org.hibernate.event.spi.LoadEvent 2014-02-24 17:06:43 +00:00
Sanne Grinovero 5fa642ff72 HHH-8984 Reintroduce the previous EntityEntry constructor as a deprecated delegate (for stable branches only) 2014-02-24 16:33:07 +00:00
Sanne Grinovero db2a38f5e2 HHH-8984 Removing the tenantid from EntityEntry (not being used) 2014-02-24 16:25:14 +00:00
Sanne Grinovero 68113fb35b HHH-8984 EntityEntry slimming: remove EntityMode attribute 2014-02-24 16:12:49 +00:00
Sanne Grinovero 481f0e3c36 HHH-8991 Cache lookup of identifier Type and associated EntityPersister for each EntityType 2014-02-24 15:22:34 +00:00
Furkan Kamaci 0d253d8396 HHH-8989
Logic mismatch between AbstractQueryImpl and LimitHelper for setMaxResults(0) is fixed.
2014-02-20 14:50:30 -05:00
Brett Meyer 4fd94c1fd3 HHH-8983 log/clear Statement warnings on JdbcCoordinator#release
Conflicts:
	hibernate-core/src/main/java/org/hibernate/engine/jdbc/spi/SqlExceptionHelper.java
2014-02-18 22:10:20 -05:00
Brett Meyer 0c0519ebb3 HHH-8961 corrected test failure 2014-02-18 15:59:58 -05:00
Sanne Grinovero ec5987278d HHH-8977 Guess reasonable size for ArrayList and IdentitySet for Query
perform

Conflicts:
	hibernate-core/src/main/java/org/hibernate/engine/query/spi/HQLQueryPlan.java
2014-02-18 15:03:10 -05:00
Brett Meyer 8e5e8d1b14 HHH-8945 increased default map size
Conflicts:
	hibernate-core/src/main/java/org/hibernate/engine/internal/StatefulPersistenceContext.java
2014-02-18 14:54:42 -05:00
Sanne Grinovero 2df606036a HHH-8954 Avoid LockOptions allocation in LoadEvent unless strictly required 2014-02-18 14:50:02 -05:00
Sanne Grinovero a7910b19a4 HHH-8961 Reduce allocation cost of org.hibernate.cache.spi.CacheKey
instances

Remove tenantId field from CacheKey: use a different type when tenants
are needed. Also remove the Type as we should be able to rely on the
entityOrRoleName String.

Conflicts:
	hibernate-core/src/main/java/org/hibernate/cache/spi/CacheKey.java
2014-02-18 14:42:45 -05:00
Sanne Grinovero 0c5c980790 HHH-8939 Reduce contention on initialization of ColumnNameCache instances by loaders 2014-02-18 14:29:04 -05:00
Brett Meyer 09ea1b33f9 HHH-8945 introduced "hibernate.session.initial_capacity" to reduce
StatefulPersistenceContext's Map#resize calls

Conflicts:
	hibernate-core/src/main/java/org/hibernate/engine/internal/StatefulPersistenceContext.java
2014-02-12 13:31:09 -05:00