Commit Graph

1404 Commits

Author SHA1 Message Date
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
Scott Marlow 2dc09fad41 HHH-7850 BulkAccessorFactory Java 7 verify error resolved by JASSIST-163 BulkAccessorFactory.java.diff2 patch from Shigeru Chiba. 2012-12-11 09:51:55 -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 d6de1d509a HHH-7849 Formatting 2012-12-10 14:17:18 -05:00
mgrenonville 419e440629 HHH-7849 Unable to join on an embedded field 2012-12-10 14:17:07 -05:00
Shawn Clowater 1286c2319c Changed the error handling for LazyInitializationException to go through the throwLazyInitializationException method so that the collection role is reported. 2012-12-07 12:23:34 -05:00
Barney 48afb82ea1 HHH-7826 - Generate 'unique' constraints in stable order 2012-12-07 11:41:09 -05:00
brmeyer f3dbacdf44 HHH-7839 Documentation bug at
SimpleNaturalIdLoadAccess.getReference(Object naturalIdValue)
2012-12-07 11:28:32 -05:00
brmeyer 08640663d4 HHH-7840 org.hibernate.id.IncrementGenerator very slow 2012-12-07 11:21:30 -05:00
Steve Ebersole 37bb7bb45e HHH-1168 - Problem combining locking and paging on Oracle
(cherry picked from commit 21ade0c798)
2012-11-30 12:18:56 -06:00
Steve Ebersole 08d5d994dc HHH-1168 - Problem combining locking and paging on Oracle
(cherry picked from commit 6e71a0907e)
2012-11-29 12:35:00 -06:00
Strong Liu a3a024ec34 HHH-7612 - rollback the chage in 4.1 branch 2012-11-28 23:24:49 +08:00
Steve Ebersole 87dd786b9a HHH-7825 - org.hibernate.type.descriptor.java.DataHelper is incompatible with FireBird JDBC
(cherry picked from commit caf2ee420c)
2012-11-26 17:51:18 -06:00
Steve Ebersole a4f6f3069d HHH-1168 - Problem combining locking and paging on Oracle
(cherry picked from commit dd280b8c27)
2012-11-26 13:20:46 -06:00
Steve Ebersole 70e7a1ff40 HHH-7823 - BatchFetchQueue.clear() does not clear batchLoadableCollections 2012-11-26 09:08:25 -06:00
Lukasz Antoniak d9e1a1c6e8 HHH-7612 - Fix and test
(cherry picked from commit 14d1c626a5)
2012-11-24 18:13:11 +01:00
Brett Meyer 4e154d66bd HHH-7819 Correct test issues found in CI hibernate-core-master-matrix
job
2012-11-21 14:41:24 -05:00
Brett Meyer a976af5b11 HHH-7819 Correct test issues found in CI hibernate-core-master-matrix
job
2012-11-21 14:41:13 -05:00
Steve Ebersole 94385b8656 HHH-7816 - DDL opertations will incorrectly commit current transaction on Oracle XA
(cherry picked from commit 5d2f21a01e)
2012-11-20 16:04:49 -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
brmeyer 00849bce2e HHH-7785 Reverting a few more Dialect supportsNotNullUnique changes 2012-11-14 11:02:32 -05:00
brmeyer e733e7dd79 HHH-7785 Reverting supportsNotNullUnique change in HSQL 2012-11-13 11:47:29 -05:00
Steve Ebersole b69c554f9e HHH-7643 - java.io.NotSerializableException org.hibernate.type.EnumType
(cherry picked from commit 2158bec47c)
2012-11-12 14:22:17 -06:00
Steve Ebersole 695213568d HHH-7780 - many envers tests are failing
(cherry picked from commit 07fc1627cd)
2012-11-12 13:54:26 -06:00
Steve Ebersole 26a42cb365 HHH-7777 - Deprecate XmlRepresentableType
(cherry picked from commit 5ef8a667ff)
2012-11-12 12:14:34 -06:00
Steve Ebersole 83e122773d HHH-7782 - Deprecate PersistentElementHolder, PersistentIndexedElementHolder, PersistentListElementHolder and PersistentMapElementHolder
(cherry picked from commit ec942edb48)
2012-11-12 09:33:22 -06:00
Steve Ebersole 778c82b512 HHH-7777 - Deprecate XmlRepresentableType
(cherry picked from commit bcd15dc0eb)
2012-11-12 08:56:48 -06:00
Strong Liu 0d2a967fc3 HHH-7773 - Backout HHH-7544 (Pull Request 379) 2012-11-11 23:26:53 +08:00
Steve Ebersole 0251d13adc HHH-7769 - Define short-names for built-in MultiTableBulkIdStrategy impls 2012-11-08 15:15:20 -06:00
Steve Ebersole 0ef75629b9 HHH-7768 - Names of invalid named queries incorrectly concatenated
(cherry picked from commit dffb86c52d)
2012-11-08 13:11:21 -06:00
Steve Ebersole 67b973dc52 HHH-7767 - JoinWalker creates ".." substring in association path
(cherry picked from commit 209763faa8)
2012-11-08 11:59:00 -06:00
Alex Kalashnikov 0f442db095 HHH-7767 JoinWalker creates ".." substring in association path
(cherry picked from commit 9f462834da)
2012-11-08 11:58:59 -06:00
Steve Ebersole e5f0db2455 HHH-7377 - NullPointerException in conjunction with natural IDs after Session.clear()
(cherry picked from commit 785e2d869e)
2012-11-08 10:00:44 -06:00
Steve Ebersole 502542d2b6 HHH-7757 - NOT IN row-value syntax ignores NOT
(cherry picked from commit 78483e6389b73416bc38ee54dd6a92bc2a4843a9)
2012-11-06 13:13:02 -06:00
Steve Ebersole f916d49aee HHH-7645 - Enum property defined within orm.xml using enum-type string does not work
(cherry picked from commit 4294e0faee)

