Commit Graph

4238 Commits

Author SHA1 Message Date
Steve Ebersole ff14688d7c HHH-7746 - Investigate alternative batch loading algorithms
(cherry picked from commit 06b0faaf57)

Conflicts:

	hibernate-core/src/main/java/org/hibernate/cfg/Settings.java
	hibernate-core/src/main/java/org/hibernate/internal/util/collections/ArrayHelper.java
	hibernate-core/src/main/java/org/hibernate/loader/Loader.java
2012-12-18 20:18:46 -06:00
Steve Ebersole 30b3bd1564 HHH-7667 - Investigate expanding bytecode enhancement support 2012-12-18 14:28:39 -06:00
Steve Ebersole 5506a48bea HHH-7667 - Investigate expanding bytecode enhancement support 2012-12-18 14:28:39 -06:00
Steve Ebersole 93f4fe0668 HHH-7667 - Investigate expanding bytecode enhancement support 2012-12-18 14:28:39 -06:00
Steve Ebersole 5dadc5afd2 HHH-7667 - Investigate expanding bytecode enhancement support 2012-12-18 14:28:39 -06:00
brmeyer 29ae3debc6 HHH-7797 Corrected failing test that was exposed by src changes 2012-12-18 10:09:53 -05:00
brmeyer e629feee8a HHH-7797 Use unique indexes on nullable columns for DB2. Correctly
handle @UniqueConstraint table annotations on second passes.
2012-12-18 10:09:43 -05:00
brmeyer 2cd062058c HHH-7797 minor refactoring 2012-12-18 10:09:37 -05:00
brmeyer 98149d2534 HHH-7797 Finished auditing dialects. Cleanup and javadocs. Completed
uniqueness test.
2012-12-18 10:09:21 -05:00
brmeyer fa09bc2866 HHH-7797 initial test case 2012-12-18 10:09:09 -05:00
Brett Meyer 7254d465ae HHH-7797 Initial attempt at using UniqueDelegate within metamodel 2012-12-18 10:09:01 -05:00
brmeyer 1416126a00 HHH-7797 Finished first take on UniqueDelegate and rolled into .cfg and
.mapping
2012-12-18 10:08:54 -05:00
brmeyer 0a2b639808 HHH-7797 UniqueDelegate & DefaultUniqueDelegate 2012-12-18 10:08:36 -05:00
Brett Meyer 2ae841db66 HHH-7797 Block "unique" syntax on a column if a constraint can/will be
used
2012-12-18 10:08:28 -05:00
Galder Zamarreño c64b8bc4ae HHH-7871 Write cache should not using LOCAL flag
* Flags were not being applied in clustered environments because of
the use of classloader aware cache which was not forwarding them.
2012-12-18 09:45:19 +01:00
Brett Meyer 461a8db773 4.1.9.Final post release tasks 2012-12-13 11:11:48 -05:00
Brett Meyer ce58a838e3 4.1.9.Final release 2012-12-13 10:38:50 -05:00
Brett Meyer ce6410cd6a 4.1.9.Final release 2012-12-13 10:19:29 -05:00
Gail Badner 349d4ab36f HHH-7771 : Deprecate obsolete Type, AssociationType, and TypeFactory methods 2012-12-13 12:14:25 +08:00
Gail Badner 005cc6cd2a HHH-7771 : Deprecate obsolete Type, AssociationType, and TypeFactory methods 2012-12-13 12:14:14 +08:00
Gail Badner c6ef23a51c HHH-7860 : Log a warning when embed-xml attribute is used in mappings 2012-12-12 15:15:29 -08:00
Brett Meyer 1782a9dc84 HHH-7856 Deprecate TableHiLoGenerator and TableGenerator 2012-12-12 16:59:43 -05:00
Kamyar Sajjadi 4cdaae7a29 HHH-4562 - Fixed the typo in chapter 7.3.1. Added bigint after personId 2012-12-12 10:47:07 -05:00
Kamyar Sajjadi bc7a2c2d24 HHH-5973 - Replaced , with + in AuditInterceptor.java and in events.xml 2012-12-12 10:40:32 -05:00
Kamyar Sajjadi 3399e34acd HHH-7029 - prependListeners changed to appendListeners in chapter 7.9.1. Integrator use-cases example 2012-12-12 10:40:24 -05:00
brmeyer efc91b3352 HHH-7435 Performance bottleneck on Javassist 2012-12-11 18:26:24 -05:00
Scott Marlow 8b365d8ef5 HHH-7747 check if the code attribute is null when building the StackMapTable 2012-12-11 15:06:26 -05: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
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 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 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
brmeyer f4fc7f21a4 HHH-7811 grammar error in devguide for HB 2012-12-07 12:13:21 -05:00
Kamyar Sajjadi e204ac79db HHH-7813 - Fixed the mistakes in code examples. All the examples was in chapter 4 (Batch processing). 2012-12-07 12:09:40 -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
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 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 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 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