Commit Graph

3503 Commits

Author SHA1 Message Date
Strong Liu 221d5f9ef6 HHH-6862 reduce the reference to IdentityMap 2011-11-30 14:26:38 +08:00
Sanne Grinovero a947a2fc8d HHH-6863 make access to serviceBindingList threadsafe 2011-11-30 11:39:55 +08:00
Sanne Grinovero d158047287 HHH-6863 make serviceBindingMap threadsafe 2011-11-30 11:39:55 +08:00
Sanne Grinovero 7781cb0aa9 HHH-6862 final polish 2011-11-30 11:39:55 +08:00
Sanne Grinovero d12396ee37 HHH-6862 Reuse cached entryArray of IdentityMap in StatefulPersistenceContext as much as possible 2011-11-30 11:39:54 +08:00
Sanne Grinovero ad3afa4b7d HHH-6862 Switch to use Iterable from Iterator in IdentityMap helpers 2011-11-30 11:39:54 +08:00
Sanne Grinovero aa4954be8b HHH-6862 Improve API of IdentityMap helpers to match actual use cases 2011-11-30 11:39:54 +08:00
Sanne Grinovero 67d1c70335 HHH-6862 Use generic Maps for more StatefulPersistenceContext fields 2011-11-30 11:39:54 +08:00
Sanne Grinovero f98e15e15f HHH-6862 Use generic Map for StatefulPersistenceContext.entityEntries 2011-11-30 11:39:54 +08:00
Sanne Grinovero ddb3a8cd18 HHH-6858 reuse reference to PersistenceContext 2011-11-30 11:39:54 +08:00
Sanne Grinovero fb0255a87a HHH-6858 non-intrusive performance improvements 2011-11-30 11:39:53 +08:00
Strong Liu 9e45ec3baf HHH-6852 DB2 doesn't support exists in select 2011-11-30 11:00:04 +08:00
Strong Liu d7f3042e5b HHH-6851 DB2 doesn't support NotNullUnique causes org.hibernate.test.annotations.uniqueconstraint.UniqueConstraintTest.testUniquenessConstraintWithSuperclassProperty fail 2011-11-30 11:00:04 +08:00
Emmanuel Bernard b42d5f7691 HHH-6860 Upgrade dependency to Hibernate Commons Annotations 4.0.1.Final 2011-11-29 19:04:16 +01:00
Steve Ebersole f690d8e28b HHH-5992 - A query fails to return correct results silently 2011-11-29 11:50:59 -06:00
Steve Ebersole bcc60208e3 HHH-6856 - RowValueConstructorSyntax with In syntax is not working 2011-11-29 10:07:11 -06:00
Strong Liu eca04896c9 HHH-6856 RowValueConstructorSyntax with In syntax is not working 2011-11-29 09:18:17 -06:00
Steve Ebersole 9a7924d9bc HHH-6780 - Wrong Query timeout calculation 2011-11-28 17:39:26 -06:00
Steve Ebersole d00c9c85d8 Merge branch 'HHH-6068' of https://github.com/lukasz-antoniak/hibernate-core into lukasz-antoniak-HHH-6068 2011-11-28 16:17:45 -06:00
Steve Ebersole 78f86319df HHH-6842 - Skip org.hibernate.test.annotations.manytoonewithformula.ManyToOneWithFormulaTest#testManyToOneFromNonPkToNonPk for DB2 2011-11-28 14:44:16 -06:00
Strong Liu dd5074b9b2 rewrite matrix plugin readme 2011-11-27 22:53:41 +08:00
Strong Liu 1f11f78074 HHH-6853 upgrade to jboss-logging 3.1.0.CR2 2011-11-26 16:29:01 +08:00
Hardy Ferentschik 6e433d5f85 HHH-6849 Fixing assert in SQLServer2005DialectTestCase#testGetLimitString since order of column has changes. Also got rif of additional unnecessary whitespace 2011-11-26 00:55:57 +08:00
Hardy Ferentschik 06952b533e HHH-6849 Append _ROW_NUMBER()_ instead of prepending it 2011-11-26 00:55:57 +08:00
Hardy Ferentschik 20141cae87 HHH-6849 Formatting and adding actual assertions to testOffset(). This is not addressing the SQLServer issue yet. 2011-11-26 00:55:57 +08:00
Strong Liu 8114e9c5ae HHH-6850 no Types.BINARY mapping in DB2 dialect 2011-11-26 00:03:00 +08:00
Strong Liu 341acf5949 JBPAPP-2613 2011-11-25 16:09:47 +08:00
Strong Liu 8c868aa513 HHH-6820 Skip test org.hibernate.ejb.test.lock.LockTest.testContendedPessimisticLock for Sybase ASE15.5 2011-11-25 14:25:05 +08:00
Hardy Ferentschik 873517a46f HHH-6843 Second transaction should not commit before the first one 2011-11-25 13:30:33 +08:00
Hardy Ferentschik ab111b6018 HHH-6843 Updating LockTest to be less aggressive and more inline with actual isolation requirements
The actual changes are in the refactoring of LockTest#testContendedPessimisticLock which got split up into several methods and has the asserts changed

