Commit Graph

3753 Commits

Author SHA1 Message Date
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
Strong Liu 581061f442 HHH-6700 mysql test failures
JBPAPP-2613
2011-11-21 14:12:23 +08:00
Strong Liu ff9eb6d1b2 test need to be compiled in UTF-8 2011-11-21 10:16:30 +08:00
Strong Liu 62d50aa987 HHH-6820 Skip test org.hibernate.ejb.test.lock.LockTest.testContendedPessimisticLock for Sybase ASE15.5 2011-11-21 08:49:25 +08:00
Steve Ebersole d4e138eb13 HHH-6833 - Eable SQL logging for tests 2011-11-20 10:27:47 -06:00
Strong Liu 31ab12f86f HHH-5945 Race condition in building query cache 2011-11-19 23:58:14 +08:00
Hardy Ferentschik bcf81aa176 HHH-6819 Moving CommandExtractorService, MultiLineImportFileTest and SingleLineImportFileTest out of the matrix tests. The tests don't need to run against multiple dbs and the multi line tests are not portable as they are atm.
Also splitting properly source files from resources
2011-11-19 18:42:53 +08:00
Hardy Ferentschik 2f3c5d8904 HHH-6830 Using the registered SQLFunctions for the date function to render the right SQL fragment 2011-11-18 17:41:16 +01:00
Hardy Ferentschik 8bf9791254 HHH-6828 Taking case sensitivity into account when accessing the database metadata
Also extending the test and formatting the code.
2011-11-17 17:51:30 +01:00