Commit Graph

4775 Commits

Author SHA1 Message Date
Strong Liu 1cd75bbdd4 HHH-7894 failing test due to EntityNotFoundDelegate is not set to the SFbuilder 2012-12-28 17:20:57 +08:00
Strong Liu 2d43576045 HHH-7888 - Bind @OrderBy with empty value 2012-12-28 03:39:51 +08:00
Strong Liu 288823d2dd HHH-7893 - Refactoring Binder code 2012-12-27 13:36:09 +08:00
Gail Badner 0ddb9b914a HHH-6391 : Add support for joined attributes 2012-12-26 20:19:58 -08:00
Brett Meyer e4e8f5dc61 HHH-7436 Finished basic M2M annotation source element handling 2012-12-21 18:49:26 -05:00
Strong Liu 9831670567 HHH-7888 - Bind @OrderBy with empty value 2012-12-21 17:56:44 +08:00
Strong Liu ad6f5ae53f HHH-7887 - use JandexHelper.getEnumValue to get a enum value 2012-12-21 15:02:32 +08:00
Brett Meyer 44994c4c36 Post master->metamodel merge issues 2012-12-20 01:09:15 -05:00
Brett Meyer 160727eab4 HHH-7797 Updated for 5.0 metamodel 2012-12-20 01:08:53 -05:00
Brett Meyer c33fdae563 Merge remote-tracking branch 'origin/master' into metamodel
Conflicts:
	hibernate-core/src/main/java/org/hibernate/LockOptions.java
	hibernate-core/src/main/java/org/hibernate/cache/spi/entry/StructuredCacheEntry.java
	hibernate-core/src/main/java/org/hibernate/cache/spi/entry/StructuredCollectionCacheEntry.java
	hibernate-core/src/main/java/org/hibernate/cache/spi/entry/StructuredMapCacheEntry.java
	hibernate-core/src/main/java/org/hibernate/cache/spi/entry/UnstructuredCacheEntry.java
	hibernate-core/src/main/java/org/hibernate/cfg/SettingsFactory.java
	hibernate-core/src/main/java/org/hibernate/id/TableGenerator.java
	hibernate-core/src/main/java/org/hibernate/internal/CoreMessageLogger.java
	hibernate-core/src/main/java/org/hibernate/internal/SessionFactoryImpl.java
	hibernate-core/src/main/java/org/hibernate/metamodel/relational/Database.java
	hibernate-core/src/main/java/org/hibernate/metamodel/relational/Table.java
	hibernate-core/src/main/java/org/hibernate/metamodel/source/internal/HibernateTypeResolver.java
	hibernate-core/src/main/java/org/hibernate/metamodel/spi/relational/Index.java
	hibernate-core/src/main/java/org/hibernate/metamodel/spi/relational/UniqueKey.java
	hibernate-core/src/main/java/org/hibernate/persister/entity/AbstractEntityPersister.java
	hibernate-core/src/main/java/org/hibernate/type/ArrayType.java
	hibernate-core/src/main/java/org/hibernate/type/Type.java
	hibernate-core/src/test/java/org/hibernate/test/annotations/uniqueconstraint/UniqueConstraintTest.java
	hibernate-core/src/test/java/org/hibernate/test/component/basic2/ComponentJoinsTest.java
	hibernate-core/src/test/java/org/hibernate/test/criterion/CriterionTest.java
	hibernate-core/src/test/resources/org/hibernate/test/propertyref/inheritence/union/Person.hbm.xml
	hibernate-infinispan/src/test/java/org/hibernate/test/cache/infinispan/timestamp/TimestampsRegionImplTestCase.java
