Commit Graph

287 Commits

Author SHA1 Message Date
John Verhaeg d7c4128826 HHH-7474: Added @FailureExpectedWithNewMetamodel annotation to all remaining tests that fail with the new metamodel, but still a couple of strange failures happening with some Envers tests. 2012-07-26 15:32:19 -05:00
Steve Ebersole 42a3061f3e Merge branch 'master' into metamodel
Conflicts:
	hibernate-core/src/main/java/org/hibernate/engine/spi/NamedQueryDefinition.java
	hibernate-core/src/main/java/org/hibernate/internal/SQLQueryImpl.java
	hibernate-core/src/main/java/org/hibernate/internal/SessionFactoryImpl.java
	hibernate-core/src/main/java/org/hibernate/loader/custom/sql/SQLQueryReturnProcessor.java
	hibernate-core/src/main/java/org/hibernate/metamodel/internal/source/annotations/AnnotationBindingContextImpl.java
	hibernate-core/src/main/java/org/hibernate/metamodel/internal/source/annotations/global/QueryProcessor.java
	hibernate-core/src/main/java/org/hibernate/metamodel/internal/source/hbm/CompositePluralAttributeElementSourceImpl.java
	hibernate-core/src/main/java/org/hibernate/metamodel/internal/source/hbm/MappingDocument.java
	hibernate-core/src/main/java/org/hibernate/metamodel/internal/source/hbm/TimestampAttributeSourceImpl.java
	hibernate-core/src/main/java/org/hibernate/metamodel/internal/source/hbm/VersionAttributeSourceImpl.java
	hibernate-core/src/main/java/org/hibernate/metamodel/source/annotations/entity/EntityBindingContext.java
	hibernate-core/src/main/java/org/hibernate/metamodel/source/hbm/ComponentAttributeSourceImpl.java
	hibernate-core/src/main/java/org/hibernate/metamodel/source/hbm/HibernateMappingProcessor.java
	hibernate-core/src/main/java/org/hibernate/metamodel/spi/domain/Composite.java
	hibernate-core/src/main/java/org/hibernate/metamodel/spi/source/BindingContext.java
	hibernate-core/src/main/java/org/hibernate/persister/collection/AbstractCollectionPersister.java
	hibernate-core/src/main/resources/org/hibernate/hibernate-mapping-4.0.xsd
	hibernate-core/src/test/java/org/hibernate/metamodel/spi/binding/SimpleValueBindingTests.java
	hibernate-entitymanager/src/main/java/org/hibernate/ejb/AvailableSettings.java
	hibernate-entitymanager/src/main/java/org/hibernate/jpa/internal/event/CallbackResolver.java
