Commit Graph

587 Commits

Author SHA1 Message Date
zuchos c9d4305bf1 HHH-8505: Fixed todos 2013-10-28 15:05:59 +01:00
zuchos e971a8e14a HHH-8505: Test that counts the revisions 2013-10-28 15:05:57 +01:00
zuchos 4e93c91050 HHH-8505: Test suplemented with List of user types 2013-10-28 15:05:54 +01:00
zuchos 180639a18b HHH-8505: Test suplemented with user type 2013-10-28 15:05:52 +01:00
zuchos b11c14f00c HHH-8505: Missing assert statement in test 2013-10-28 15:05:49 +01:00
zuchos 03449c1d37 HHH-8505: Reformating to hibernate code style 2013-10-28 15:05:45 +01:00
zuchos 631616ec74 HHH-8505: Small improvements to tests 2013-10-28 15:05:44 +01:00
zuchos 6bc1d2ef01 HHH-8505: Query test cases & small fixes 2013-10-28 15:05:42 +01:00
zuchos 4e810effe5 HHH-8505: Query tests 2013-10-28 15:05:38 +01:00
zuchos bf469ca0e4 HHH-8505: More advanced tests 2013-10-28 15:05:36 +01:00
zuchos 7c492ddbc3 HHH-8505: Advanced test - OneToOne & ManyToOne 2013-10-28 15:05:34 +01:00
zuchos 0aefe3a55b HHH-8505: boolean added to test 2013-10-28 15:05:33 +01:00
zuchos 7dd862eeb5 HHH-8505: Better test for proxy generator 2013-10-28 15:05:31 +01:00
zuchos f70189f416 HHH-8505: Auditing of dynamic components 2013-10-28 15:05:28 +01:00
Steve Ebersole 859eaaa1c5 HHH-8619 - Account for "shadow" services as part of ServiceRegistry impls 2013-10-17 15:19:35 -05:00
Lukasz Antoniak e5e5ef14eb HHH-8567 - Query identifier properties 2013-10-11 15:50:05 +02:00
Brett Meyer c28748f989 HHH-8502 synchronize AuditConfiguration#destroy 2013-09-25 14:22:37 -04:00
Becca Gaspard 99be129200 HHH-8495 - Support ilike in Hibernate Envers 2013-09-20 07:20:19 +02:00
Steve Ebersole 280313dac4 HHH-8518 - Validate EMF#addNamedQuery transfers all query settings 2013-09-18 18:54:55 -05:00
Steve Ebersole 34459efc2e HHH-8502 - EnversIntegrator#disintegrate needs to check config for null 2013-09-16 06:37:56 -05:00
Steve Ebersole 9e54c418ab HHH-8499 - Prepare for 4.3 Beta4 release 2013-09-12 11:44:42 -05:00
Brett Meyer 29ab1766c0 HHH-8363 SessionFactoryServiceRegistryImpl should not call parent#destroy, test failures, formatting 2013-09-06 18:28:58 -04:00
Tomaz Cerar 360567beac HHH-8363 Some more mem leak fixes 2013-09-06 18:28:58 -04:00
Brett Meyer 40ac5094a1 HHH-8465 corrected check in EnversListenerDuplicationStrategy 2013-09-04 18:19:59 -04:00
Brett Meyer 858c68364a HHH-8439 optional OSGi manifest imports in envers 2013-08-13 11:03:29 -04:00
Lukasz Antoniak 456dfd83f9 HHH-7807 - Cascade delete revisions
Conflicts:
	documentation/src/main/docbook/devguide/en-US/Envers.xml
	hibernate-envers/src/main/java/org/hibernate/envers/configuration/GlobalConfiguration.java
	hibernate-envers/src/main/java/org/hibernate/envers/configuration/metadata/AuditMetadataGenerator.java
