Commit Graph

585 Commits

Author SHA1 Message Date
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
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 773d0793f1 HHH-4751 - Fix and test 2012-08-16 10:34:16 +02:00
Lukasz Antoniak 9aa88b9a24 HHH-7157 - Fix and test 2012-08-07 19:07:56 +02: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 b0bdda1141 consolidate src/test and src/matrix 2012-06-07 14:12:06 -05:00
Strong Liu c84fb01c22 HHH-6740 run envers tests on db matrix 2011-10-18 12:29:45 +08: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
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
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 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 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
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 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 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 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
Michal Skowronek f07044a82f Added test cases for SortedMap
Fixed issue with custom comparators
2011-05-21 22:11:28 +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
Michal Skowronek fc7bb2162c Removed xml configuration-based test cases 2011-05-17 00:06:46 +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 b36b095c3c HHH-5580 - Refactoring 2011-05-14 23:47:34 +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 fb44ad936d HHH-6196 - Split org.hibernate.engine package into api/spi/internal 2011-05-04 17:15:47 -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
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 16e86687c9 HHH-6150 - JBoss AS7 integration work 2011-04-22 17:42:07 -05: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 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
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
adamw 0b844b609b HHH-6014: Adding @Priority(10) to all initData methods. 2011-04-01 23:12:53 +02:00
adamw 9165b0c235 HHH-6014: Adding a priority annotation. Higher test method priority means that the method will be executed first. 2011-04-01 23:12:52 +02:00
adamw 8e1110634f HHH-6014: Making the runnable work from command line 2011-04-01 23:12:51 +02:00
adamw fb512cdc25 HHH-6014: Migrating the tests from testng to junit 2011-04-01 21:40:09 +02:00
adamw 26b5e1afa8 HHH-6014: A JUnit test runner for Envers, which uses the CustomTestRunner and wraps it with a Parametrized test runner, so that tests are run with two audit strategies 2011-04-01 21:40:08 +02:00
adamw 8e2619c31e Updating the failing JtaTransaction test - for some reason, only with the JTA config, the test entity table isn't created, although the log contains the schema export messages, create table statements etc. 2011-03-31 18:31:41 +02:00
Steve Ebersole 753b95729a HHH-5913 - Implement set of event listeners as a service 2011-03-28 08:03:11 -05:00
Steve Ebersole 6a180aaa1f HHH-5913 - Implement set of event listeners as a service 2011-03-28 07:55:45 -05:00
Steve Ebersole 815baf4348 HHH-6051 - Create a sessionfactory scoped ServiceRegistry 2011-03-24 22:18:38 -05:00
Steve Ebersole 731d00fd6d HHH-6047 - allow nesting of ServiceRegistry 2011-03-24 14:38:58 -05:00
Steve Ebersole 718d56e267 HHH-6013 - Consolidate on single JTA impl for testing 2011-03-16 13:38:14 -05:00
Steve Ebersole 1c203f35ec HHH-5942 - Migrate to JUnit 4 2011-03-14 13:14:07 -05:00
JPAV 346418c4ef Final sync with upstream master 2011-03-08 16:19:57 -06:00
Gail Badner 7243d04541 HHH-5941 : remove deprecated set(), nullSafeSet(), get(), nullSafeGet() methods and add SessionImplementer argument to UserType.nullSafeGet()/nullSafeSet() 2011-02-25 16:29:09 -08:00
JPAV 79080f74d6 sync with master 2011-02-24 16:18:35 -06:00
Steve Ebersole 0c5526f724 HHH-5765 - Replaced ServiceRegistryHolder with ServiceRegistryBuilder 2011-02-23 16:27:31 -06:00
Brian Parker e7d19bb4da Apply read and write expressions to the revision entity. 2011-02-23 15:32:25 -06:00
adamw 2ccc73454a HHH-5883: Fixing - @Lob annotated field throws MappingException when the field type is serializable 2011-02-23 15:20:38 -06:00
Steve Ebersole 39d2d53968 HHH-5765 - Replaced ServiceRegistryHolder with ServiceRegistryBuilder 2011-02-21 23:41:17 -06:00
Brian Parker c61606c458 Apply read and write expressions to the revision entity. 2011-02-14 18:05:22 +01:00
JPAV 8c806d361d Changes from requests at Hibernate meeting: message codes, use XXXf methods for debug and trace, use @Cause 2011-02-08 13:55:27 -06:00
adamw d8772c04a8 HHH-5883: Fixing - @Lob annotated field throws MappingException when the field type is serializable 2011-01-31 12:35:11 +01:00
JPAV af24178145 Give each project a single logger 2011-01-18 16:01:00 -06:00
JPAV 3712e1ad7e Give each project a single logger 2011-01-18 16:00:59 -06:00
Hernán Chanfreau 0541cbf966 Adding 'serviceRegistryHolder' instance variable due to changes commited on master for Configuration class 2011-01-04 09:36:55 +01:00
Hernan 1a081d29cb Replacion deprecated AnnotationConfiguration with Configuration. 2011-01-04 09:36:55 +01:00
Hernan fe31aeda16 - Creating abstract test with one session-per-test
- Fixing typo error.
2011-01-04 09:36:54 +01:00
Hernan 102faba8f4 Removing isEntityClassNotAudited() and isEntityNameNotAudited() method for later discussion. 2011-01-04 09:36:54 +01:00
Hernan c981bef5c1 HHH-5588: Improve support for entityNames in envers
Extending test cases for testing resolution for entityNames for entities retrieved previously by envers
2011-01-04 09:36:54 +01:00
Hernan 80ef651e4a Let the subclasses redefine the configuration file name overriding getHibernateConfigurationFileName() method. 2011-01-04 09:36:54 +01:00
Erik-Berndt Scheper 6ac46d506b HHH-5750 - Added license header 2010-12-22 11:47:09 +01:00
Erik-Berndt Scheper f125f06c45 HHH-5750 - Proxied objects lose the temporary session used to initialize them 2010-12-22 11:37:07 +01:00
adamw 4e102c68c1 Refactoring the norevision tests: checking explicitly the revision numbers, introducing an abstract common class 2010-12-09 09:03:48 +01:00
Svyatoslav Reyentenko 76b59a702c Moved hbm.xml -> annotations. 2010-12-09 09:03:44 +01:00
Svyatoslav Reyentenko c2ba8360c8 Tests are slightly changed to do more work 2010-12-09 09:03:41 +01:00
Svyatoslav Reyentenko e831e29435 Ignore collection changes if no revision on collection change is set 2010-12-09 09:03:35 +01:00
Svyatoslav Reyentenko fd54b2df56 Test for creating revision on collection change 2010-12-09 09:03:28 +01:00
Gail Badner 88543c7a58 HHH-5765 : Wire in connection provider from service registry 2010-11-30 11:38:53 -08:00
Hernán Chanfreau 65e14bb39b Fix for HHH-4646 and HHH-5177
Adding tests cases:
- MappedSuperclass audited at class level with a NotAuditedSubclass and:
	- Audited subclass at class level
	- Audited subclass at method/field level
- MappedSuperclass audited at method/field level with a NotAuditedSubclass and:
	- Audited subclass at class level
	- Audited subclass at method/field level
2010-10-29 19:57:47 +02:00
Hernán Chanfreau 5b782a83ea HHH-4646 and HHH-5177
Deleting obsolete tests
2010-10-29 19:57:47 +02:00
Steve Ebersole 2443fede65 HHH-5616 - Switch to Gradle for builds .. incorrect .gitignore 2010-10-11 17:43:42 -05:00
Steve Ebersole e21fed8304 HHH-5616 - Switch to Gradle for builds .. envers 2010-10-11 14:41:48 -05:00