2136 Commits

Author SHA1 Message Date
Hernan
4152b8e782 Removing isNotAudited() method. 2011-01-04 10:04:35 +01:00
Hernan
966f8c8339 - Creating abstract test with one session-per-test
- Fixing typo error.
2011-01-04 10:04:11 +01:00
Hernan
1b60529436 Removing isEntityClassNotAudited() and isEntityNameNotAudited() method for later discussion. 2011-01-04 10:03:55 +01:00
Hernan
a9454a7590 Removing isEntityClassNotAudited() and isEntityNameNotAudited() method for later discussion. 2011-01-04 10:03:50 +01:00
Hernan
b8c4784630 HHH-5588
Removing EnversExeption and using HibernateException instead.
2011-01-04 10:03:45 +01:00
Hernan
87c5387346 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 10:03:37 +01:00
Hernan
c5da60f748 Let the subclasses redefine the configuration file name overriding getHibernateConfigurationFileName() method. 2011-01-04 10:03:31 +01:00
Hernan
57fbeaf2f9 Creating a generic envers exception 2011-01-04 10:03:18 +01:00
Hernan
9350dee139 Resolving HHH-5588: Improve support for entityNames in envers.
When instantiating an historic entity, envers put its entityName on the cache for future uses.
2011-01-04 10:03:04 +01:00
Hernan
d216118829 Resolving HHH-5588: Improve support for entityNames in envers.
Adding isNotAudited for determine if an entity is marked as @Audited(NOT_AUDITED)
2011-01-04 10:02:30 +01:00
Hernan
4be9b84856 Resolving HHH-5588: Improve support for entityNames in envers.
Adding entityNameCache for resolving entityNames in envers.
2011-01-04 10:02:24 +01:00
Hernan
c032502969 Resolving HHH-5588: Improve support for entityNames in envers.
Adding methods for knowing if an entityName is marked to be resolved by core (@Audited(targetAuditMode='NOT_AUDITED')
	isEntityNameNotAudited()

Adding method to resolve the entityName for an entity retrieved previously by envers.
	getEntityName()
2011-01-04 10:02:19 +01:00
Strong Liu
f3feba66ce HHH-5806 rollback the test info 2010-12-23 18:13:06 +08:00
Strong Liu
cc3830d18b HHH-5806 mapping static inner class causes hsqldb tests fails 2010-12-23 17:51:50 +08:00
Erik-Berndt Scheper
db62fa7dbe HHH-5750 - Added license header 2010-12-22 11:51:04 +01:00
Erik-Berndt Scheper
5e556466ba HHH-5750 - Proxied objects lose the temporary session used to initialize them 2010-12-22 10:54:00 +01:00
Gail Badner
794fa9b5ef HHH-5325 : Improvements to test suite (fixes HQLDB 2.0 failures) 2010-12-20 16:43:17 -08:00
Galder Zamarreño
35eb737e21 HHH-5793 - Query and timestamp caches to use cluster cache loader
Make evict put calls skip the cache loader since previous value is not
needed.
2010-12-20 11:12:22 +01:00
Gail Badner
3973bf3d53 HHH-5791 : NPE merging transient entity with non-nullable property set to null with delayed insert if check_nullability set to false 2010-12-17 16:58:52 -08:00
Hardy Ferentschik
d333d98f58 HHH-5736 Removing unnecessary instance check. Applying Hibernate formatting. 2010-12-17 15:40:55 +01:00
Hardy Ferentschik
0b2d6da3a3 HHH-5736 Removing unnecessary instance check. Applying Hibernate formatting. 2010-12-17 15:40:55 +01:00
Hardy Ferentschik
787d66b3f3 HHH-5736 Adding actual asserts to the tests and adding some new tests 2010-12-17 15:40:55 +01:00
Vyacheslav Dimitrov
96b1d008d3 HHH-5736 Fixed tests 2010-12-17 15:40:55 +01:00
Vyacheslav Dimitrov
1909de8511 HHH-5736 Fixed problem with "not" function of CriteriaBuilder 2010-12-17 15:40:55 +01:00
Hardy Ferentschik
c109bec708 HHH-5794 Adding/Updating license headers 2010-12-16 16:15:21 +01:00
David M. Carr
b32e07947a HHH-5794 Remove extraneous comments from test entity. 2010-12-16 16:15:11 +01:00
David M. Carr
e739e47219 HHH-5794 More changeset cleanup. 2010-12-16 16:15:03 +01:00
David M. Carr
a750936158 HHH-5794 Tidy up the changeset a little. 2010-12-16 16:14:55 +01:00
David M. Carr
0c23e5870c HHH-5794 Enhance the test to cover additional mapping elements, and implement support for them. 2010-12-16 16:14:44 +01:00
David M. Carr
ce9343bbd2 HHH-5794 Add support for map-key-class in orm.xml 2010-12-16 16:14:33 +01:00
dcarr
dc95057f4d HHH-5794 Enhance Ejb3XmlTest to try to persist an entity mapped using <map-key-class> in the orm.xml 2010-12-16 16:13:37 +01:00
Galder Zamarreño
38b3d8f5bd HHH-5793 - Query and timestamp caches to use cluster cache loader
* Remove unnecessary dependency.
2010-12-15 19:29:39 +01:00
Galder Zamarreño
c7decef9b1 HHH-5793 - Query and timestamp caches to use cluster cache loader
* Query and timestamp caches now use cluster cache loader instead of
state transfer in order to remain asynchronous.
* To maintain previous semantics, after query or timestamp regions have
been completely evicted, a check has been added to avoid going remote if
the region was invalid.
2010-12-15 19:29:36 +01:00
Strong Liu
cef14a6ee2 HHH-5776 Hibernate documentation: images missing due to links pointing to file:/NotBackedUp/gbadner 2010-12-14 21:59:42 +08:00
Strong Liu
9c5fdba566 HHH-5727 Collection member declaration not handling optional AS in HQL. 2010-12-14 04:43:06 +08:00
Strong Liu
570581a514 HHH-5727 Collection member declaration not handling optional AS in HQL. 2010-12-14 04:34:11 +08:00
Emmanuel Bernard
77f6e9c05e Fix minor typos in the Dialect JavaDocs 2010-12-10 14:33:27 +01:00
adamw
e4315140d1 Refactoring the norevision tests: checking explicitly the revision numbers, introducing an abstract common class 2010-12-08 19:56:04 +01:00
adamw
0168ffa83c Merge branch '3.6' of https://github.com/rsvato/hibernate-core into 3.6 2010-12-08 19:27:00 +01:00
Svyatoslav Reyentenko
350801542c Moved hbm.xml -> annotations. 2010-12-06 23:44:14 +03:00
Strong Liu
5b318b4aaf HHH-5725 rollback SqlServerDialect 2010-12-03 23:39:03 +08:00
Strong Liu
1b9f41fd5f update document for the new adding dialect and also updated some steal dialect info 2010-12-03 23:25:32 +08:00
Strong Liu
722a1b3851 HHH-5726 update test case 2010-12-03 23:25:32 +08:00
Strong Liu
7f1ba74947 update StandardDialectResolver to return correct dialect for ms sql server 2010-12-03 23:25:31 +08:00
Yoryos Valotasios
6bd9bb8ba2 SQLServer2005Dialect: Made some comments more specific 2010-12-03 23:25:31 +08:00
Yoryos Valotasios
5cfdbc7c22 SQLServer2005Dialect: removed useless commented code 2010-12-03 23:25:31 +08:00
Yoryos Valotasios
8040c6e32d SQLServer2005Dialect: Moved the small methods on top of the class 2010-12-03 23:25:31 +08:00
Yoryos Valotasios
91e93fd617 Added some comments 2010-12-03 23:25:31 +08:00
Yoryos Valotasios
480ae72db6 SQLServer2005Dialect: modifications in order to support variable limit 2010-12-03 23:25:31 +08:00
Yoryos Valotasios
7df41185c5 Dialect: Improved exception messages by adding the dialect class name 2010-12-03 23:25:31 +08:00