Conflicts:

	hibernate-core/src/main/java/org/hibernate/mapping/SimpleValue.java
2012-11-06 11:33:13 -06:00
Steve Ebersole 76b2cd201f HHH-7748 - EnumType crashes because of unsupported JDBC API in Oracle
(cherry picked from commit 432dab3465)
2012-11-06 08:27:28 -06:00
Strong Liu d93b2bf9ab HHH-7725 - fixing failing test that not clean up statistic before using it 2012-11-01 14:05:27 +08:00
brmeyer 1fdba5d906 HHH-7725 unclosed Statement 2012-10-31 17:15:23 -04:00
brmeyer f16a55f99c HHH-5267 NPE when updating a detached entity with a one-to-one
association changed to null that is mapped with delete-orphan
2012-10-31 13:54:49 -04:00
Steve Ebersole cac22a3926 HHH-7725 - Make handling multi-table bulk HQL operations more pluggable
(cherry picked from commit 1b5088a911)
2012-10-31 12:42:50 -05:00
Steve Ebersole 87fe888ad5 HHH-7725 - Make handling multi-table bulk HQL operations more pluggable 2012-10-31 11:45:55 -05:00
Steve Ebersole 54d29f715b HHH-7725 - Make handling multi-table bulk HQL operations more pluggable
(cherry picked from commit 0ab36bed8c)
2012-10-31 11:29:15 -05:00
Steve Ebersole dbf5c3dcea HHH-7725 - Make handling multi-table bulk HQL operations more pluggable
(cherry picked from commit 9f0bbe10a6)
2012-10-31 11:29:15 -05:00
Steve Ebersole e32d7f277c HHH-7725 - Make handling multi-table bulk HQL operations more pluggable
(cherry picked from commit c94752d243)
2012-10-31 11:29:14 -05:00
Steve Ebersole e3239ae188 HHH-7725 - Make handling multi-table bulk HQL operations more pluggable
(cherry picked from commit df809231c5)
2012-10-31 11:29:14 -05:00
Steve Ebersole 2729d462c7 HHH-7725 - Make handling multi-table bulk HQL operations more pluggable
(cherry picked from commit 3e69b7bd53)
2012-10-31 11:29:13 -05:00
Steve Ebersole 1d9e45bc32 HHH-1570 - criteria-api: filtering by key-many-to-one causes invalid sql
(cherry picked from commit 3e3b439e02)
2012-10-30 12:27:29 -05:00
brmeyer 9a8d6955b0 HHH-7728 added null checks 2012-10-30 12:21:19 -04:00
Thorsten Schäfer a4f99386fb HHH-7728 Adapt hashcode to equals method 2012-10-30 12:21:15 -04:00
Thorsten Schäfer e66d98cd48 HHH-7728 Include schema and catalog in equals 2012-10-30 12:21:10 -04:00