Commit Graph

349 Commits

Author SHA1 Message Date
Csaba Varga d5a40bbd1f HHH-7800: added unit test to demonstrate broken behavior ("maximize"
does not work inside an AuditDisjunction)
2012-11-22 12:06:30 +01:00
Csaba Varga ac95b64aad HHH-7800: Fixed "between" doesn't work inside a disjunction issue 2012-11-22 12:06:19 +01:00
Lukasz Antoniak ec7993e20e HHH-5910 - Fix and test
(cherry picked from commit c01dd40a65)
2012-11-19 19:07:03 +01:00
Lukasz Antoniak fc69e24b5a HHH-7780 - Proper enumeration named/ordinal discovery 2012-11-14 16:36:43 +01:00
Lukasz Antoniak 94e13074c1 HHH-3854 - Fix and test 2012-11-11 18:09:22 +01:00
Lukasz Antoniak 55e8efc8f0 HHH-6349 - Test cleanup 2012-10-30 17:32:03 +01:00
Erik-Berndt Scheper 9d84c8dea8 HHH-6349 Testcase: AuditJoinTable rows missing when detached entities with collections are merged into the persistence context 2012-10-30 17:32:02 +01:00
Erik-Berndt Scheper e826dde7bb HHH-6349 Testcase: AuditJoinTable rows missing when detached entities with collections are merged into the persistence context 2012-10-30 17:32:01 +01:00
Lukasz Antoniak 73bae00c1c HHH-7669 - Oracle sequences ordered 2012-10-30 09:24:51 +01:00
brmeyer 51feb11265 HHH-7682 Audit records are not rolled back when transaction is rolled
back
2012-10-25 10:12:37 -04:00
Lukasz Antoniak cac5ddea21 HHH-7690 - @EmbeddedId with @ManyToOne inside 2012-10-25 13:19:02 +02:00
brmeyer ce573c8856 HHH-7669: JtaTransaction test fails on Oracle RAC
https://hibernate.onjira.com/browse/HHH-7669
2012-10-23 17:49:50 -04:00
brmeyer 518fa90dd7 HHH-7569 Correct test-only failures in hibernate-core-master-matrix CI
job(cherry picked from commit 69442c6ea7)
2012-09-18 07:14:07 -04:00
Lukasz Antoniak a195c6805b HHH-7543 - Fix and test 2012-08-24 22:24:08 +02:00
Lukasz Antoniak dafe837487 HHH-7212 - Fix 2012-08-23 22:41:04 +02:00
Lukasz Antoniak 0c0f951715 HHH-4751 - Fix and test 2012-08-16 09:52:58 +02:00
Lukasz Antoniak 2043477e72 HHH-7157 - Fix and test 2012-08-11 10:05:22 +02:00
Strong Liu cc7d8d8e08 HHH-7385 change to use gradle 1.1 2012-08-08 17:53:17 +08:00
Janario Oliveira edeecef3cf HHH-7108 TypeDef with Enum, included inside of EnumType its own properties to create itself 2012-08-06 23:37:20 -03:00
Strong Liu 30ea6c9025 HHH-6662, HHH-7445 - Fix and test 2012-08-03 18:21:32 +08:00
Lukasz Antoniak ffa9cf5768 HHH-5565 - Fix and test 2012-06-17 15:26:11 +02:00
Steve Ebersole bd7b54a4ea cleanup missed references to matrix sourceSet 2012-06-08 07:59:54 -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
Lukasz Antoniak 34611877c8 HHH-7073 - Fix and test 2012-02-24 19:35:53 +01:00
Steve Ebersole 7861fdee44 HHH-7067 - Update build to work with Gradle m8 2012-02-15 16:33:45 -06:00
Lukasz Antoniak c29711f11b HHH-6738 - Alias change 2012-02-04 12:27:40 +01:00
Lukasz Antoniak 2f26475baa HHH-6738 - Formatting 2012-01-31 22:36:26 +01:00
Lukasz Antoniak 69db917760 HHH-6738 - Fix and test 2012-01-31 15:08:16 +01:00
Lukasz Antoniak d1ac167ec6 HHH-4962 - Fix and test 2012-01-29 17:09:40 +01:00
Lukasz Antoniak 46b7a0d38e HHH-7003 - Fix and test 2012-01-28 23:27:06 +01:00
Adam Warski f434cd4311 HHH-6605: Fixing problems with lazy proxy initialization 2012-01-20 22:46:36 +01:00
Adam Warski 89bb7ec175 HHH-6605: More conflicts merging 2012-01-20 20:57:40 +01:00
Adam Warski a00f23c6f6 Merge remote-tracking branch 'origin/master'
Conflicts:
	hibernate-envers/src/main/java/org/hibernate/envers/configuration/metadata/AuditMetadataGenerator.java
	hibernate-envers/src/main/java/org/hibernate/envers/entities/mapper/relation/OneToOneNotOwningMapper.java
	hibernate-envers/src/main/java/org/hibernate/envers/entities/mapper/relation/ToOneIdMapper.java
