645 Commits

Author SHA1 Message Date
Scott Marlow
b76e7c4987 HHH-7454 added DEBUG log message 'PersistenceUnitUtil#isLoaded is not always accurate; consider using EntityManager#contains instead' 2012-07-18 11:02:27 -04:00
Rob Worsnop
dbff4c1839 HHH-2394 Got filters working on sub-classes. 2012-07-12 22:58:09 +08:00
Strong Liu
97ac8311d4 HHH-7426 Setting cacheable='true' in orm.xml does not enable caching of entity in 2lc 2012-07-12 15:00:44 +08:00
Strong Liu
973451d5e8 HHH-6304 HHH-6695 Error 'Cannot create TypedQuery for query with more than one return' with named queries 2012-07-12 11:53:27 +08:00
Steve Ebersole
7cda27b6aa cleanup missed references to matrix sourceSet 2012-06-08 08:08:13 -05:00
Steve Ebersole
bd7b54a4ea cleanup missed references to matrix sourceSet 2012-06-08 07:59:54 -05:00
Steve Ebersole
e6234bd2bd consolidate src/test and src/matrix 2012-06-07 14:11:03 -05:00
Steve Ebersole
d971317e1b HHH-6896 - Metamodel.managedType(...) implemented incorrectly 2012-06-05 15:02:24 -05:00
Steve Ebersole
9b1521c29a HHH-6896 - Metamodel.managedType(...) implemented incorrectly 2012-06-05 13:52:28 -05:00
Strong Liu
bf69f8a382 HHH-7298 regression, org.hibernate.ejb.test.lock.LockTest 2012-05-31 17:08:46 +08:00
Strong Liu
1de554b68a HHH-7298 regression, org.hibernate.ejb.test.lock.LockTest 2012-05-31 10:42:10 +08:00
Strong Liu
fe7a5d74c5 HHH-7350 read-only entities can not be deleted from 2LC 2012-05-31 00:54:08 +08:00
Strong Liu
dddc959311 HHH-6846 lock timeout is in milliseconds 2012-05-30 23:32:17 +08:00
Strong Liu
0c1569c4f4 HHH-6846 lock timeout is in milliseconds 2012-05-30 23:25:33 +08:00
Strong Liu
ed266c593a HHH-6256 persistence.xml-specified javax.persistence.lock.timeout is ignored
HHH-6846 Support for Query.setHint(javax.persistence.lock.timeout)
2012-05-29 18:15:59 +08:00
Strong Liu
4266cd3585 HHH-7356 javax.persistence.lock.timeout hint is ignored by @NamedQuery 2012-05-29 17:44:09 +08:00
Strong Liu
32d36f6ea9 HHH-7356 add failure expected test 2012-05-29 16:58:28 +08:00
Strong Liu
975877e5c7 fail test if timeout 2012-05-15 12:49:39 +08:00
Steve Ebersole
070ee532f5 HHH-7298 - regression, org.hibernate.ejb.test.lock.LockTest 2012-05-03 11:02:41 -05:00
Bryan Varner
8b40d71c84 Renamed the test case to be more consistent. 2012-05-02 17:17:42 -05:00
Bryan Varner
5c0d449082 Cleaned up the dialect error conversion a little bit for PostgresSQL. I was doing more than I needed to.
Updated the LockTest to enable another nowait test for postgresql.
2012-05-02 17:17:42 -05:00
Bryan Varner
cb1c485774 Yes, much cleaner... 2012-05-02 17:17:42 -05:00
Bryan Varner
c1849d56f6 Changing the test case to no longer fail when PersistenceException is thrown. This feels sooo wrong.
I know dialects aren't mapping lock exceptions properly, and this test case exposes that if you fail the test when PersistenceException is thrown. So what do I do now?

