Commit Graph

228 Commits

Author SHA1 Message Date
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
adamw 789bf60427 HHH-5580: some documentation fixes 2011-06-02 11:07:11 +02:00
adamw ae7b95c876 HHH-5580: fixing compilation error (class moved) 2011-06-02 10:08:05 +02:00
adamw f865be9739 Merge branch 'HHH-5580-POC' of git://github.com/lukasz-antoniak/hibernate-core
Conflicts:
	hibernate-envers/src/main/java/org/hibernate/envers/reader/AuditReaderImpl.java
2011-06-02 10:00:36 +02:00
adamw 0c9a55d33c HHH-5025: waiting max 3 seconds for the cache to be written to disk 2011-06-02 07:52:30 +02:00
Adam Warski 0a55292b7c Merge pull request #90 from lukasz-antoniak/HHH-5025
HHH-5025 - Support caching audit queries using ehcache's DiskStore
2011-06-01 22:37:50 -07:00
Lukasz Antoniak 4022571196 HHH-5580 - Naming and EntitiesModifiedAtRevisionQuery tests 2011-05-28 17:01:26 +02:00
Lukasz Antoniak d62e362d54 HHH-5025 - Test case fix 2011-05-28 13:44:23 +02:00
Lukasz Antoniak 5a1697a77e HHH-5025 - Comments 2011-05-26 22:54:24 +02:00
Lukasz Antoniak 97d2ee3dac HHH-5025 - RevisionType serialization fix and test 2011-05-26 22:19:55 +02:00
Adam Warski 8ff2f9d192 Merge pull request #76 from skowronm/HHH-6176
HHH-6176: Envers ignores custom comparators for SortedSets
2011-05-25 05:56:24 -07:00
Lukasz Antoniak 36e0d7eced HHH-5580 - Documentation fix 2011-05-23 19:42:58 +02:00
Michal Skowronek f07044a82f Added test cases for SortedMap
Fixed issue with custom comparators
2011-05-21 22:11:28 +02:00
Lukasz Antoniak e558538ca1 HHH-5580 - Cleanup 2011-05-21 13:35:36 +02:00
Lukasz Antoniak c2e53061f2 HHH-5580 - Cleanup 2011-05-21 12:49:37 +02:00
Lukasz Antoniak b146696ee5 HHH-5808 - Tests refactoring 2011-05-20 22:12:01 +02:00
Lukasz Antoniak c4f65ffd8e HHH-5808 - Code formatting 2011-05-19 21:39:31 +02:00
Lukasz Antoniak bcfa5ffed9 HHH-5808 - Fix and test 2011-05-19 21:30:13 +02:00
Lukasz Antoniak 403b15cae8 HHH-5580 - Query refactoring 2011-05-17 23:14:01 +02:00
Michal Skowronek fc7bb2162c Removed xml configuration-based test cases 2011-05-17 00:06:46 +02:00
Lukasz Antoniak 7dc925fcf6 HHH-5580 - Improving findEntityTypesChangedInRevision() method performance 2011-05-16 22:06:45 +02:00
Lukasz Antoniak 94590c5062 HHH-5580 - Naming 2011-05-16 19:29:57 +02:00
Lukasz Antoniak 1878b23850 HHH-5580 - Naming 2011-05-16 19:18:30 +02:00
Michal Skowronek c380da6950 Updated JIRA Keys 2011-05-15 19:52:36 +02:00
Michal Skowronek c49f7df178 Test cases for the Jira Issue HHH-6176 2011-05-15 19:40:51 +02:00
Lukasz Antoniak dd55a99b00 HHH-5580 - Using Criteria API in RevisionInfoQueryCreator 2011-05-15 00:46:54 +02:00
Lukasz Antoniak b36b095c3c HHH-5580 - Refactoring 2011-05-14 23:47:34 +02:00
Lukasz Antoniak 2ba3cc6dab HHH-5580 - Handle PersistentCollectionChangeWorkUnit 2011-05-08 00:40:14 +02:00
Lukasz Antoniak d1e092b471 HHH-5580 - Documentation update 2011-05-07 23:23:15 +02:00
Lukasz Antoniak 53699cecac HHH-5580 - Modified EntityTrackingRevisionListener interface 2011-05-07 19:06:21 +02:00
Lukasz Antoniak 88eda2b081 HHH-5580 - Query fix 2011-05-07 09:22:10 +02:00
Steve Ebersole 4ee0d4237d HHH-6198 - Split org.hibernate.event package into api/spi/internal 2011-05-04 18:20:53 -05:00
Steve Ebersole fb44ad936d HHH-6196 - Split org.hibernate.engine package into api/spi/internal 2011-05-04 17:15:47 -05:00
Steve Ebersole 36ba1bcafb HHH-6192 - Split org.hibernate.collection package up into api/sip/internal 2011-05-04 15:13:29 -05:00
Steve Ebersole c930ebcd7d HHH-6191 - repackage org.hibernate.cache per api/spi/internal split 2011-05-04 14:43:04 -05:00
adamw 5f607c6b9f HHH-6020: properly passing the JTA transaction setting to EJB3Configuration 2011-04-29 16:21:10 +02:00
Lukasz Antoniak 98342a7e2d HHH-5580 - Tracking entity names in revision 2011-04-27 23:49:22 +02:00
Steve Ebersole 3ec1928653 HHH-6163 - Need to fix location of envers integrator service file 2011-04-27 12:27:28 -05:00
Adam Warski 061fbc15b9 Merged pull request #68 from lukasz-antoniak/HHH-4787.
HHH-4787 - AuditProperty.isNull() query fix and tests
2011-04-27 05:46:32 -07:00
Steve Ebersole ff74ceaaa4 HHH-6155 - Migrate o.h.impl package to o.h.internal 2011-04-24 09:24:32 -05:00
Steve Ebersole 16e86687c9 HHH-6150 - JBoss AS7 integration work 2011-04-22 17:42:07 -05:00
Lukasz Antoniak d56089559c HHH-4787 - Clean up 2011-04-21 20:12:29 +02:00
Lukasz Antoniak 4810a48096 HHH-4787 - AuditProperty.isNull() query fix and tests 2011-04-21 20:04:16 +02:00
Steve Ebersole 53e0439880 HHH-6144 - Introduce ServiceRegistryBuilder 2011-04-20 15:58:10 -05:00
Lukasz Antoniak 86c15fd212 HHH-5276 - Refactoring 2011-04-19 19:19:00 +02:00
Lukasz Antoniak ac49a906e8 HHH-5276 - REVINFO in different database schema creation 2011-04-19 19:19:00 +02:00
adamw ddb79d1709 HHH-6069: fixing test & adding toString() on the entity 2011-04-19 17:27:08 +02:00
Lukasz Antoniak 255f2234e0 HHH-6069 - Tests moved 2011-04-19 17:27:08 +02:00
Lukasz Antoniak 33074dc2dc HHH-6069 - Tests moved 2011-04-19 17:27:08 +02:00
Lukasz Antoniak d7cc102b00 HHH-6069 - Escape entity fields name 2011-04-19 17:27:07 +02:00
Lukasz Antoniak 40f28ff69c HHH-4073 - Discriminator formula support in Envers 2011-04-13 19:12:44 +02:00
Steve Ebersole 6504cb6d78 HHH-6098 - Slight naming changes in regards to new logging classes 2011-04-08 09:44:13 -05:00
Steve Ebersole 9a81587505 HHH-6081 - Finish up Integrator 2011-04-06 13:54:03 -05:00
Steve Ebersole aad256c634 HHH-6081 - Finish up Integrator 2011-04-05 16:10:41 -05:00
adamw b95ebe7e5b HHH-6020: removing the testng tests file 2011-04-02 11:38:12 +02:00
adamw abf2d21279 HHH-6020: keeping the in-memory database open for the duration of the JVM lifetime - so that the JTA tests pass - otherwise after creating the tables, all connections are closed before executing tests, which causes the DB to be cleared. 2011-04-02 10:02:48 +02:00
adamw 8ac8b87d8c HHH-6020: fixing the jta exception listener test - different exception thrown 2011-04-02 10:01:59 +02:00
adamw 8c233312ce HHH-6020: some refactoring on how the JTA tests are done. All hibernate config is in the AbstractEntityTest now, instead of loading an xml file. 2011-04-02 09:03:46 +02:00
adamw e9f16e4a76 HHH-6014: ignoring the performance tests 2011-04-01 23:16:23 +02:00
adamw 3b83b6fd54 HHH-6014: The flush mode must be set before all test methods 2011-04-01 23:16:01 +02:00