Commit Graph

3634 Commits

Author SHA1 Message Date
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
Strong Liu 6b2972884a HHH-6821 Upgrade to jboss-logging-tools 1.0.0.CR5 2011-11-16 15:22:17 +08:00
Strong Liu 8065f9affe HHH-6818 update dependencies management 2011-11-14 17:38:30 +08:00
Strong Liu 93f6ad6e2e HHH-6818 update dependencies management 2011-11-14 17:12:51 +08:00
renj c575f6e5f5 HHH-6807 skip this test for Sybase ASE 2011-11-14 13:08:13 +08:00
renj 937f395834 Skip empty clob test due to HHH-6425 2011-11-14 13:08:13 +08:00
renj 513b1baa62 HHH-6807 skip this test for Sybase ASE 2011-11-14 13:08:12 +08:00
renj ca2bd08997 Skip empty clob test due to HHH-6425 2011-11-14 13:08:12 +08:00
Steve Ebersole d44b0761be prep 4.0.0.CR6 2011-11-10 15:49:10 -06:00
Steve Ebersole fe2246a67b HHH-2403 : system independent newline handling 2011-11-10 14:58:49 -06:00
Steve Ebersole 7207098194 HHH-2403 : system independent newline handling 2011-11-10 14:55:14 -06:00
Steve Ebersole 3913b4d881 prep 4.0.0.CR6 2011-11-10 12:53:05 -06:00
Steve Ebersole 564cdac5cb HHH-6816 - Upgrade to jboss-logging 3.1.0.CR1 2011-11-10 12:42:57 -06:00
Lukasz Antoniak 92ae782653 HHH-2403 - ImportSqlCommandExtractor set from outside SchemaExport 2011-11-10 12:08:51 -06:00
Lukasz Antoniak 72b2af3b0a HHH-2403 - Documentation, formatting 2011-11-10 12:08:50 -06:00
Lukasz Antoniak 00e32f5e7f HHH-2403 - New configuration parameter, documentation 2011-11-10 12:08:50 -06:00
Lukasz Antoniak c6d616a8bf HHH-2403 - Improved import.sql 2011-11-10 12:08:50 -06:00
Emmanuel Bernard ebd24bbc87 HHH-6798 Upgrade to Hibernate Commons Annotations 4.0.0.Final 2011-11-10 17:49:28 +01:00
John Verhaeg 25e8a43d81 HHH-6815: Overrode SQLServerDialect.getSqlTypeDescriptorOverride(int) to return a SmallIntTypeDescriptor instead when the datatype being updated is a TINYINT 2011-11-09 12:52:51 -06:00
Steve Ebersole 8bb51c7acb HHH-5937 - @Enumerated(EnumType.STRING) not taken into account in an @Embeddable included in another @Embeddable 2011-11-09 10:05:17 -06:00