Commit Graph

5499 Commits

Author SHA1 Message Date
Evan Severson bb622e167f HHH-8815 Updated example code for session scoped interceptor 2014-03-12 13:22:56 -04:00
Jorgen Rydenius 5a78f26d3b HHH-9037 Simplified debugging by improving the ClassCastException message from JavassistLazyInitializer. 2014-03-12 13:19:54 -04:00
Brett Meyer 8a4d736031 HHH-9034 ASTParserLoadingTest fails with postgresplus92 2014-03-12 12:52:54 -04:00
Brett Meyer 60f4e6cf28 HHH-9028 corrected Session#get for caching w/ polymorphism, improved
tests
2014-03-07 12:15:06 -05:00
Guillaume Smet 5d3ed89462 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 10:56:16 -05:00
Brett Meyer 11e918f39b HHH-9024 correct TypedValue transients during de-serialization 2014-03-06 12:15:11 -05:00
Brett Meyer 69e25f5280 HHH-7072 correcting test failure 2014-03-04 17:19:03 -05:00
Brett Meyer 171e214458 HHH-7072 force recreation of element collections of components with all
nullable properties
2014-03-04 16:29:17 -05:00
Brett Meyer fab8b3a04a HHH-9017 correct HSQL pooled sequences 2014-03-04 09:55:40 -05:00
Brett Meyer 94a490a04f 4.3.4.Final post release 2014-03-03 10:57:21 -05:00
Brett Meyer 9ec172f7a9 4.3.4.Final release 2014-03-03 10:55:02 -05:00
Brett Meyer b8ad87dd53 4.3.4.Final release 2014-03-03 10:25:01 -05:00
Brett Meyer b5f762c70b 4.3.3.Final post release 2014-02-28 15:34:08 -05:00
Brett Meyer fa3bcd1bda 4.3.3.Final release 2014-02-28 14:35:41 -05:00
Brett Meyer f51fead739 HHH-9010: Revert "HHH-8961 Reduce allocation cost of org.hibernate.cache.spi.CacheKey instances"
This reverts commit f69e1a6b9f.
2014-02-28 14:00:26 -05:00
Brett Meyer 8358914331 HHH-9010: Revert "HHH-8961 corrected test failure"
This reverts commit 0dc24f1081.
2014-02-28 14:00:02 -05:00
Brett Meyer fe30113b9d 4.3.2.Final post release 2014-02-27 16:13:24 -05:00
Brett Meyer c83cec884a (correction) 4.3.2.Final release 2014-02-27 15:54:38 -05:00
Brett Meyer cffeb311f7 4.3.3.Final release 2014-02-27 13:40:01 -05:00
Sanne Grinovero ac16473511 HHH-9003 Avoid allocating arrays in most methods of ComponentType 2014-02-26 19:01:28 -05:00
Sanne Grinovero 64f6ea7d61 HHH-8950 Avoid repeated array allocation for sqlTypes 2014-02-26 19:01:26 -05:00
Brett Meyer b840a9edc8 HHH-8878 corrected id conflict in CoreMessageLogger 2014-02-26 18:55:09 -05:00
Sanne Grinovero 0f4886d63a HHH-8878 Remove some dead code 2014-02-26 18:51:32 -05:00
Sanne Grinovero 8826c30371 HHH-8878 Avoid hot allocation in PooledLoOptimizer
Conflicts:
	hibernate-core/src/main/java/org/hibernate/id/enhanced/OptimizerFactory.java
2014-02-26 18:51:27 -05:00
Sanne Grinovero 5b2bd9aa48 HHH-8878 Fix logged message about PooledLoOptimizer being created
Conflicts:
	hibernate-core/src/main/java/org/hibernate/id/enhanced/OptimizerFactory.java
2014-02-26 18:47:52 -05:00
Sanne Grinovero 5475d9f964 HHH-9001 Unnecessary Stack object being allocated in
org.hibernate.engine.internal.Cascade

Conflicts:
	hibernate-core/src/main/java/org/hibernate/engine/internal/Cascade.java