2013-08-05 23:42:05 -04:00
Brett Meyer b9d3fa5581 HHH-8420 multiple test-only fixes from matrix failures 2013-08-05 17:05:24 -04:00
Lukasz Antoniak bf11088e70 HHH-5845 - Collection proxy of deleted state 2013-08-02 12:37:20 +02:00
Lukasz Antoniak dd1bec53fb HHH-8280 - Identifiers reuse option 2013-08-01 13:13:39 +02:00
Adar Dembo 80873328d1 HHH-8280 - validity audit strategy breaks when entity IDs are reused 2013-08-01 13:13:39 +02:00
Lukasz Antoniak f2d435ddc1 HHH-8174 - Envers support for @NotFound 2013-06-11 09:08:56 -07:00
Steve Ebersole 120dbbb311 HHH-8257 - More concisely obtaining a JBoss logger 2013-05-21 16:25:21 -05:00
Steve Ebersole 1337d36a79 HHH-8235 - Drop database profiles upstream 2013-05-10 15:59:02 -05:00
Steve Ebersole 364a47f2c7 HHH-8159 - Apply fixups indicated by analysis tools 2013-05-02 10:01:21 -05:00
Steve Ebersole a1d190d674 HHH-8159 - Apply fixups indicated by analysis tools 2013-05-01 09:23:52 -05:00
Brett Meyer fe9e2798de HHH-7944 envers classloader issues
Conflicts:
	hibernate-envers/src/main/java/org/hibernate/envers/configuration/spi/AuditConfiguration.java
2013-05-01 00:05:03 -04:00
Brett Meyer 04fe84994d HHH-7995 Added support for TypeContributors in OSGi. Integrated with
envers
Conflicts:
	hibernate-core/src/main/java/org/hibernate/cfg/Configuration.java
	hibernate-entitymanager/src/main/java/org/hibernate/ejb/Ejb3Configuration.java
	hibernate-osgi/src/main/java/org/hibernate/osgi/OsgiPersistenceProvider.java
	hibernate-osgi/src/main/java/org/hibernate/osgi/OsgiSessionFactoryService.java
2013-05-01 00:05:03 -04:00
Brett Meyer 30d63bf58f HHH-7995 Auto-discovery of Hibernate extension points in OSGi 2013-04-29 11:51:02 -04:00
Lukasz Antoniak a8f0552b81 HHH-8189 - Rollback audit records on flushed transaction rollback 2013-04-17 15:57:54 +02:00
Lukasz Antoniak 8342194057 HHH-5845 - Lazy loading of audited entites with revision type DEL 2013-04-17 09:31:20 +02:00
Steve Ebersole 8eeef7af3b HHH-8146 - Update to use maven-publishing plugin 2013-04-16 18:26:02 -05:00
Brett Meyer 079fd4ac01 HHH-8160 Corrected Import-Package in module manifests 2013-04-16 10:29:44 -04:00
Lukasz Antoniak f2b9ab8278 HHH-8171 - Cleanup 2013-04-14 22:27:05 +02:00
Kristoffer Lundberg 4796553a3f HHH-8171 - SETORDINAL to support set of embeddables 2013-04-14 22:27:03 +02:00
Steve Ebersole 1d9f6201a0 HHH-7841 - Redesign Loader 2013-04-12 09:05:15 -05:00
Brett Meyer 505904026d HHH-7478 Corrected test for envers package changes 2013-04-11 18:16:10 -04:00
Lukasz Antoniak 6be8b4aad0 HHH-7478 - Fix and test 2013-04-11 18:13:58 -04:00
Brett Meyer 6386ba4d88 HHH-7944 Corrected envers JPA imports in manifest 2013-04-10 15:25:20 -04:00
Brett Meyer cc4ef44670 HHH-8160 Updated for Gradle 1.5 OSGi plugin changes and package
versioning issues
2013-04-09 09:57:36 -04:00
Lukasz Antoniak 802fcf7b4e HHH-8049 - Fix and test 2013-04-09 11:52:40 +02:00
Lukasz Antoniak 5cc051e1df HHH-7944 - Separation of Envers API, SPI and internal packages 2013-04-08 14:43:29 +02:00
Lukasz Antoniak 4213e3c13a HHH-5845 - Cleanup 2013-04-05 11:51:12 +02:00
Adar Dembo 52ab4baafb HHH-5845 (partial fix) Lazy Loading of audited entites with revision type 'delete'
Fixed for to-one associations, but not for one-to-many and other collection types.
2013-04-05 11:51:11 +02:00
Steve Ebersole 378fc1378a HHH-8143 - Create a 'generateSources' task that performs all generation tasks 2013-04-04 14:45:49 -05:00
Steve Ebersole 26868ad314 HHH-8141 - Upgrade to Gradle 1.5 2013-04-04 13:01:39 -05:00
Lukasz Antoniak 03a56f58b9 HHH-8087 - Cleanup 2013-03-22 16:02:47 +01:00
Lukasz Antoniak fa12131267 HHH-8087 - Fix and test 2013-03-22 15:23:54 +01:00
Lukasz Antoniak bd7840dd0f HHH-8072 - Fixing Sybase tests 2013-03-15 22:17:35 +01:00
Steve Ebersole 889405b3f5 HHH-7667 - Investigate expanding bytecode enhancement support
(cherry picked from commit 93f4fe0668)
2013-03-14 12:33:21 -05:00
Lukasz Antoniak 11287c2e02 HHH-8061 - Fixing EnumSet test on Oracle 2013-03-13 20:43:14 +01:00
Brett Meyer 8673e08e7f HHH-8061 envers tests failing on master-matrix CI 2013-03-11 17:08:54 -04:00
Lukasz Antoniak 98c12081ec HHH-8036 - Fix and test 2013-03-04 22:17:47 +01:00
Lukasz Antoniak 51a7df596e HHH-6613 - Support for audited @ElementCollection 2013-02-28 13:22:14 +01:00
Brett Meyer 7bf544716a HHH-8019 Multiple tests creating identifiers too long for Oracle 2013-02-19 14:22:07 -05:00
Brett Meyer 4d68ddf7b0 HHH-7991 Correct all instances of
Thread.currentThread().getContextClassLoader()
2013-02-14 10:44:36 -05:00
Brett Meyer 56867417e2 HHH-7527 Enterprise OSGi JPA support 2013-02-14 10:44:35 -05:00
Brett Meyer b5de4cda15 HHH-7999 Oracle test failures due to lack of support for identity
columns
2013-02-13 22:30:38 -05:00
Lukasz Antoniak d702dfbc8c HHH-7948 - Fix and test 2013-01-30 15:49:10 +01:00
Lukasz Antoniak c05238bad3 HHH-7948 - Fix and test 2013-01-29 19:03:06 +01:00
Lukasz Antoniak 2f71f071ec HHH-7934 - Test case 2013-01-24 08:27:48 +01:00
Lukasz Antoniak 69230d1ebd HHH-7934 - Fix and test 2013-01-24 07:52:49 +01:00
Lukasz Antoniak 8e38db5833 HHH-7918 - Completely recalculate entity state on merge 2013-01-14 22:34:33 +01:00
Lukasz Antoniak 2a9f3ad9ed HHH-7918 - Fix and test 2013-01-14 22:34:32 +01:00
Brett Meyer 9ce5c32dd7 HHH-7902 Replace JDBC proxies with a set of contracts/helpers
HHH-7902 Merged JdbcResourceRegistry into JdbcCoordinator.  Parts of
LogicalConnection moved into JdbcCoordinator as well.

