Commit Graph

3976 Commits

Author SHA1 Message Date
Bryan Varner eb66fed976 HHH-7251 PostgreSQL dialects now convert proper HibernateExceptions for Deadlock / lock timeout (not available with NOWAIT query). 2012-05-02 17:17:42 -05:00
Guenther Demetz 0bca4ab9d9 testcase for HHH-7245 (Inline natural-id synchronization doesn't
consider objects loaded from shared cache)
2012-05-02 16:15:24 -05:00
Guenther Demetz 94cb6b82b5 HHH-7245 2012-05-02 16:14:10 -05:00
Guenther Demetz f5e6a44f7e HHH-7279 2012-05-02 15:54:32 -05:00
Guenther Demetz 94341fdc44 HHH-7278 testcases 2012-05-02 15:54:32 -05:00
Guenther Demetz bd5e97c201 HHH-7278 2012-05-02 15:54:32 -05:00
Steve Ebersole 23aa8875d8 HHH-7265 - ConcurrentModificationException in SynchronizationRegistryImpl.notifySynchronizationsAfterTransactionCompletion due to SynchronizationRegistryImpl.clearSynchronizations clearing SynchronizationRegistryImpl.synchronizations 2012-05-02 14:14:48 -05:00
Gail Badner 48665213ff HHH-7265 : added SessionOwner and SessionBuilderImplementor 2012-05-02 14:14:48 -05:00
Gail Badner 3a5b231187 HHH-7265 : ConcurrentModificationException in SynchronizationRegistryImpl.notifySynchronizationsAfterTransactionCompletion 2012-05-02 14:14:48 -05:00
Steve Ebersole a495479816 HHH-7239 - have session remove itself from list of transaction observers on close 2012-05-02 12:42:50 -05:00
Shawn Clowater 287c0eba88 Temporary fix until the SPIs can be reworked. Remove the transaction observer on Session close and added some checks to ensure the session is still open when the listeners fire. 2012-05-01 19:37:05 -05:00
Lukasz Antoniak 779e70df4d HHH-7187 - Fix ValidityAuditStrategyRevEnd tests 2012-04-29 13:27:28 +02:00
Steve Ebersole a2bbe3cb53 HHH-7282 - Move org.hibernate.cache.internal.Timestamper to hibernate-testing module 2012-04-27 10:51:50 -05:00
Steve Ebersole ebe578931c HHH-6405 - setFetchMode ignored in certain cases when using criteria queries 2012-04-27 08:48:09 -05:00
Strong Liu 01621d3bb5 HHH-7283 hibernate is not compilable on JDK7 2012-04-27 17:27:34 +08:00
Strong Liu 016ce8649e HHH-7281 Tests fail on Postgresql due to failure in typecasting 2012-04-27 16:44:59 +08:00
Steve Ebersole bfc8e6ec81 HHH-1512 - Problem to lock a row in a DB2 database with LockMode UPGRADE 2012-04-26 13:18:05 -05:00
Galder Zamarreño 6417ffa1a4 HHH-7280 Upgrade to Infinispan 5.1.4.FINAL 2012-04-26 16:56:47 +02:00
Strong Liu ae36824c93 add sybase 15.7 2012-04-26 00:38:53 +08:00
Steve Ebersole cedd3122d2 HHH-7276 - Regression allows entity to be looked up by previous natural id 2012-04-25 11:34:32 -05:00
Lukasz Antoniak f7708a9c6c HHH-7246 - Fix and test 2012-04-24 22:41:49 +02:00
Shawn Clowater 7fa7a51016 HHH-7239
Adding unit tests for the transaction coordinator when using shared transaction context.
One test to show that Sessions are leaked to the transaction observer, one to show that afterTransactionCompletion is not called on any session other than the main and finally one to show that the original session cannot be reused if child sessions were autoclose or flushBeforeCompletion.
2012-04-24 14:48:24 -05:00
Steve Ebersole e3e4968960 HHH-7250 - Bug in SharedCache handling of Natural-id 2012-04-24 13:54:24 -05:00
Steve Ebersole 279f545740 HHH-7272 - Have ClassLoaderServiceImpl use Class.forName rather than ClassLoader.loadClass 2012-04-24 12:23:34 -05:00
Steve Ebersole 98306dd4c1 HHH-7272 - Have ClassLoaderServiceImpl use Class.forName rather than ClassLoader.loadClass 2012-04-24 12:22:18 -05:00
Steve Ebersole 946f0297bb HHH-7237 - Inline natural-id synchronization doesn't consider reattached objects 2012-04-24 11:23:22 -05:00
Guenther Demetz 76504f128f HHH-7237 - Inline natural-id synchronization doesn't consider reattached objects 2012-04-23 21:55:14 -05:00
Guenther Demetz 572e78dce4 HHH-7237 - Inline natural-id synchronization doesn't consider reattached objects 2012-04-23 21:51:17 -05:00
Steve Ebersole d1a7495218 HHH-7235 - Support null NaturalId values in loadEntityIdByNaturalId query 2012-04-23 14:26:45 -05:00
Steve Ebersole 37b645999c HHH-7225 - NullPointerException after persisting null entity value as natural-Id 2012-04-23 13:27:14 -05:00
Steve Ebersole 60e92614be HHH-6405 - setFetchMode ignored in certain cases when using criteria queries 2012-04-23 12:05:56 -05:00
David Mansfield f12f2324c6 HHH-6405 setFetchMode ignored for some association types when using criteria queries
Re-unifie the two methods getJoinType in the CriteriaJoinWalker, using if/else to delegate to the correct super.getJoinType(...) method as appropriate.  This allows the proper handling for setFetchMode specified in the criteria translator to be applied correctly.
2012-04-23 11:04:39 -05:00
David Mansfield ed0a9fbc00 HHH-6405 test case for setFetchMode ignored using criteria queries 2012-04-23 11:04:39 -05:00
Strong Liu b78fb983f8 use junit defined in libraries 2012-04-23 21:35:58 +08:00
Lukasz Antoniak 6a7b70d4cc HHH-7187 - Fixing tests on Sybase 2012-04-22 12:50:23 +02:00
Lukasz Antoniak cfa729d8b3 HHH-6790 - Sequence per entity for enhanced SequenceStyleGenerator 2012-04-21 12:32:42 +02:00
Gail Badner fc068be040 HHH-7265 : Test case to repro ConcurrentModificationException 2012-04-20 17:55:27 -07:00
Steve Ebersole 3cd58b6e79 HHH-7266 - Move away from use of Enhydra developed DataSource for JTA testing 2012-04-20 18:59:06 -05:00
Steve Ebersole 70847a2331 HHH-7266 - Move away from use of Enhydra developed DataSource for JTA testing 2012-04-20 17:08:53 -05:00
Hardy Ferentschik 6cd7857daa Fixing typo 2012-04-20 17:48:09 +02:00
Hardy Ferentschik f08cbec42b Fixing typo 'grad;ew' instead of 'gradle' 2012-04-20 17:47:19 +02:00
Hardy Ferentschik 1335924dda Adding Quickstart to readme 2012-04-20 17:46:07 +02:00
Hardy Ferentschik 9a709fdfa0 Some updates of text and links 2012-04-20 17:38:07 +02:00
Lukasz Antoniak 95ec3457af HHH-7187 - Renaming and documenting enhanced revision entity 2012-04-19 23:49:41 +02:00
Lukasz Antoniak c41fee2a07 HHH-7187 - Moving AbstractEntityTest 2012-04-19 20:15:46 +08:00
Lukasz Antoniak c7aa99d0d3 HHH-7187 - New Envers base test classes 2012-04-19 20:15:46 +08:00
Lukasz Antoniak 7e6815c80c HHH-7187 - Enable USE_NEW_ID_GENERATOR_MAPPINGS 2012-04-19 20:15:45 +08:00
Lukasz Antoniak c76810ac47 HHH-7187 - Manual flush mode and @PrimaryKeyJoinColumn tests 2012-04-19 20:15:45 +08:00
Lukasz Antoniak b8e356f966 HHH-7187 - Fixing tests on PostgreSQL 2012-04-19 20:15:44 +08:00
Lukasz Antoniak 68dda2c242 HHH-7187 - H2 manual flush tests fix 2012-04-19 20:15:44 +08:00