There are other tests in this very test class that don't fail the build when the wrong exception is thrown, even though they clearly should.
2012-05-02 17:17:42 -05:00
Bryan Varner
327002ab02 Adding a test case for HHH-7252. In this branch, the test case currently fails for PostgreSQL matrix tests, unless HHH-7251 is also applied. 2012-05-02 17:17:42 -05:00
Bryan Varner
089a36a260 HHH-7252
The code was a bit non-obvious (assignment in a method call argument) where it was being done, and the local variable (lockOptions) assignment was missing in the find() method implementation.
I changed all instances of lockOptions assignment to assign before the method call where it's required as an argument, ensuring proper scope for exception mapping.
2012-05-02 17:17:42 -05:00
Steve Ebersole
23aa8875d8 HHH-7265 - ConcurrentModificationException in SynchronizationRegistryImpl.notifySynchronizationsAfterTransactionCompletion due to SynchronizationRegistryImpl.clearSynchronizations clearing SynchronizationRegistryImpl.synchronizations 2012-05-02 14:14:48 -05:00
Gail Badner
3a5b231187 HHH-7265 : ConcurrentModificationException in SynchronizationRegistryImpl.notifySynchronizationsAfterTransactionCompletion 2012-05-02 14:14:48 -05:00
Gail Badner
fc068be040 HHH-7265 : Test case to repro ConcurrentModificationException 2012-04-20 17:55:27 -07:00
Steve Ebersole
3cd58b6e79 HHH-7266 - Move away from use of Enhydra developed DataSource for JTA testing 2012-04-20 18:59:06 -05:00
Strong Liu
d3b640cb75 HHH-7197 reimport imports 2012-03-26 16:17:45 +08:00
Strong Liu
e4a82a0b6b HHH-7197 - update build scripts to not use deprecated gradle apis and change manual's xml declation to use doc namespace 2012-03-26 15:12:10 +08:00
Steve Ebersole
8f7b8e10d0 HHH-7192 - NullPointerException in QueryTranslatorImpl on erroneously typed delete query 2012-03-20 19:24:46 -05:00
Steve Ebersole
e532dc5e7d HHH-7165 - count() query on classes using EmbeddedId should not use id column tuple on Dialects which dont support non-distinct tuple counts 2012-03-14 12:05:28 -05:00
Strong Liu
b51b2ff4cb HHH-7156 Make Hibernate ORM compile and run tests using JDK 7 (and JDK 6) 2012-03-13 21:58:48 +08:00
Strong Liu
b0f2658ecf HHH-6100 Bug fix related to CriteriaQuery (JPA) when using XML mappings 2012-03-06 23:04:32 +08:00
Strong Liu
ae5d030ae1 HHH-6100 Bug fix related to CriteriaQuery (JPA) when using XML mappings 2012-03-06 23:04:31 +08:00
Steve Ebersole
f26435dfec HHH-6589 - Skip non-JPA features populating JPA "static metamodel" 2012-03-02 10:16:04 -06:00
mam
f4c9b284a1 HHH-6589 - Skip non-JPA features populating JPA "static metamodel" 2012-03-02 10:15:41 -06:00
Steve Ebersole
7861fdee44 HHH-7067 - Update build to work with Gradle m8 2012-02-15 16:33:45 -06:00
Scott Marlow
608c2fadc8 HHH-7018 EntityManagerFactory should be serializable even if it references nonserializable objects and also changed the HHH-6897 fix to use a UUID for emf name 2012-02-08 15:22:48 -05:00
Eric Dalquist
1569e6194b HHH-6974 Complete second level caching of natural id resolution 2012-02-07 08:34:23 -06:00
Eric Dalquist
c473520585 HHH-6974 Class level naturalId cache and stats
Add class level @NaturalIdCache annotation to denote if second level natualId caching should be done
Flush out stats model for naturalId cache related stats
Add ehcache support classes for naturalId region
2012-02-07 08:34:23 -06:00
Eric Dalquist
72fe79a3f2 HHH-6974 Addition of NaturalIdRegion SPI
Adds NaturalIdRegion to RegionFactory
Adds creation of NaturalIdRegions to SessionFactoryImpl setup
Basic copy of collection cache region behavior for first pass at naturalId region support in ehcache
2012-02-07 08:34:23 -06:00
Steve Ebersole
30deb20ff1 HHH-6082 - Incorporate EntityManager documentation into main dev guide 2012-02-07 00:22:46 -06:00
Steve Ebersole
102c31497b HHH-6082 - Incorporate EntityManager documentation into main dev guide 2012-02-07 00:22:46 -06:00
Steve Ebersole
8352ab39fb HHH-6082 - Incorporate EntityManager documentation into main dev guide 2012-02-07 00:22:45 -06:00
Steve Ebersole
3cf41ee3dc HHH-6082 - Incorporate EntityManager documentation into main dev guide 2012-02-07 00:22:45 -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