2281 Commits

Author SHA1 Message Date
Steve Ebersole
bbd2f1ae5b HHH-4700 - ClassCastException with parameter in CaseNode.getFirstThenNode()
(cherry picked from commit efa5dc2f6ca1b4f20725e2d58d6afac00dff10b6)
2014-04-03 13:07:15 -05:00
Gail Badner
decb673bdd HHH-9089 : Test case that shows annotations on fields in nested embeddable collection elements are ignored 2014-03-27 20:01:39 -07:00
Steve Ebersole
33aeb4f7c2 HHH-8923 - Reconsider closing of ServiceRegistry instances
Conflicts:
	hibernate-core/src/main/java/org/hibernate/boot/registry/StandardServiceRegistryBuilder.java
2014-03-26 12:28:06 -04:00
Brett Meyer
2c88c3998b HHH-8923 corrected test case 2014-03-26 09:33:10 -04:00
Steve Ebersole
daf120b063 HHH-8923 - Reconsider closing of ServiceRegistry instances 2014-03-26 09:33:07 -04:00
Brett Meyer
1ec115c0d6 HHH-9078 correct OrderColumn indexes for inverse, extra lazy collections 2014-03-24 13:24:35 -04:00
Steve Ebersole
0e6ed807fb HHH-7971 - Enabling ENABLE_LAZY_LOAD_NO_TRANS results in trying to remove elements in collections
(cherry picked from commit 6f342358db3aa5618d60ec69f69f8c6cfb6eb611)
2014-03-21 13:32:00 -05:00
Alexander-Dukhno
50c12d98b2 HHH-7971 create regression test case for lazy loading with property ENABLE_LAZY_LOAD_NO_TRANS = true
(cherry picked from commit 30205607efb5b1253bc19ea025800fc9b6493ca8)
2014-03-21 13:31:42 -05:00
Guillaume Smet
a86acaf010 HHH-9072 Fix name property of LoadEventListener.RELOAD 2014-03-21 10:46:31 -05:00
Steve Ebersole
c5bdec20b9 HHH-9071 - Proxy narrowing loses the initialized state of the original proxy 2014-03-21 09:59:43 -05:00
Guillaume Smet
2cf52cc7f1 HHH-9071 When an already initialized proxy is narrowed, initialize the new proxy 2014-03-21 09:59:43 -05:00
Steve Ebersole
156bebd8a1 HHH-8816 - Unable to instantiate AttributeConverter: root cause of exception hidden 2014-03-20 09:47:54 -05:00
Steve Ebersole
d023c7c95c HHH-8816 - Unable to instantiate AttributeConverter: root cause of exception hidden 2014-03-20 09:33:00 -05:00
Steve Ebersole
1178e70034 HHH-1582 : post-commit listeners and failed transactions 2014-03-17 15:00:31 -05:00
Shawn Clowater
c6ca3a4ef2 HHH-1582 - Added explicit PostCommit(Insert|Delete|Update)EvenLister interfaces to allow for separation of success/fail handling in post commit events.
Maintained current behavior by having the Entity actions call the existing API unless using one of the new interfaces.  Added 2 test cases, 1 using the new interfaces and 1 using the existing interfaces.
2014-03-17 15:00:31 -05:00
Brett Meyer
ccdddf4682 HHH-9051 removing unnecessary System.out.println 2014-03-17 15:43:54 -04:00
Brett Meyer
a9c0fd3243 HHH-9057 Correct ObjectNameNormalizer for mssql-style quoting 2014-03-17 15:12:43 -04:00
Brett Meyer
514f096061 HHH-9056
OneToOneTest.testPkOneToOneSelectStatementDoesNotGenerateExtraJoin fails
on oracle and postresql
2014-03-17 15:12:43 -04:00
Brett Meyer
7b349a2be8 HHH-9054 QuoteTest violates unique key constraint on some DBs 2014-03-17 15:12:43 -04:00
Brett Meyer
1f3ff4ba95 HHH-9052 ASTParserLoadingTest.testBooleanPredicate fails on most
databases
2014-03-17 15:12:42 -04:00
Gail Badner
63881f137e HHH-9002 : Fetch many-to-many order by 2014-03-14 15:57:05 -07:00
Libor Ondrusek
7ca36585a9 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:17 -04:00
Brett Meyer
68918d29a3 HHH-8374 test case 2014-03-12 16:04:41 -04:00
sndyuk
a689354db6 HHH-8374: Treat an entity wrapped by hibernate proxy equals a raw entity 2014-03-12 16:01:58 -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
f51fead739 HHH-9010: Revert "HHH-8961 Reduce allocation cost of org.hibernate.cache.spi.CacheKey instances"
This reverts commit f69e1a6b9f5b69f9c6bd36854bd77f4a8854fe4b.
2014-02-28 14:00:26 -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 949adc92c23e64112129c72b2e849d9c12347da4.
2014-02-26 17:22:05 -05:00
Brett Meyer
927c2031d1 Revert "HHH-8945 increased default map size"
This reverts commit d3d2c4c5492e60c1bf3e5b5462943b4bc490027c.
2014-02-26 17:21:55 -05: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
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