1340 Commits

Author SHA1 Message Date
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
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
Strong Liu
c341a3ba2c add timeout check to avoid hangs 2012-05-17 16:19:53 +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
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
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
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
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
d28cb4c39f Added a test case for HHH-7251 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
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
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
Steve Ebersole
cedd3122d2 HHH-7276 - Regression allows entity to be looked up by previous natural id 2012-04-25 11:34:32 -05: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