2012-01-20 20:52:41 +01:00
Adam Warski b109633b66 HHH-6605: Merging changes by Michal Skowronek. Thanks! Merge remote-tracking branch 'mskowron/change_info'
Conflicts:
	hibernate-envers/src/main/java/org/hibernate/envers/configuration/GlobalConfiguration.java
	hibernate-envers/src/main/java/org/hibernate/envers/configuration/metadata/AuditMetadataGenerator.java
	hibernate-envers/src/main/java/org/hibernate/envers/configuration/metadata/ComponentMetadataGenerator.java
	hibernate-envers/src/main/java/org/hibernate/envers/configuration/metadata/MetadataTools.java
	hibernate-envers/src/main/java/org/hibernate/envers/configuration/metadata/reader/AuditedPropertiesReader.java
	hibernate-envers/src/main/java/org/hibernate/envers/entities/mapper/ComponentPropertyMapper.java
	hibernate-envers/src/main/java/org/hibernate/envers/entities/mapper/MultiPropertyMapper.java
	hibernate-envers/src/main/java/org/hibernate/envers/entities/mapper/PropertyMapper.java
	hibernate-envers/src/main/java/org/hibernate/envers/entities/mapper/SinglePropertyMapper.java
	hibernate-envers/src/main/java/org/hibernate/envers/entities/mapper/SubclassPropertyMapper.java
	hibernate-envers/src/main/java/org/hibernate/envers/entities/mapper/relation/AbstractCollectionMapper.java
	hibernate-envers/src/main/java/org/hibernate/envers/entities/mapper/relation/OneToOneNotOwningMapper.java
	hibernate-envers/src/main/java/org/hibernate/envers/event/BaseEnversCollectionEventListener.java
	hibernate-envers/src/main/java/org/hibernate/envers/query/criteria/AuditProperty.java
	hibernate-envers/src/main/java/org/hibernate/envers/synchronization/work/AddWorkUnit.java
	hibernate-envers/src/main/java/org/hibernate/envers/synchronization/work/CollectionChangeWorkUnit.java
	hibernate-envers/src/main/java/org/hibernate/envers/synchronization/work/DelWorkUnit.java
	hibernate-envers/src/main/java/org/hibernate/envers/synchronization/work/FakeBidirectionalRelationWorkUnit.java
	hibernate-envers/src/main/java/org/hibernate/envers/tools/Tools.java
	hibernate-envers/src/matrix/java/org/hibernate/envers/test/AbstractOneSessionTest.java
	hibernate-envers/src/matrix/java/org/hibernate/envers/test/AbstractSessionTest.java
	hibernate-envers/src/matrix/java/org/hibernate/envers/test/integration/components/relations/ManyToOneInComponent.java
	hibernate-envers/src/matrix/java/org/hibernate/envers/test/integration/components/relations/NotAuditedManyToOneInComponent.java
	hibernate-envers/src/matrix/java/org/hibernate/envers/test/integration/components/relations/OneToManyInComponent.java
	hibernate-envers/src/matrix/java/org/hibernate/envers/test/integration/entityNames/singleAssociatedAudited/SingleDomainObjectToMultipleTablesTest.java
	hibernate-envers/src/matrix/java/org/hibernate/envers/test/integration/inheritance/joined/notownedrelation/NotOwnedBidirectional.java