2012-12-20 00:09:45 -05:00
Gail Badner 0d09b5e35f HHH-7877 : Add support for multiple entity names used with the same Java class 2012-12-19 11:49:15 -08:00
Brett Meyer 0a17d4612a HHH-7872 corrected compiling issue 2012-12-19 14:48:59 -05:00
Brett Meyer 12c7ab93c3 HHH-7797 Simplified UniqueKey creation and corrected a couple of
@UniqueConstraint bugs.
2012-12-19 14:48:11 -05:00
Steve Ebersole 9c3998dade HHH-7872 - Improved L2 cache storage of "reference" data 2012-12-19 09:24:36 -06:00
Gail Badner 2bee7d5111 HHH-7877 : Add support for multiple entity names used with the same Java class 2012-12-18 17:24:55 -08:00
Steve Ebersole 2ff69d24c4 HHH-7872 - Improved L2 cache storage of "reference" data 2012-12-18 14:11:59 -06:00
Strong Liu 0c6ab56372 simple improvement, and a little bit refactor 2012-12-18 21:54:20 +08:00
Galder Zamarreño b0efdb4d14 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:44:45 +01:00
Strong Liu 88715216cb simple improvement, make util methods static 2012-12-18 16:26:19 +08:00
Gail Badner aaf8874b00 HHH-7874 : Lookup referenced attribute bindings by path instead of attribute name 2012-12-17 15:38:57 -08:00
brmeyer 1d5bf1608e HHH-7797 Corrected failing test that was exposed by src changes 2012-12-17 14:10:35 -05:00
brmeyer 41397f22d1 HHH-7797 Use unique indexes on nullable columns for DB2. Correctly
handle @UniqueConstraint table annotations on second passes.
2012-12-17 14:10:34 -05:00
Steve Ebersole b4e8c5a83b test asserting Hibernate handling of unclear jpa behavior wrt merging detached object with reference to transient object via non-cascaded association 2012-12-17 10:58:41 -06:00
Gail Badner afd3a15a1e HHH-7868 : Derived values as collection elements and indexes are not processed propely 2012-12-14 18:57:38 -08:00
brmeyer 9bec5d12ff HHH-7797 minor refactoring 2012-12-14 12:44:49 -05:00
brmeyer 49c8a8e4f0 HHH-7797 Finished auditing dialects. Cleanup and javadocs. Completed
uniqueness test.
2012-12-14 12:44:48 -05:00
brmeyer 962d1e580d HHH-7797 initial test case 2012-12-14 12:44:47 -05:00
Brett Meyer 7b05f4aed8 HHH-7797 Initial attempt at using UniqueDelegate within metamodel 2012-12-14 12:44:47 -05:00
brmeyer 4204f2c5fe HHH-7797 Finished first take on UniqueDelegate and rolled into .cfg and
.mapping
2012-12-14 12:44:46 -05:00
brmeyer 953aec40ad HHH-7797 UniqueDelegate & DefaultUniqueDelegate 2012-12-14 12:44:45 -05:00
Brett Meyer 3a995f574d HHH-7797 Block "unique" syntax on a column if a constraint can/will be
used
2012-12-14 12:44:45 -05:00
Strong Liu 9a462a7b31 HHH-7380 - union subclass support 2012-12-14 22:58:37 +08:00
Gail Badner cb4e92a98d HHH-7771 : Deprecate obsolete Type, AssociationType, and TypeFactory methods 2012-12-12 16:09:02 -08:00
Gail Badner 32e8765615 HHH-7771 : Deprecate obsolete Type, AssociationType, and TypeFactory methods 2012-12-12 16:09:02 -08:00
Gail Badner 2883cb85c3 HHH-7860 : Log a warning when embed-xml attribute is used in mappings 2012-12-12 16:06:03 -08:00
Brett Meyer dc3283f50a HHH-7856 Deprecate TableHiLoGenerator and TableGenerator 2012-12-12 16:16:31 -05:00
Kamyar Sajjadi 234c491523 HHH-4562 - Fixed the typo in chapter 7.3.1. Added bigint after personId 2012-12-12 10:47:23 -05:00
Kamyar Sajjadi c0011f1cc6 HHH-5973 - Replaced , with + in AuditInterceptor.java and in events.xml 2012-12-12 10:39:31 -05:00
Kamyar Sajjadi 669ec5002f HHH-7029 - prependListeners changed to appendListeners in chapter 7.9.1. Integrator use-cases example 2012-12-12 10:39:18 -05:00
brmeyer c8aa47ba22 HHH-7435 Performance bottleneck on Javassist 2012-12-11 18:03:06 -05:00
Scott Marlow b4e78a99e5 HHH-7747 check if the code attribute is null when building the StackMapTable 2012-12-11 16:36:26 -05:00
Scott Marlow d26730fb3f HHH-7850 minor test package changes 2012-12-11 16:31:14 -05:00
Dustin Schultz 58978a486f 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:27:50 -05:00
Scott Marlow 8463057b85 HHH-7850 BulkAccessorFactory Java 7 verify error resolved by JASSIST-163 BulkAccessorFactory.java.diff2 patch from Shigeru Chiba. 2012-12-11 10:34:36 -05:00
Strong Liu 1e1d373c08 HHH-7852 list does not have index type bound; causes NPE 2012-12-11 22:18:32 +08:00
Strong Liu 9b314b5a39 HHH-7852 list does not have index type bound; causes NPE 2012-12-11 21:16:38 +08:00
Strong Liu d1ba07080c HHH-7851 - basic collection is not indexable yet (annotaiton side) 2012-12-11 17:16:18 +08:00
brmeyer 598c6d3d25 HHH-7849 Cleaner fix. Added additional regression test. 2012-12-10 14:16:20 -05:00
brmeyer c75b045adc HHH-7849 Formatting 2012-12-10 14:15:53 -05:00
mgrenonville 02825e9fd6 HHH-7849 Unable to join on an embedded field 2012-12-10 13:35:12 -05:00