201 Commits

Author SHA1 Message Date
Hardy Ferentschik
da2eac71ed HHH-7037 Renaming ColumnValues to Column and adding support for JoinColumn
Renaming JpaCallbackClass to JpaCallbackSource
2012-02-10 17:32:00 -06:00
Steve Ebersole
383a130a9c HHH-7028 - Repackage org.hibernate.metamodel.source 2012-02-07 12:23:44 -06:00
Steve Ebersole
be840465d3 HHH-7028 - Repackage org.hibernate.metamodel.source 2012-02-07 11:16:11 -06:00
Strong Liu
6dfe24983c HHH-7006 keyword top causes test fail on ms sql server 2012-01-29 17:26:17 +08:00
Gail Badner
ebee6b731e HHH-6957 : Throw TransientPropertyValueException if there are unresolved entity insert actions after persist/save/merge listeners execute 2012-01-27 00:15:38 -08:00
Gail Badner
bb4738b1e4 HHH-5299 : Multi-Level cascading of unsaved instances with bidirectional associations fails with TransientObjectException 2012-01-26 19:33:37 -08:00
Steve Ebersole
830d4cd2ab HHH-5755 - javax.persistence.criteria.Expression.as() is broken 2012-01-25 22:25:40 -06:00
Guy Veraghtert
181496ac7c HHH-5755
Signed-off-by: Michael Rudolf <michael.rudolf01@sap.com>
2012-01-25 14:29:23 +01:00
Steve Ebersole
75bd6b319b HHH-5024 - MetadataContext#registerAttribute does not recognize inherited fields 2012-01-24 11:57:24 -06:00
Steve Ebersole
537481adbd HHH-6923 - Remove org.hibernate.service.instrumentation.spi.InstrumentationService 2012-01-23 14:49:23 -06:00
Steve Ebersole
7a31958ce4 HHH-6974 - Add caching to new "load access" api for natural id loading 2012-01-22 08:27:59 -06:00
Steve Ebersole
e75b8a77b1 HHH-6967 - HHH-6906 - Clean up javadoc warnings 2012-01-13 11:17:34 -06:00
edalquist
f74c5a7fa5 HHH-2879 Apply hibernate code templates and formatting 2012-01-12 16:15:19 -06:00
edalquist
eecee618c6 HHH-2879 Add ResolveNaturalId event, listener and entity persister api
HHH-2879 Adds ResolveNaturalIdEvent with listener and default impl
HHH-2879 Adds API to EntityPersister to get an entity's ID based on its natural-id
HHH-2879 Add unit test for initial verification of loading an entity by natural-id
2012-01-12 16:14:28 -06:00
Steve Ebersole
066fea02c7 HHH-5024 - MetadataContext#registerAttribute does not recognize inherited fields 2012-01-10 10:06:18 -06:00
Steve Ebersole
35ce5bfef7 HHH-5024 - MetadataContext#registerAttribute does not recognize inherited fields 2012-01-09 17:53:11 -06:00
Steve Ebersole
cc15ba3f58 HHH-5024 - MetadataContext#registerAttribute does not recognize inherited fields 2012-01-09 16:02:57 -06:00
Scott Marlow
76a3ad2021 HHH-6936 EntityManagerImpl.close() and EntityManagerImpl.isOpen() should check if the session factory is closed 2012-01-04 13:59:18 -05:00
Scott Marlow
5e3775afe8 HHH-6897 fix for 'registry contains more than one (2) entity manager factories: EMF_BaseEntityManagerFunctionalTestCase' failure 2012-01-04 13:59:17 -05:00
Steve Ebersole
ab94a18c33 HHH-6931 - Provide local database hook 2012-01-03 20:43:15 -06:00
Steve Ebersole
ea5cf961e1 HHH-6902 - Create typed query in EntityManager throws NullPointerException when filters are present 2011-12-30 22:12:23 -06:00
Scott Marlow
3d517d78f9 HHH-6897 test changes to ensure that HHH-6897 doesn't regress 2011-12-28 21:02:41 -05:00
Steve Ebersole
ef79491a8f HHH-6916 - Improper handling of primitive arrays in AbstractQueryImpl.registerParameterBinding 2011-12-26 11:10:42 -06:00
Steve Ebersole
097e157329 HHH-6916 - Not proper array-handling in AbstractQueryImpl.registerParameterBinding 2011-12-25 20:46:35 -06:00
Scott Marlow
e18d087592 HHH-6897 serialization of the EntityManager should be possible 2011-12-20 12:23:07 -05:00
Steve Ebersole
d02864bac6 HHH-6903 - add building of hem and manual docs 2011-12-16 09:13:45 -06:00
Gail Badner
af3767b82a HHH-6872 : Test failures with hibernate.jdbc.batch_versioned_data=true 2011-12-02 02:19:58 -08:00
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