57 Commits

Author SHA1 Message Date
Lukasz Antoniak
88eda2b081 HHH-5580 - Query fix 2011-05-07 09:22:10 +02:00
Lukasz Antoniak
98342a7e2d HHH-5580 - Tracking entity names in revision 2011-04-27 23:49:22 +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
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