2012-07-19 15:50:50 -05:00
Steve Ebersole 30d8fdaa8b HHH-7451 - Integrate Draft 7 of the JPA 2.1 spec : more ejb->jpa rename 2012-07-18 18:05:06 -05:00
Steve Ebersole cb13cea1ac HHH-7387 - Integrate Draft 6 of the JPA 2.1 spec + HEM boot cleanup (HHH-6159) 2012-07-18 17:48:59 -05:00
Lukasz Antoniak ffa9cf5768 HHH-5565 - Fix and test 2012-06-17 15:26:11 +02:00
Steve Ebersole 159b81f680 Merge branch 'master' into metamodel 2012-06-08 08:01:46 -05:00
Steve Ebersole bd7b54a4ea cleanup missed references to matrix sourceSet 2012-06-08 07:59:54 -05:00
Steve Ebersole 986b66eb18 Initial merge from master to metamodel 2012-06-07 16:12:32 -05:00
Steve Ebersole b0bdda1141 consolidate src/test and src/matrix 2012-06-07 14:12:06 -05:00
Lukasz Antoniak 77d83b8a10 HHH-5411 - Fix and test 2012-06-07 14:08:15 +02:00
Lukasz Antoniak 8211c97ace HHH-7295 - Simplify ValidityAuditStrategy#perform() method 2012-05-30 18:49:40 +02:00
Steve Ebersole 06f0a13ee3 HHH-7295 - ParentAuditing Test in Envers Testsuite fails across different databases with different error messages because Hibernate does not set LockMode correctly 2012-05-30 08:55:20 -05:00
Steve Ebersole 835f4452eb HHH-7295 - ParentAuditing Test in Envers Testsuite fails across different databases with different error messages because Hibernate does not set LockMode correctly 2012-05-29 15:45:07 -05:00
Lukasz Antoniak af554fe59b HHH-7093 - ValidityAuditStrategy behaviour depending on row value constractor feature 2012-05-23 21:32:47 +02:00
Lukasz Antoniak 007bbe45a9 HHH-7294 - Fixing test case 2012-05-03 14:42:25 +02:00
Lukasz Antoniak 779e70df4d HHH-7187 - Fix ValidityAuditStrategyRevEnd tests 2012-04-29 13:27:28 +02:00
Lukasz Antoniak f7708a9c6c HHH-7246 - Fix and test 2012-04-24 22:41:49 +02:00
Lukasz Antoniak 6a7b70d4cc HHH-7187 - Fixing tests on Sybase 2012-04-22 12:50:23 +02:00
Steve Ebersole 3cd58b6e79 HHH-7266 - Move away from use of Enhydra developed DataSource for JTA testing 2012-04-20 18:59:06 -05:00
Lukasz Antoniak 95ec3457af HHH-7187 - Renaming and documenting enhanced revision entity 2012-04-19 23:49:41 +02:00
Lukasz Antoniak c41fee2a07 HHH-7187 - Moving AbstractEntityTest 2012-04-19 20:15:46 +08:00
Lukasz Antoniak c7aa99d0d3 HHH-7187 - New Envers base test classes 2012-04-19 20:15:46 +08:00
Lukasz Antoniak 7e6815c80c HHH-7187 - Enable USE_NEW_ID_GENERATOR_MAPPINGS 2012-04-19 20:15:45 +08:00
Lukasz Antoniak c76810ac47 HHH-7187 - Manual flush mode and @PrimaryKeyJoinColumn tests 2012-04-19 20:15:45 +08:00
Lukasz Antoniak b8e356f966 HHH-7187 - Fixing tests on PostgreSQL 2012-04-19 20:15:44 +08:00
Lukasz Antoniak 68dda2c242 HHH-7187 - H2 manual flush tests fix 2012-04-19 20:15:44 +08:00
Lukasz Antoniak c4822556c1 HHH-7187 - Enhanced default revision entity 2012-04-19 20:15:44 +08:00
Lukasz Antoniak 775b6da1db HHH-7187 - Fixing tests on Oracle 2012-04-19 20:15:43 +08:00
Strong Liu 74e5c3150d HHH-7187 configurations should be defined in addConfigurationProperties method, instead configure 2012-03-27 17:47:10 +08:00
Steve Ebersole cf181b41b5 HHH-7199 - proper JTA and auto-commit interaction for envers testsuite 2012-03-26 20:09:18 -05:00
Strong Liu caf0f70b62 HHH-7187 failed tests 2012-03-26 16:55:33 +08:00
Strong Liu d732cfa7d9 HHH-7187 failed tests 2012-03-26 16:53:20 +08:00
Strong Liu d3b640cb75 HHH-7197 reimport imports 2012-03-26 16:17:45 +08:00
Strong Liu e4a82a0b6b HHH-7197 - update build scripts to not use deprecated gradle apis and change manual's xml declation to use doc namespace 2012-03-26 15:12:10 +08:00
Strong Liu 96e23180d7 HHH-7187 - tests fail on sybase 2012-03-26 13:53:07 +08:00
Strong Liu 37aecde965 HHH-7187 - tests fail on sybase 2012-03-26 13:06:12 +08:00
Strong Liu 24f2db04fc HHH-7187 - skip Lob test on sybase 2012-03-26 12:52:20 +08:00
Lukasz Antoniak e835881f37 HHH-7187 - Fix tests against MSSQL 2012-03-25 06:06:59 +02:00
Lukasz Antoniak 78ae6abad1 Merge remote-tracking branch 'upstream/master' 2012-03-24 15:42:11 +01:00
Lukasz Antoniak 6aed8651a6 HHH-7187 - Fix tests against MySQL 2012-03-24 15:40:36 +01:00
Strong Liu d2852e3c4d a little improvment on the build script 2012-03-23 16:02:45 +08:00
Lukasz Antoniak 5a2b019e66 HHH-7187 - Shorten table names 2012-03-22 23:36:59 +01:00
Lukasz Antoniak 6e85abcf7a HHH-7017 - Fix and test 2012-03-20 18:43:14 +01:00
Strong Liu 199fae5fee correct encoding error 2012-03-19 23:03:30 +08:00
Strong Liu 5822404c6d HHH-7185 - run envers tests on db matrix 2012-03-19 21:54:28 +08:00
Lukasz Antoniak ecd8ad5446 HHH-7184 - Envers revision entity JPA2 metadata 2012-03-18 15:53:04 +01:00
Lukasz Antoniak 71db4095c6 HHH-6661 - Test case 2012-03-18 14:54:03 +01:00
Strong Liu b51b2ff4cb HHH-7156 Make Hibernate ORM compile and run tests using JDK 7 (and JDK 6) 2012-03-13 21:58:48 +08:00
Strong Liu b4659173a8 1. remove commons-collections dependency.
2. moved org.hibernate.internal.util.collections.ConcurrentReferenceHashMap from envers module to core, and change it to doesn't allow null key / value.
3. Using ConcurrentReferenceHashMap this to replace old ReferenceMap (from commons-collections) which used in StatefulPersistenceContext.
4. copied org.hibernate.internal.util.collections.BoundedConcurrentHashMap from infinispan code base.
5. deprecate properties QUERY_PLAN_CACHE_MAX_STRONG_REFERENCES and QUERY_PLAN_CACHE_MAX_SOFT_REFERENCES
6. add two new properties QUERY_PLAN_CACHE_PARAMETER_METADATA_MAX_SIZE and QUERY_PLAN_CACHE_MAX_SIZE
7. remove LRUMap, SimpleMRUCache and SoftLimitMRUCache
2012-03-06 23:28:22 +08:00
Lukasz Antoniak 7c60f01f2d HHH-7106 - Fix, test and documentation 2012-03-03 10:27:35 +01:00