Commit Graph

272 Commits

Author SHA1 Message Date
Lukasz Antoniak 3a0c725cf3 HHH-6876 - Test case 2013-02-19 17:12:45 -05:00
Brett Meyer 7611a5055c HHH-7994 Improve OsgiClassLoader performance 2013-02-18 15:37:22 -05:00
Brett Meyer 94cbc61f04 HHH-7527 Enterprise OSGi JPA support 2013-02-14 11:04:35 -05:00
Lukasz Antoniak 6455107c6e HHH-7561 - Fix and test ( from Lukasz ) 2013-01-28 14:53:05 -05:00
Scott Marlow 603682937c HHH-7861 EntityManager.find() should return null instead of EntityNotFoundException (message improvement) 2013-01-24 11:10:08 -05:00
Scott Marlow 2f0bd59431 HHH-7861 EntityManager.find() should return null instead of EntityNotFoundException 2013-01-23 14:26:24 -05:00
Steve Ebersole 78d1a9f5be HHH-7912 - Define edge-case behavior for Session.evict
(cherry picked from commit c8b20660ed)
2013-01-08 21:40:33 -06:00
Strong Liu 923002fa50 impl new added method to make compiler happy 2013-01-08 13:38:31 +08:00
Steve Ebersole 5dadc5afd2 HHH-7667 - Investigate expanding bytecode enhancement support 2012-12-18 14:28:39 -06:00
Dustin Schultz 834bb03c96 HHH-7747 - Fixes CNFE regression for runtime field level class
enhancing. Also removes the usage of ClassPool.getDefault() and
creates a new ClassPool on each usage.

HHH-7747 - Add the entity class to the ClassPool to support modular
classloading like OSGI. Remove unused import in FieldTransformer.

HHH-7747 - Enhanced test to ensure that class enhancement sees all
classes of an entity. Added test to ensure that StackMapTables are
non-null for Javassist added methods.
2012-12-11 15:06:20 -05:00
brmeyer e0e922ab64 HHH-7849 correct imports 2012-12-10 14:31:57 -05:00
brmeyer c1e29a23fd HHH-7849 Cleaner fix. Added additional regression test.
Conflicts:
	hibernate-entitymanager/src/test/java/org/hibernate/jpa/test/criteria/components/ComponentCriteriaTest.java
2012-12-10 14:18:31 -05:00
brmeyer bcacfbd390 HHH-7835 Updated the largeJar test to be completely isolated
Conflicts:
	hibernate-entitymanager/src/test/java/org/hibernate/jpa/test/packaging/PackagingTestCase.java
2012-12-06 16:36:47 -05:00
brmeyer 94563b0468 HHH-7835 Inefficient implementation of
JarVisitorFactory.getBytesFromInputStream

Conflicts:
	hibernate-entitymanager/src/main/java/org/hibernate/jpa/packaging/internal/JarVisitorFactory.java
2012-12-06 15:17:33 -05:00
brmeyer 251c06a40d HHH-7835 Inefficient implementation of
JarVisitorFactory.getBytesFromInputStream

Conflicts:
	hibernate-entitymanager/src/main/java/org/hibernate/jpa/packaging/internal/JarVisitorFactory.java
	hibernate-entitymanager/src/test/java/org/hibernate/jpa/test/packaging/JarVisitorTest.java
	hibernate-entitymanager/src/test/java/org/hibernate/jpa/test/packaging/PackagingTestCase.java
2012-12-06 15:08:51 -05:00
Steve Ebersole b8b865e46a HHH-7233 - unmuck EntityManager#getSingleResult wrt auto-setting of max results
(cherry picked from commit 4785d7eb2e)
2012-11-26 10:36:29 -06:00
Steve Ebersole e9405fe031 HHH-1168 - Problem combining locking and paging on Oracle
(cherry picked from commit 4b2871cfba)

Conflicts:

	hibernate-core/src/main/java/org/hibernate/internal/StoredProcedureOutputsImpl.java
	hibernate-core/src/main/java/org/hibernate/loader/Loader.java
	hibernate-core/src/main/java/org/hibernate/loader/collection/DynamicBatchingCollectionInitializerBuilder.java
	hibernate-core/src/main/java/org/hibernate/loader/entity/DynamicBatchingEntityLoaderBuilder.java
	hibernate-entitymanager/src/main/java/org/hibernate/ejb/QueryImpl.java
2012-11-20 13:57:11 -06:00
Steve Ebersole 8c5c986d8d HHH-7407 - Second collection-valued IN expression throws QuerySyntaxExpression
(cherry picked from commit 2ecf840f0e)
2012-11-08 13:11:21 -06:00
brmeyer c5a7916010 HHH-6655 trim function on DB2 is broken 2012-10-09 11:51:27 -04:00
brmeyer fe57a0c636 HHH-6043 PostLoad method invoked before collection initialised 2012-09-26 00:33:01 -04:00
brmeyer 90a3859c27 HHH-6043 PostLoad method invoked before collection initialised 2012-09-26 00:24:49 -04:00
brmeyer ff76c1770a HHH-6043 PostLoad method invoked before collection initialised 2012-09-26 00:24:41 -04:00
Strong Liu c421d7014b HHH-6103 hibernate-entitymanager/src/test/java/org/hibernate/ejb/metamodel/Employee.java 2012-08-08 23:01:43 +08:00
Strong Liu cc7d8d8e08 HHH-7385 change to use gradle 1.1 2012-08-08 17:53:17 +08:00
Strong Liu d1af3ee6f1 HHH-7498 some tests were targeting to the H2 only but now runs on db matrix 2012-08-03 14:56:43 +08:00
Strong Liu 8815b7a200 HHH-7498 some tests were targeting to the H2 only but now runs on db matrix 2012-08-02 17:42:58 +08:00
Steve Ebersole f6fc21a133 HHH-6204 - JoinColumn on non key field fails to populate collection 2012-08-02 13:36:20 +08:00
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