Steve Ebersole
eb59e81bb9
HHH-6865 - PessimisticLockException should be thrown when pessimistic read and write locking strategies fail
2011-11-30 12:20:11 -06:00
Strong Liu
221d5f9ef6
HHH-6862 reduce the reference to IdentityMap
2011-11-30 14:26:38 +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
Scott Marlow
977dcd1b03
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
Strong Liu
f8e347dabd
HHH-6827 code format and javadoc, logging
2011-11-21 20:02:09 +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
Emmanuel Bernard
53cae7ace7
HHH-6799 Fix EntityManager relates test harness that was closing a ServiceRegistry it did not open
2011-11-03 21:20:28 +01:00
Emmanuel Bernard
19939cedf5
HHH-6799 Add a SessionFactoryObserver to close ServiceRegistries created by the bootstrap process
2011-11-03 21:20:27 +01:00
Strong Liu
368ef6713b
HHH-6773 test fails on sybase
2011-11-03 16:43:18 +08:00
Strong Liu
bec88716d6
HHH-6791 tiny improvement, in favor of java auto-box instead of create new instance
2011-11-02 14:16:02 +08:00
Gail Badner
11d8a8617f
HHH-6770 : Oracle reserved words used as column names
2011-10-26 14:42:17 -07:00
Gail Badner
a6a366678a
HHH-6770 : Oracle reserved words used as column names
2011-10-26 14:31:18 -07:00
Strong Liu
a9064790e3
HHH-6772 org.hibernate.ejb.test.BaseEntityManagerFunctionalTestCase overrides system properties
2011-10-26 14:21:18 +08:00
Strong Liu
5e668a039f
correct typo in doc
2011-10-20 02:01:23 +08:00
Strong Liu
036b9579d6
HHH-6742 move unit tests back to src/test
2011-10-18 22:17:13 +08:00
Strong Liu
98e68aab4b
HHH-6742 move unit tests back to src/test
2011-10-18 21:47:19 +08:00
Emmanuel Bernard
0aa3a7b608
Minor Javadoc updates
2011-10-12 14:50:50 +02:00
James Gilbertson
e05b3a6c38
HHH-4881: Added test for Path.type()
2011-10-09 14:36:25 +08:00
James Gilbertson
972aa060a6
HHH-4881: Keep track of the owning expression so we can get the path identifier
2011-10-09 14:36:24 +08:00
James Gilbertson
1b30c4a9f2
HHH-4881: Merged test case from HHH-5282
2011-10-09 14:36:24 +08:00
John Verhaeg
7d70a909c5
HHH-5419: Modified HQL rendering of COUNT function so that when a non-distinct entity with an ID is specified as a parameter, it renders a star instead of the ID attribute(s). This allows for greater support across DBs, since some do not support the previous rendering of multiple ID attributes when the ID happens to be a composite ID.
2011-10-03 00:42:55 -05:00
Strong Liu
a34c99a34c
HHH-6697 EntityManager.persist should through EntityExistsException instead of PersistenceException (from https://github.com/hibernate/hibernate-core/pull/178 )
2011-09-30 17:21:05 +08:00
Gail Badner
3c4ed4fe6b
HHH-5832 : JPA Query and IdClass Causing NullPointerException
2011-09-27 23:04:09 -07:00
Steve Ebersole
e14e47968f
HHH-6683 - Consolidate (consistency) building of service registries
2011-09-27 12:45:07 -05:00
Steve Ebersole
f4fa176255
HHH-6683 - Consolidate (consistency) building of service registries
2011-09-27 11:49:17 -05:00
Strong Liu
b552f70726
HHH-6675 upgrade dependencies
2011-09-26 00:29:13 +08:00
Strong Liu
6dc324fcef
HHH-6655 test case
2011-09-15 01:12:40 +08:00
Steve Ebersole
9f214d8018
HHH-6640 - Add ability for Integrator to prepare ServiceRegistryBuilder and MetadataImplementor as part of lifecycle
2011-09-13 18:46:28 -05:00
Emmanuel Bernard
102f9b3876
HHH-6084 Add tests for id strategy provider in hem
2011-09-07 12:25:11 +02:00
Emmanuel Bernard
9b2dedc681
HHH-6084 define id strategy provider in HEM (waiting for MetadataImpl replacement in 4.1)
...
Conflicts:
hibernate-entitymanager/src/main/java/org/hibernate/ejb/Ejb3Configuration.java
2011-09-07 12:25:11 +02:00
Strong Liu
1f2f7270db
HHH-6618 running hibernate functional test cases on DB matrix
2011-09-01 00:08:29 +08:00
Strong Liu
822ae2a135
HHH-6588 rollback to use "org.hibernate.SQL" category to log sql
2011-08-30 18:39:35 +08:00
Strong Liu
3b7bdb8ddc
HHH-6618 enable idea support for matrix sourceset
2011-08-30 15:20:51 +08:00
Strong Liu
e941eca2d5
HHH-6618 running hibernate functional test cases on DB matrix
2011-08-30 14:06:13 +08:00
Steve Ebersole
68f7d9b713
HHH-6586 - Document metamodel package as experimental and unsupported
2011-08-29 18:38:16 -05:00
Strong Liu
af0043ae6a
HHH-5789 Hibernate 3.5.4 doesn't build with OpenJDK 6b18-1.8.2 or greater
2011-08-20 10:58:39 +08:00
Strong Liu
77baa2aa64
HHH-5789 Hibernate 3.5.4 doesn't build with OpenJDK 6b18-1.8.2 or greater
2011-08-20 10:45:20 +08:00
Hardy Ferentschik
524443d848
HHH-6268 Fixing test errors caused by NullPointerExceptions and refactoring annotation processing code in EntityClass
2011-08-16 18:03:53 +02:00
JPAV
adf6271594
HHH-6268 Bound JPA callback methods to entities, including those defined by default listeners, and added new method to Integrator that handles MetadataImplementor instead of Configuration, modifying affected classes accordingly. BeanValidationIntegrator and EnversIntegrator still need to be implemented but require other portions of metamodel to be completed first.
2011-08-15 10:13:29 -05:00
Steve Ebersole
631286c77b
HHH-6503 - Develop Set-style plural attribute support for new metamodel
2011-07-29 16:43:33 -05:00
Steve Ebersole
7529dd8e81
HHH-6479 - Split notions of locating and creating an attribute
2011-07-22 14:27:35 -05:00
Steve Ebersole
acc93a3d8c
HHH-6447 - Develop shared binding creation approach
2011-07-20 15:38:57 -05:00
Andrew Lee Rubinger
a7f5bc1a7d
[HHH-6442] In the case a URL cannot be reconstructed due to MalformedURLException, use the one passed in (which will already have a URLStreamHandler association)
2011-07-18 10:35:44 +02:00