Commit Graph

4272 Commits

Author SHA1 Message Date
Strong Liu 2b213dabc3 HHH-7298 regression, org.hibernate.ejb.test.lock.LockTest 2012-05-31 01:11:29 +08:00
Shawn Clowater 29103357a9 HHH-7292 - Changed the EntityEntry to check the CustomDirtynessStrategy first to determine if the entity needs to continue with the dirty check. Previously if the entity had mutable properties then it would bypass the custom dirty check.
To maintain legacy functionality still checking the mutable properties before checking the instrumented dirtyFlg (if applicable)

Added a Date property to the "Thing" test entity to verify that with mutable properties that the CustomDirtynessStrategy is still called.
2012-05-30 11:56:45 -05:00
Strong Liu fe7a5d74c5 HHH-7350 read-only entities can not be deleted from 2LC 2012-05-31 00:54:08 +08:00
Strong Liu a203ea65aa HHH-7350 read-only entities can not be deleted from 2LC 2012-05-31 00:54:08 +08:00
andrigtmiller 27df736412 HHH-7350 - Fixed up the unit tests, to allow the lock of the cache region for an access strategy of READ_ONLY. 2012-05-31 00:54:07 +08:00
andrigtmiller 665798339d HHH-7350 - removed overridden methods in ReadOnlyAccess lock/unlock an instance and/or region of the cache, since inserts and deletes are allowed with a CacheConcurrencyStrategy of READ_ONLY. 2012-05-31 00:54:07 +08:00
Lukasz Antoniak 8211c97ace HHH-7295 - Simplify ValidityAuditStrategy#perform() method 2012-05-30 18:49:40 +02:00
Steve Ebersole c8431ce5d9 HHH-5881 - Add getter for "namedParameters" to QueryKey 2012-05-30 11:04:00 -05:00
Strong Liu dddc959311 HHH-6846 lock timeout is in milliseconds 2012-05-30 23:32:17 +08:00
Strong Liu 860efbdff4 HHH-6846 lock timeout is in milliseconds 2012-05-30 23:27:37 +08:00
Strong Liu 0c1569c4f4 HHH-6846 lock timeout is in milliseconds 2012-05-30 23:25:33 +08:00
John Verhaeg d7910f6e2e Reverting test HBM file back to use DTD to allow for testing with both old and new metamodels 2012-05-30 09:43:47 -05:00
Steve Ebersole 06f0a13ee3 HHH-7295 - ParentAuditing Test in Envers Testsuite fails across different databases with different error messages because Hibernate does not set LockMode correctly 2012-05-30 08:55:20 -05:00
Steve Ebersole 835f4452eb HHH-7295 - ParentAuditing Test in Envers Testsuite fails across different databases with different error messages because Hibernate does not set LockMode correctly 2012-05-29 15:45:07 -05:00
Strong Liu ed266c593a HHH-6256 persistence.xml-specified javax.persistence.lock.timeout is ignored
HHH-6846 Support for Query.setHint(javax.persistence.lock.timeout)
2012-05-29 18:15:59 +08:00
Strong Liu 4266cd3585 HHH-7356 javax.persistence.lock.timeout hint is ignored by @NamedQuery 2012-05-29 17:44:09 +08:00
Strong Liu 5e3eb49ba3 HHH-7356 javax.persistence.lock.timeout hint is ignored by @NamedQuery 2012-05-29 17:32:59 +08:00
Guenther Demetz 2036d1479f hhh-7112 2012-05-29 17:04:44 +08:00
Strong Liu 32d36f6ea9 HHH-7356 add failure expected test 2012-05-29 16:58:28 +08:00
Lukasz Antoniak 51aa114224 HHH-7093 - Oracle does not support row value constructor syntax 2012-05-25 20:57:47 +02:00
Hardy Ferentschik 74300e6120 HHH-7351 Fixed wrong usage of index.getAnnotations and updates tests 2012-05-25 17:01:45 +02:00
Galder Zamarreño 61a8416463 ISPN-7350 Read only entities can be inserted and deleted 2012-05-25 10:29:47 +02:00
Gail Badner f4cb1846e4 HHH-7349 : Collections mapped with lazy=true are non-lazy 2012-05-24 12:02:42 -07:00
Gail Badner a76187ec29 HHH-7349 HHH-7344 : Element collection mapped with lazy=true is non-lazy; correct headers for metamodel tests 2012-05-24 11:14:03 -07:00
Lukasz Antoniak af554fe59b HHH-7093 - ValidityAuditStrategy behaviour depending on row value constractor feature 2012-05-23 21:32:47 +02:00
Steve Ebersole 7ed87233a9 HHH-7306 - Allow use of CurrentTenantIdentifierResolver in normal session opening 2012-05-23 11:49:38 -05:00
Steve Ebersole 09d2c0d3a2 HHH-7306 - Allow use of CurrentTenantIdentifierResolver in normal session opening 2012-05-23 11:22:46 -05:00
John Verhaeg 46ddcd8414 HHH-7328: Modified Binder to ensure referenced entity names are package-qualified 2012-05-23 10:50:32 -05:00
Steve Ebersole e1062cfa22 HHH-7348 - AbstractMultiTenantConnectionProvider not closing connections 2012-05-23 09:39:36 -05:00
Strong Liu 4b74517dcd HHH-7347 fail test if it runs longer than 30 minutes to prevent hangs 2012-05-23 22:11:46 +08:00
Strong Liu 7ed323a51f HHH-7345 rollback hibernate.properties 2012-05-23 22:08:43 +08:00
Strong Liu 9b501805c6 HHH-7345 add derby to the matrix testing suite 2012-05-23 21:31:35 +08:00
Strong Liu d92e91bb4d HHH-7346 Tests fail on Postgresql due to failure in typecasts 2012-05-23 21:28:57 +08:00
Strong Liu 1f467c01a4 HHH-7323 this test changes the Database Collation but not changed it back, which causes some other tests fail 2012-05-23 18:13:02 +08:00
Gail Badner 7ecdb53e31 HHH-7344 : Move src/matrix tests that use the new metamodel into src/test 2012-05-22 18:07:25 -07:00
Steve Ebersole db347c9de7 HHH-7074 - the replacement annotations of @Entity are not working 2012-05-22 16:13:21 -05:00
Emmanuel Bernard 04b62e1a54 HHH-7084 Do not use ClassLoaderServiceImpl classloader as parent classloader for synthetic ClassLoader 2012-05-21 10:59:09 +02:00
Gail Badner a82751cceb HHH-7327 : Caching access type should be determined using AccessType.fromExternalName(cacheElement.getUsage()) 2012-05-18 16:40:15 -07:00
Gail Badner aed88afe63 HHH-7322 : Remove test files that were inadvertantly added 2012-05-18 13:57:58 -07:00
Gail Badner 01ba4b71c7 HHH-7322 : Add support for one-to-many associations to new metamodel 2012-05-18 13:39:53 -07:00
Gail Badner 61f28dc3c0 HHH-7322 : Add support for one-to-many associations to new metamodel 2012-05-18 13:39:53 -07:00
Gail Badner 0a30003729 HHH-7265 : Test case to repro ConcurrentModificationException 2012-05-18 13:39:53 -07:00
Gail Badner ac5ef8108a HHH-7265 : Test case to repro ConcurrentModificationException 2012-05-18 13:39:53 -07:00
Steve Ebersole 481af0f37c HHH-7325 - Allow disabling XML validations via setting 2012-05-18 14:59:40 -05:00
Hardy Ferentschik 5a0f6628c9 HHH-7037 Adding 'AttributeBinding locateAttributeBinding(List<Value> values)' to AttributeBindingContainer in order to locate a attribute binding by its relational values 2012-05-18 19:32:21 +02:00
Hardy Ferentschik 2cd5752ffe HHH-7037 Adding toString implementation EntityHierarchyImpl (mainly for debugging)
Formatting, Javadocs and removal of obsolete methods
2012-05-18 19:32:21 +02:00
Steve Ebersole a046cc7a95 HHH-7325 - Allow disabling XML validations via setting 2012-05-18 12:18:42 -05:00
Strong Liu c341a3ba2c add timeout check to avoid hangs 2012-05-17 16:19:53 +08:00
Steve Ebersole 3791267442 pass all System properties passed to Gradle that happen to start with 'hibernate.' to the System properties of the tests it spawns 2012-05-16 11:59:22 -05:00
Steve Ebersole 93882f49dd HHH-6054 - Support for discriminator-based multi-tenancy 2012-05-16 09:53:14 -05:00