The formatting changes fix some generics warning and indentation. Used to be two separate commits, but after some git screw-up became one now
2011-11-25 13:30:33 +08:00
Hardy Ferentschik c520a81990 HHH-6843 Increasing the lock timeout. The default timeout is very low (see http://stackoverflow.com/questions/4162557/timeout-error-trying-to-lock-table-in-h2)
Turns out that at least one test (LockTest) passed due to combination of an uncaught TimeoutException + wrong assumptions. Increasing the timeout seems also more realistic in comparison to other databases.
2011-11-25 13:30:33 +08:00
Sanne Grinovero d382e70b65 formatting: use tabs 2011-11-24 11:23:02 +00:00
Sanne Grinovero f5702548bb HHH-6845 Avoid repeated invocations of ReflectHelper.overridesEquals in proxy initializers 2011-11-24 11:23:02 +00:00
Sanne Grinovero b4e65a0c79 HHH-6845 small polish: use final when possible 2011-11-24 11:23:02 +00:00
Scott Marlow 977dcd1b03 HHH-5222 upgrade from READ to OPTIMISTIC_FORCE_INCREMENT fails 2011-11-23 17:33:44 -05:00
Scott Marlow 4c6330b535 HHH-5222 upgrade from READ to OPTIMISTIC_FORCE_INCREMENT fails 2011-11-23 17:33:44 -05:00
Scott Marlow e044cb2ce1 LockTest changes: better handling of unexpected exception and don't call commit after timing out 2011-11-23 10:42:15 -05:00
Alessandro Lazarotti 3c11500618 JBPAPP-7491 , JBPAPP-7488 , HHH-6806 Add support for vfsfile and vfszip in JarVisitor
The method getVisitor(URL jarUrl, Filter[] filters, String entry) does not have conditionals for protocols vfs based,
like vfszip or vfsfile. It returns an InputStreamZippedJarVisitor implementation for both protocols. If it is a vfszip,
it will work, but will not not for vfsfile. The fix includes vfszip and vfsfile to JarVisitorFactory, so it can return
FileZippedJarVisitor (more efficient than InputStreamZippedJarVisitor) for vfszip and ExplodedJarVisitor for vfsfile
2011-11-23 12:56:10 +01:00
Sanne Grinovero 6c7379c38f HHH-6817 Logging of strings containing the percent character broken 2011-11-23 11:51:35 +01:00
Gail Badner 0fc95e54b3 HHH-5472 : Add test case with circular non-nullable associations 2011-11-23 02:48:02 -08:00
Gail Badner 52969e9561 HHH-5472 : Test case for delaying saving an entity with non-nullable transient entities 2011-11-22 23:31:57 -08:00
Strong Liu ba764816b9 HHH-6827 correct testing 2L cache impl, mostly are copied from ehcache impl 2011-11-21 20:09:34 +08:00
Strong Liu 15a46a9661 HHH-6827 correct testing 2L cache impl, mostly are copied from ehcache impl 2011-11-21 20:09:15 +08:00
Strong Liu 6c6e9669c1 HHH-6827 correct CMTTest expectation value 2011-11-21 20:07:51 +08:00
Strong Liu 8a800a1bc0 HHH-6827 correct timeout in BaseRegion 2011-11-21 20:04:41 +08:00
Strong Liu 17bf50226b HHH-6286 UpdateTimestampsCache should try to avoid acquiring lock if possible 2011-11-21 20:03:24 +08:00
Strong Liu f8e347dabd HHH-6827 code format and javadoc, logging 2011-11-21 20:02:09 +08:00
Strong Liu c4776e2a92 HHH-6836 some test failures on Oracle 2011-11-21 19:53:09 +08:00
Strong Liu b2ba384254 HHH-6834 skip test BasicOperationsTest on oracle due to a oracle jdbc driver issue 2011-11-21 15:47:48 +08:00
Strong Liu a250fd6513 HHH-6700 mysql test failures 2011-11-21 14:38:38 +08:00