HHH-7902 Replaced Statement#close and ResultSet#close calls with
JdbcCoordinator#release

HHH-7902 Enforced the use of StatementPreparer, instead of Connection

HHH-7902 ResultSetExtractor.  Replaced all instances of execute,
executeQuery, executeUpdate, etc.

HHH-7902 Refactored AbstractReturningDelegate to give access to
jdbcCoordinator

HHH-7902 Corrected test failures

HHH-7902 Removed resource registry use from JdbcIsolation workers

HHH-7902 Corrected a few bugs in JdbcCoordinator and ResultSetExtractor.

HHH-7902 ResultSetExtractor -> ResultSetReturn.  Reworked proxy tests to
test the new APIs.

Conflicts:
	hibernate-core/src/main/java/org/hibernate/internal/SessionImpl.java
	hibernate-core/src/test/java/org/hibernate/sharedSession/SessionWithSharedConnectionTest.java
	hibernate-core/src/test/java/org/hibernate/test/dialect/functional/SQLServerDialectTest.java
	hibernate-core/src/test/java/org/hibernate/test/jdbc/proxies/BatchingTest.java
	hibernate-core/src/test/java/org/hibernate/test/transaction/jdbc/TestExpectedUsage.java
	hibernate-core/src/test/java/org/hibernate/test/transaction/jta/BasicDrivingTest.java
	hibernate-core/src/test/java/org/hibernate/test/transaction/jta/ManagedDrivingTest.java