2014-02-26 17:41:22 -05:00
Brett Meyer 84f6fde1b3 Revert "HHH-8945 introduced "hibernate.session.initial_capacity" to reduce"
This reverts commit 949adc92c2.
2014-02-26 17:22:05 -05:00
Brett Meyer 927c2031d1 Revert "HHH-8945 increased default map size"
This reverts commit d3d2c4c549.
2014-02-26 17:21:55 -05:00
Lukasz Antoniak 3b2a09d2e7 HHH-8968 - Fix and test by FiatLox 2014-02-24 22:18:08 +01:00
Sanne Grinovero 34a45c5722 CheckStyle: Improve formatting of org.hibernate.event.spi.LoadEvent 2014-02-24 17:06:28 +00:00
Sanne Grinovero 49e28ee34e HHH-8984 Reintroduce the previous EntityEntry constructor as a deprecated delegate (for stable branches only) 2014-02-24 16:51:14 +00:00
Sanne Grinovero 70a7c7a821 HHH-8984 EntityEntry slimming: remove EntityMode and tenantId fields 2014-02-24 16:47:29 +00:00
Sanne Grinovero 5bdef580bd HHH-8991 Cache lookup of identifier Type and associated EntityPersister for each EntityType 2014-02-24 15:24:07 +00:00
Furkan Kamaci de927ce547 HHH-8989
Logic mismatch between AbstractQueryImpl and LimitHelper for setMaxResults(0) is fixed.
2014-02-20 14:50:23 -05:00
Brett Meyer a7b4d6dcb2 HHH-8983 log/clear Statement warnings on JdbcCoordinator#release 2014-02-18 22:08:47 -05:00
Brett Meyer 0dc24f1081 HHH-8961 corrected test failure
Conflicts:
	hibernate-infinispan/src/test/java/org/hibernate/test/cache/infinispan/functional/cluster/EntityCollectionInvalidationTestCase.java
2014-02-18 16:00:56 -05:00
Sanne Grinovero 85e158d161 HHH-8977 Guess reasonable size for ArrayList and IdentitySet for Query perform 2014-02-18 15:01:28 -05:00
Brett Meyer d3d2c4c549 HHH-8945 increased default map size 2014-02-18 14:53:34 -05:00
Sanne Grinovero 11ab464d9b HHH-8954 Avoid LockOptions allocation in LoadEvent unless strictly required 2014-02-18 14:49:52 -05:00
Sanne Grinovero f69e1a6b9f 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.
2014-02-18 14:41:38 -05:00
Sanne Grinovero af5804a49c HHH-8939 Reduce contention on initialization of ColumnNameCache instances by loaders 2014-02-18 14:28:51 -05:00
Brett Meyer 949adc92c2 HHH-8945 introduced "hibernate.session.initial_capacity" to reduce
StatefulPersistenceContext's Map#resize calls
2014-02-12 13:27:11 -05:00
Andrej Golovnin bc8533366a HHH-8950 Avoid useless creation of an array in #getColumnSpan(Mapping). 2014-02-12 13:22:12 -05:00
Brett Meyer 61fb660907 HHH-8814 simplified the test a bit 2014-02-12 13:01:16 -05:00
Benoit GUERIN 6660bd8d37 HHH-8814 : test case 2014-02-12 13:01:14 -05:00
Benoit GUERIN 37c4e172af HHH-8814 : Sequence generators on HSQLDB starts on 1 by default 2014-02-12 13:00:57 -05:00
Brett Meyer fa707a7de7 HHH-8946 corrected bug in register(ResultSet, Statement), improved
javadoc
2014-02-11 15:16:23 -05:00
Sanne Grinovero f3da202b4c HHH-8946 Optimize JdbcCoordinatorImpl for CPU performance
- unnecessary HashMap lookups
- size HashMap allocations appropriately
- a leak of tracked statements
- complex logging logic
2014-02-11 14:54:17 -05:00
Sanne Grinovero 7f9dc27de9 HHH-8947 Refactor also the Alternative registry to use the new ConcurrentServiceBinding 2014-02-11 14:20:06 -05:00
Sanne Grinovero 324d5536e4 HHH-8947 Optimize performance of ServiceRegistry for intense lookup, small contents and almost no writes 2014-02-11 14:20:00 -05:00