2012-01-20 20:47:12 +01:00
Lukasz Antoniak 81ee788466 Merge pull request #246 from lukasz-antoniak/HHH-6825
HHH-6825 - AuditException with @OneToOne-mappedBy and @PrimaryKeyJoinColumn
2012-01-18 11:41:05 -08:00
Lukasz Antoniak 10f48ef973 HHH-6825 - Renaming simple entity descriptor 2012-01-16 15:10:47 +01:00
Steve Ebersole e75b8a77b1 HHH-6967 - HHH-6906 - Clean up javadoc warnings 2012-01-13 11:17:34 -06:00
Strong Liu 8f9d8b530e HHH-6964 EnversIntegrator is always detected by default while initializing Serviceregistry using Native Hibernate API causing a MappingException even when Envers is not used 2012-01-13 04:09:01 +08:00
Strong Liu e07aff45da HHH-6964 EnversIntegrator is always detected by default while initializing Serviceregistry using Native Hibernate API causing a MappingException even when Envers is not used 2012-01-13 03:44:30 +08:00
Adam Warski aa33b57242 Including the actual exception if an AuditStrategy can't be created 2012-01-12 20:12:43 +01:00
Lukasz Antoniak fbfc133af8 HHH-6825 - Formatting and Javadoc change 2012-01-10 20:34:39 +01:00
Lukasz Antoniak c703d134f2 HHH-6825 - ToOne property mappers refactoring 2012-01-10 20:08:43 +01:00
lukasz-antoniak 0efd1dd886 Merge pull request #244 from lukasz-antoniak/HHH-4439
HHH-4439 - Override auditing behavior of properties defined in @MappedSuperclass
2012-01-09 12:43:45 -08:00
Lukasz Antoniak 53b32e9e8d HHH-4439 - Javadoc change 2012-01-09 21:18:57 +01:00
Lukasz Antoniak 05df3d8638 HHH-4439 - Test and Javadoc change 2012-01-06 15:20:27 +01:00
Lukasz Antoniak 1293253412 HHH-4439 - Javadoc change 2012-01-06 14:37:24 +01:00
Lukasz Antoniak 0a08780e13 HHH-4439 - Deprecate Audited.auditParents 2012-01-06 14:14:07 +01:00
Lukasz Antoniak 5c80268664 HHH-6825 - Fix and test 2012-01-04 21:10:53 +01:00
Michael Rudolf 875a4b29dd HHH-5891: Added ordering clause to query generated by getRevisions() to fulfill guarantee given in JavaDoc. 2012-01-04 17:25:58 +01:00
Steve Ebersole ab94a18c33 HHH-6931 - Provide local database hook 2012-01-03 20:43:15 -06:00
Lukasz Antoniak a49e02b239 HHH-4439 - Patch and test 2011-12-25 18:42:08 +01:00
Strong Liu ff9eb6d1b2 test need to be compiled in UTF-8 2011-11-21 10:16:30 +08:00
Steve Ebersole d4e138eb13 HHH-6833 - Eable SQL logging for tests 2011-11-20 10:27:47 -06:00
Adam Warski 199f3e300c Merge pull request #204 from lukasz-antoniak/HHH-6753
HHH-6753 - Envers WorkUnits: Problems with merge
2011-11-08 03:07:56 -08:00
Emmanuel Bernard 53cae7ace7 HHH-6799 Fix EntityManager relates test harness that was closing a ServiceRegistry it did not open 2011-11-03 21:20:28 +01:00
Adam Warski 946925f3e2 HHH-6793: checking if session isn't closed 2011-11-02 11:44:36 +01:00
Adam Warski 653211da6c HHH-6784: only adding the REVINFO table if there are any audited entities. 2011-10-29 13:31:31 +02:00
Lukasz Antoniak 4d3620342b HHH-6753 - JavaDoc changed 2011-10-29 00:57:57 +02:00
Lukasz Antoniak fe2d1fe0ea HHH-6753 - Fix and test 2011-10-29 00:44:10 +02:00