Commit Graph

3856 Commits

Author SHA1 Message Date
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
Lukasz Antoniak c4822556c1 HHH-7187 - Enhanced default revision entity 2012-04-19 20:15:44 +08:00
Lukasz Antoniak 775b6da1db HHH-7187 - Fixing tests on Oracle 2012-04-19 20:15:43 +08:00
Emmanuel Bernard 75d684149d Fix style and add credit where it is due 2012-04-18 18:11:47 +02:00
Guenther Demetz 7abdf80ebe Natural-id : NullPointerException after persisting null String value, if using @NaturalIdCache 2012-04-18 12:15:23 +08:00
Bryan Varner 88e231f50b Sanity check (to return NONE) prevents null pointer exception on the switch() statment. 2012-04-18 10:55:21 +08:00
Galder Zamarreño 55de90ec42 HHH-7256 Use minimalPuts in Infinispan
putFromLoad now checks for minimalPuts to verify whether the entry
is already present in the cache. By doing this, Hibernate stats
appear more precise since putForExternalReads that are no-op because
the cache already contains the entry are not counted as puts. This
avoids confusion amongst users. This should be reverted to checking
PFER's return value when https://issues.jboss.org/browse/ISPN-1986
has been implemented.
2012-04-17 19:50:37 +02:00
Strong Liu a67c1afe10 HHH-7253 NPE thrown by NaturalIdResolutionCache 2012-04-17 11:18:36 +08:00
Strong Liu 5671de517d HHH-5043 Incorrect handling of hibernate.default_schema in SchemaUpdate 2012-04-14 00:32:56 +08:00
Galder Zamarreño a334b9f0af HHH-7238 Remove unneeded cache listeners 2012-04-13 18:09:51 +02:00
Strong Liu 5714a59e5e doc typo 2012-04-11 17:08:47 +08:00
Andre Azevedo 7ed63c282a Translating and correcting wrong white-spaces at the end of the string. 2012-04-10 16:50:38 +08:00
Strong Liu 9e53118c4e HHH-2697 - Can't use := for variable assignment within a SQL-Statement 2012-04-10 15:49:19 +08:00
Strong Liu 2e5d707307 update postgresql testing profile 2012-04-10 11:15:08 +08:00
Strong Liu 5068b8e808 HHH-7195 Table does not handle quoted catalog 2012-04-09 19:27:09 +08:00
Strong Liu 3f6e6339d9 HHH-7068 - Cursor state not valid error from AS400 2012-04-09 18:58:35 +08:00
nrodrigues 4270b4777f HHH-7068 - Fix for "Cursor state not valid" error from AS400 on queries
with setFirstResult.
2012-04-09 18:41:07 +08:00
Baptiste Mathus 280751e118 transactionel -> transactionnel 2012-04-09 17:20:16 +08:00
Gunnar Morling ef78e5c385 Fixing typos in exception message 2012-04-07 23:49:44 +03:00
Steve Ebersole e46d799bbe re-release 4.1.2 with 'Final' qualifier 2012-04-05 14:13:38 -05:00
Steve Ebersole 2c9949fe5d re-release 4.1.2 with 'Final' qualifier 2012-04-05 13:50:41 -05:00