Commit Graph

4483 Commits

Author SHA1 Message Date
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
root 556ca03e21 HHH-6054 - Support for discriminator-based multi-tenancy 2012-05-15 12:28:50 -05:00
Strong Liu 975877e5c7 fail test if timeout 2012-05-15 12:49:39 +08:00
Lukasz Antoniak 42b2939e7c HHH-6849 - JavaDoc update 2012-05-14 20:20:57 +02:00
Lukasz Antoniak f938a9d10e Typo in a comment 2012-05-13 20:51:19 +02:00
Lukasz Antoniak bff4a06214 HHH-6310 HHH-6728 HHH-7019 HHH-6950 - SQLServer getLimitString() correction 2012-05-13 20:33:14 +02:00
Strong Liu cf8bca6200 fixing test case, was a typo 2012-05-14 01:41:14 +08:00
Sanne Grinovero 3e9dadc6d9 memory adjustment 2012-05-13 11:24:22 +01:00
Sanne Grinovero 16d11f8422 Replace CollectionHelper.EMPTY_X with java.util.Collections.EMPTY_X 2012-05-13 11:24:02 +01:00
Gail Badner ce74c6aa3a HHH-7317 : Boolean values bound to parameters in SQL predicate cause failures using DB2 with deferPrepares = true 2012-05-11 15:55:34 -07:00
Gail Badner c533f215c5 HHH-7316 : Collection removal actions added by DefaultAutoFlushEventListener.onAutoFlush() are not removed when flush is not needed 2012-05-10 17:11:32 -07:00
John Verhaeg 4eb057f4de HHH-7224: Added metamodel support for Orderable and Sortable sources 2012-05-08 11:23:14 -05:00
Steve Ebersole 3cddb27d60 HHH-7198 - SQLServer2005Dialect.getLimitString turns tablenames to lowercase -> SQLGrammarException: when mapping tables with capital letters 2012-05-04 10:49:08 -05:00
Steve Ebersole 8e45457728 HHH-7298 - regression, org.hibernate.ejb.test.lock.LockTest 2012-05-03 11:02:41 -05:00
Steve Ebersole 070ee532f5 HHH-7298 - regression, org.hibernate.ejb.test.lock.LockTest 2012-05-03 11:02:41 -05:00
Lukasz Antoniak 007bbe45a9 HHH-7294 - Fixing test case 2012-05-03 14:42:25 +02:00
Strong Liu 2f0609819b HHH-7198 HHH-3961 2012-05-03 17:01:49 +08:00
Guenther Demetz 76ed4d44eb fixed testcases 2012-05-03 17:01:49 +08:00
Guenther Demetz 27f8a4bf93 HHH-7198 SQLServer2005Dialect.getLimitString turns tablenames
to lowercase
2012-05-03 17:01:48 +08:00
Guenther Demetz ea4125b026 Testcases for
HHH-3961 SQLServerDialect, support nowait in LockMode.UPGRADE_NOWAIT 
HHH-7198 SQLServer2005Dialect.getLimitString turns tablenames to
lowercase -> SQLGrammarException
2012-05-03 17:01:48 +08:00
Guenther Demetz d81f65715b Pull-request for HHH-3961 2012-05-03 17:01:48 +08:00
Gail Badner 606752f867 Update version to 4.1.4-SNAPSHOT 2012-05-02 23:51:04 -07:00
Gail Badner 9e1095cafa prep for 4.1.3.Final 2012-05-02 21:37:05 -07:00
Gail Badner 4e907b6e4c HHH-6848 : Performance Optimization of in memory merge algorithm (Wim Ockerman) 2012-05-02 20:24:09 -07:00
Gail Badner 62192827cc HHH-6848 : Performance Optimization of in memory merge algorithm (Wim Ockerman) 2012-05-02 20:24:09 -07:00
Gail Badner 71a0698226 HHH-6848 : Performance Optimization of in memory merge algorithm (Wim Ockerman) 2012-05-02 20:24:09 -07:00
Steve Ebersole 6ca09342f8 HHH-7296 - NPE in JtaTransaction#markRollbackOnly 2012-05-02 22:26:17 -05:00
Steve Ebersole a2a55d8ab6 HHH-7274 - Developer Guide reverses discussion of CMTTransactionFactory and JTATransactionFactory 2012-05-02 22:07:48 -05:00
Bryan Varner 8b40d71c84 Renamed the test case to be more consistent. 2012-05-02 17:17:42 -05:00
Bryan Varner 5c0d449082 Cleaned up the dialect error conversion a little bit for PostgresSQL. I was doing more than I needed to.
Updated the LockTest to enable another nowait test for postgresql.
2012-05-02 17:17:42 -05:00
Bryan Varner cb1c485774 Yes, much cleaner... 2012-05-02 17:17:42 -05:00
Bryan Varner c1849d56f6 Changing the test case to no longer fail when PersistenceException is thrown. This feels sooo wrong.
I know dialects aren't mapping lock exceptions properly, and this test case exposes that if you fail the test when PersistenceException is thrown. So what do I do now?

There are other tests in this very test class that don't fail the build when the wrong exception is thrown, even though they clearly should.
2012-05-02 17:17:42 -05:00
Bryan Varner 327002ab02 Adding a test case for HHH-7252. In this branch, the test case currently fails for PostgreSQL matrix tests, unless HHH-7251 is also applied. 2012-05-02 17:17:42 -05:00
Bryan Varner d28cb4c39f Added a test case for HHH-7251 2012-05-02 17:17:42 -05:00
Bryan Varner 089a36a260 HHH-7252
The code was a bit non-obvious (assignment in a method call argument) where it was being done, and the local variable (lockOptions) assignment was missing in the find() method implementation.
I changed all instances of lockOptions assignment to assign before the method call where it's required as an argument, ensuring proper scope for exception mapping.
2012-05-02 17:17:42 -05:00
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