2013-01-14 14:25:06 -05:00
Lukasz Antoniak 0713cea180 HHH-7870 - Fix and test 2013-01-10 14:38:11 +01:00
Lukasz Antoniak bcf73bd32c HHH-7437 - Fix and test 2013-01-03 13:10:16 +01:00
Strong Liu 6c6df69535 refactor, remove redundant type cast 2012-12-25 19:25:47 +08:00
Lukasz Antoniak da32690828 HHH-7827 - Documentation 2012-12-05 10:27:37 +01:00
Lukasz Antoniak 516577ea80 HHH-7827 - Correlating aggregated and outer queries 2012-12-05 10:27:35 +01:00
Lukasz Antoniak 468c58358e HHH-7800 - Tests cleanup 2012-11-22 12:02:35 +01:00
Csaba Varga dadc43af23 HHH-7800: Fixed "maximize" doesn't work inside a disjunction issue 2012-11-22 12:02:31 +01:00
Csaba Varga cd3363151b HHH-7800: added unit test to demonstrate broken behavior ("maximize"
does not work inside an AuditDisjunction)
2012-11-22 12:02:28 +01:00
Csaba Varga ff25434d1f HHH-7800: Fixed "between" doesn't work inside a disjunction issue 2012-11-22 12:02:24 +01:00
Csaba Varga 54760bb61e HHH-7800: added unit test to demonstrate broken behavior ("between"
does not work inside an AuditDisjunction)
2012-11-22 12:02:21 +01:00
Lukasz Antoniak c01dd40a65 HHH-5910 - Fix and test 2012-11-19 19:03:59 +01:00
Lukasz Antoniak 5b004e4cbd HHH-7780 - Proper enumeration named/ordinal discovery 2012-11-14 16:15:43 +01:00
Lukasz Antoniak 97b1f0749e HHH-3854 - Fix and test 2012-11-11 17:58:23 +01:00
Lukasz Antoniak 0e3fe2b3d5 HHH-6349 - Test cleanup 2012-10-30 16:57:38 +01:00
Erik-Berndt Scheper 7b093fbc31 HHH-6349 Testcase: AuditJoinTable rows missing when detached entities with collections are merged into the persistence context 2012-10-30 16:57:36 +01:00
Erik-Berndt Scheper 47ae4e3ced HHH-6349 Testcase: AuditJoinTable rows missing when detached entities with collections are merged into the persistence context 2012-10-30 16:57:35 +01:00
Lukasz Antoniak 363048f44a HHH-7669 - Oracle sequences ordered 2012-10-30 08:48:28 +01:00
Lukasz Antoniak cbe619f9ba HHH-7727 - Mark Envers demo as test source 2012-10-28 22:13:14 +01:00
brmeyer b7855e944b HHH-7682 Audit records are not rolled back when transaction is rolled
back
2012-10-25 10:13:37 -04:00
Lukasz Antoniak ac511bf72e HHH-7690 - @EmbeddedId with @ManyToOne inside 2012-10-25 12:56:27 +02:00
brmeyer 1a00abc3a6 HHH-7669: JtaTransaction test fails on Oracle RAC
https://hibernate.onjira.com/browse/HHH-7669
2012-10-23 17:44:36 -04:00
Steve Ebersole 595f068977 HHH-7620 - allow ValidatorFactory to be passed into EntityManagerFactoryBuilder 2012-09-20 04:25:48 -05:00
brmeyer 69442c6ea7 HHH-7569 Correct test-only failures in hibernate-core-master-matrix CI
job
2012-09-18 07:13:20 -04:00
Steve Ebersole 4ad49a02c9 HHH-7556 - Clean up packages 2012-08-28 14:12:15 -05:00
Lukasz Antoniak a9c28bf28f HHH-7543 - Fix and test 2012-08-24 22:30:37 +02:00
Lukasz Antoniak edfe8afaf1 HHH-7212 - Fix 2012-08-23 23:51:46 +02:00
Steve Ebersole 4282e23caa HHH-7387 - Integrate Draft 6 of the JPA 2.1 spec : CDI (small test change) 2012-08-18 12:30:21 -05:00
Lukasz Antoniak 773d0793f1 HHH-4751 - Fix and test 2012-08-16 10:34:16 +02:00
Strong Liu 7a82349f75 HHH-7385 change to use gradle 1.1 2012-08-08 17:09:11 +08:00
Lukasz Antoniak 9aa88b9a24 HHH-7157 - Fix and test 2012-08-07 19:07:56 +02:00
Strong Liu d0e13b664a HHH-7108 HHH-6608 2012-08-07 15:08:23 +08:00
Lukasz Antoniak 414e6111a8 HHH-6662, HHH-7445 - Fix and test 2012-07-25 23:23:17 +02: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 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
Adam Warski 4de4bad98a Merge pull request #202 from lukasz-antoniak/HHH-3843
HHH-3843 - NonUniqueObjectException exception while auditing parent with @ManyToMany relation
2011-10-25 07:35:31 -07:00
Strong Liu bdba5898c9 clean up imports 2011-10-24 16:26:37 +08:00
Lukasz Antoniak 26102b0574 HHH-3843 - Organize imports 2011-10-22 11:23:00 +02:00
Lukasz Antoniak 6a89afccb6 HHH-3843 - Refactoring, test simplified 2011-10-22 11:20:46 +02:00
Lukasz Antoniak 86482c630b HHH-3843 - Fix and test 2011-10-19 20:07:49 +02:00
Lukasz Antoniak 8dd9c79ebd HHH-6636 - Comment change 2011-10-19 19:43:12 +02:00
Lukasz Antoniak 9fff9862b9 HHH-6636 - Fix and test 2011-10-19 19:34:54 +02:00
Strong Liu c84fb01c22 HHH-6740 run envers tests on db matrix 2011-10-18 12:29:45 +08:00
Michal Skowronek 1c7532f875 HHH-6605 - Added Mod Flags suffix configurability 2011-10-11 20:19:44 +02:00
Michal Skowronek 43a602b100 HHH-6605 - Removed some duplication in mappers code 2011-10-11 20:19:44 +02:00
Michal Skowronek 726571b270 HHH-6605 - Removed OVERRIDE_USING_MODIFIED_FLAG_PROPERTY global property 2011-10-11 20:19:44 +02:00
Michal Skowronek fcb57dd17f HHH-6605 - Moved extractRevisionNumbers test method to TestTools class 2011-10-11 20:19:44 +02:00
Michal Skowronek d7904dbf0d Moved Test logic to separate classes
Added new test cases
Merge logic for CollectionChangeWorkUnits
2011-10-11 20:19:44 +02:00
Michal Skowronek 313bb01c50 Fix for failing tests 2011-10-11 20:19:43 +02:00
Michal Skowronek 9c4b385bdb Modified Flags feature - tracking changes on property level
Extended some of already existing test cases
More units to add
2011-10-11 20:19:43 +02:00
Strong Liu 7b1c172b84 HHH-6716 envers should set the TCCL to the envers classloader before constructing a dom4j instance. This will allow applications to use their own version of dom4j 2011-10-08 15:03:14 +08:00
Adam Warski 9039e4d29e HHH-6696: additional javadoc explanation 2011-10-01 10:40:11 +02:00
Lukasz Antoniak b622119104 HHH-6696 - Typical test case 2011-09-30 16:58:06 +02:00
Lukasz Antoniak 45f3ced6da HHH-6696 - RevisionListener class configuration parameter 2011-09-29 20:50:07 +02:00
Steve Ebersole e14e47968f HHH-6683 - Consolidate (consistency) building of service registries 2011-09-27 12:45:07 -05:00
Steve Ebersole f4fa176255 HHH-6683 - Consolidate (consistency) building of service registries 2011-09-27 11:49:17 -05:00
Strong Liu 999526c3c3 minor change, correct javadoc and typo 2011-09-15 23:25:29 +08:00
Steve Ebersole 9f214d8018 HHH-6640 - Add ability for Integrator to prepare ServiceRegistryBuilder and MetadataImplementor as part of lifecycle 2011-09-13 18:46:28 -05:00
Adam Warski 53626310cf HHH-6647: requesting an upgraded lock when looking for the last audit record to make sure the same one isn't found by two concurrent transactions 2011-09-12 09:17:18 +02:00
Adam Warski 6df15ef85a Typo in method name 2011-09-12 09:17:17 +02:00
Lukasz Antoniak 578de2e5a2 HHH-6614 - Fix and test 2011-09-08 22:48:34 +02:00
Gail Badner 25acc5078e HHH-6020 : Move to JBossTS caused some test failures in hibernate-envers 2011-08-31 14:24:53 -07:00
Lukasz Antoniak 40474a69fa HHH-5930 - Removed Ant and Hibernate Tools dependency from Envers build 2011-08-21 17:53:21 +02:00
JPAV adf6271594 HHH-6268 Bound JPA callback methods to entities, including those defined by default listeners, and added new method to Integrator that handles MetadataImplementor instead of Configuration, modifying affected classes accordingly. BeanValidationIntegrator and EnversIntegrator still need to be implemented but require other portions of metamodel to be completed first. 2011-08-15 10:13:29 -05:00
Lukasz Antoniak acd7ce4618 HHH-4648 - Test refactoring 2011-07-26 06:28:23 +02:00
Lukasz Antoniak 4fc2a8c027 HHH-4648 - Test refactoring 2011-07-26 06:21:18 +02:00
Lukasz Antoniak 5b635d2c44 HHH-4648 - Test case 2011-07-26 00:24:18 +02:00
Adam Warski 913f95f8df Merge pull request #114 from lukasz-antoniak/HHH-5580-v1.2
HHH-5580 - Moving query API
2011-06-30 23:47:13 -07:00
Adam Warski 33a4694fea HHH-5917: improving documentation 2011-06-29 18:27:35 +02:00
Adam Warski 9129cf38ce Merge pull request #112 from lukasz-antoniak/HHH-5917
HHH-5917 - Adding @Audited(auditedParents={classes})
2011-06-29 09:19:19 -07:00
Lukasz Antoniak 1f0149378b HHH-5580 - Renaming EntitiesChangedInRevisionManager to CrossTypeRevisionChangesReader 2011-06-29 09:28:35 +02:00
Strong Liu ffb14b28b7 HHH-6368 remove deprecated hibernate annotations 2011-06-28 10:29:16 +02:00
Lukasz Antoniak 1c1e333487 HHH-5917 - Split test cases and updated documentation 2011-06-27 21:52:40 +02:00
Lukasz Antoniak 587c228973 HHH-5580 - Moving queries from AuditReader to EntitiesChangedInRevisionManager 2011-06-26 12:46:10 +02:00
Adam Warski abaae293d8 HHH-6177: fixing a bug with mapping null references introduced by the last pull request 2011-06-22 08:42:13 +02:00
Adam Warski 4662d0a714 Merge pull request #77 from skowronm/HHH-6177
HHH-6177: fixing problems with mixed inheritance by not using the properties tag when creating audit entities mapping
2011-06-21 23:13:10 -07:00
Steve Ebersole 4a4f636caf HHH-6330 - Remove entity mode switching capability 2011-06-19 22:12:18 -05:00
Michal Skowronek e62271c7c4 HHH-6177 Removed duplicated test cases 2011-06-18 17:22:57 +02:00
Michal Skowronek 6f3c564b9a Extended test cases and provided a fix for the issue
The idea for the fix is to simply stop using properties tag for relations in favor of plain (possibly multiple) propeties
2011-06-18 16:45:32 +02:00
Michal Skowronek 1fa0ac0be0 Added annotation configuration to improve readability
Added JPA-based test-case
2011-06-18 16:45:31 +02:00
Michal Skowronek dca0fa8baf Test cases for the Jira Issue HHH-6177 2011-06-18 16:45:31 +02:00
Lukasz Antoniak 84ee0fb879 HHH-5917 - Fix and test 2011-06-18 10:04:52 +02:00
Lukasz Antoniak f3a6476a66 HHH-5580 - Refactoring 2011-06-12 14:15:10 +02:00
Lukasz Antoniak 13c9fd4f9d HHH-5580 - Persisting entity name by default 2011-06-12 13:55:00 +02:00
adamw 05f2d8b451 Removing unused file 2011-06-09 15:35:23 +02:00
adamw 7eb68c88d3 Removing a problematic test which didn't test what it should anyway 2011-06-09 15:35:22 +02:00
Strong Liu 9fde4c0da4 HHH-6297 remove legacy cache api 2011-06-09 12:18:59 +08:00
Strong Liu 92ad3eed80 HHH-6297 remove legacy cache api 2011-06-09 12:18:59 +08:00
Lukasz Antoniak 337bec4574 HHH-4760 - Fix and test 2011-06-04 14:41:25 +02:00
adamw b84ec25b63 HHH-6020: marking the failing method as @FailureExpected, enabling the tests in the build 2011-06-02 17:00:32 +02:00
adamw dbf18c13ec HHH-5967: forward-porting test 2011-06-02 12:14:58 +02:00
adamw e9cf8dd115 HHH-5967: code cleanup, extending test 2011-06-02 12:07:59 +02:00
Oliver Lorenz c173762e59 added class documentation to new test 2011-06-02 12:07:22 +02:00
Oliver Lorenz 51df2f78e4 optimized imports on test 2011-06-02 12:07:03 +02:00
Oliver Lorenz 4fac1d4344 cleaned up the code I introduced 2011-06-02 12:06:47 +02:00
Oliver Lorenz 735899da92 first fix (must still be cleaned up) 2011-06-02 12:06:31 +02:00
Oliver Lorenz 74b83b06f2 added test for bug with ManyToMany Set
added a Test that reproduces the bug with the ManyToMany Set when using the ValidityAuditStrategy
2011-06-02 12:06:13 +02:00