Commit Graph

280 Commits

Author SHA1 Message Date
Steve Ebersole f22a8f627b HHH-8122 - Scrub known-sensitive settings from EMF.getProperties()
(cherry picked from commit bc85168015)

Conflicts:

	hibernate-entitymanager/src/main/java/org/hibernate/ejb/EntityManagerFactoryImpl.java
2013-03-29 12:55:39 -05:00
Brad Koehn 2758b8b494 HHH-7714 Add support for EntityMode.MAP to JPA Criteria API 2013-03-29 09:14:47 -05:00
Brett Meyer 1df99fc066 HHH-8096 Re-work the OSGi class loading concepts 2013-03-27 15:06:37 -04:00
Steve Ebersole 1a3c25aa8b HHH-8067 - Hibernate's ManagedType#getDeclaredAttribute fails to find plural attributes
(cherry picked from commit e5df5541c7)
2013-03-13 12:13:26 -05:00
Brett Meyer 03d48893cf HHH-7910 Transaction timeout can cause non-threadsafe session access by
reaper thread

Conflicts:
	hibernate-entitymanager/src/test/java/org/hibernate/ejb/test/transaction/TransactionJoiningTest.java
2013-03-08 13:10:07 -05:00
Brett Meyer ae978df496 HHH-8053 HibernateBundleActivator should not register itself as a
PersistenceProvider
2013-03-05 16:23:30 -05:00
Brett Meyer 5f38be4659 HHH-8010 Support app-managed EntityManagerFactory and SessionFactory creation by OSGi bundles 2013-02-28 09:22:37 -05:00
Brett Meyer 9c41bcb910 HHH-8001 Temporarily disabled failing tests 2013-02-22 14:38:24 -05:00
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