Commit Graph

4790 Commits

Author SHA1 Message Date
Strong Liu 81089bab2b HHH-7907 Bind filter 2013-01-06 23:54:00 +08:00
Strong Liu 0f954d3082 HHH-7907 Bind filter 2013-01-06 22:57:52 +08:00
Strong Liu fdbf788b65 HHH-7907 Bind filter 2013-01-06 22:54:06 +08:00
Strong Liu 87e19a2c3e HHH-7907 Bind filter 2013-01-06 22:48:44 +08:00
Strong Liu 4a567e04cb only create unique constraint for non-pk column 2013-01-06 14:32:25 +08:00
Strong Liu 18187f58ed HHH-7906 auto import unqualified entity name 2013-01-06 01:32:55 +08:00
Strong Liu 796cbc5924 HHH-7906 auto import unqualified entity name 2013-01-06 01:02:52 +08:00
Strong Liu b353410cb8 HHH-7906 auto import unqualified entity name 2013-01-06 01:00:12 +08:00
Strong Liu 524c94b384 HHH-7950 - natural id column should not be force not null 2013-01-06 00:40:46 +08:00
Strong Liu 925d52c995 fixing simple failing test 2013-01-06 00:23:11 +08:00
Strong Liu b22b688ef9 enable hibernate.format_sql property for testing 2013-01-05 22:39:34 +08:00
Strong Liu ff34a00485 HHH-7904 - uniform how to use NamingStrategy 2013-01-05 22:38:27 +08:00
Gail Badner f5e83567c5 HHH-7523 : Add support for key-many-to-one in composite IDs 2013-01-03 20:12:38 -08:00
Brett Meyer 34f34cecbe HHH-7900 Reverting accidental partial push
This reverts commit 48816a2c8a.
2013-01-03 16:57:58 -05:00
Brett Meyer 48816a2c8a HHH-7900 Began skeleton code for annotated M2M maps 2013-01-03 14:11:40 -05:00
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