Commit Graph

2299 Commits

Author SHA1 Message Date
Emmanuel Bernard dad565b22b HHH-5816 Expose list of modified properties in PostUpdateEvent 2011-01-04 16:02:18 +01:00
adamw 1394d52bad Merge branch '3.6' of github.com:hibernate/hibernate-core into 3.6 2011-01-04 10:09:40 +01:00
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
Hardy Ferentschik 6b635a1472 Merge branch '3.6' of github.com:hibernate/hibernate-core into 3.6 2011-01-03 18:37:18 +01:00
Hardy Ferentschik 15607fdcfa HHH-5800 This test now also derives from HibernateTestCase. This way the test aligned with the tests added for this issue.
In order to backport from trunk I also added an empty implementation of closeResource() to the test classes
2011-01-03 18:16:24 +01:00
Hardy Ferentschik 56276dc878 HHH-5800 Formatting 2011-01-03 18:13:33 +01:00
Hardy Ferentschik a2a2e64361 HHH-5800 Applying Hibernate code formatting style 2011-01-03 18:06:22 +01:00
davidmc24 1911629741 HHH-5800 Fix override handling for associations as per chapter 12 of the JPA 2.0 specification.
Some subelements should merge with Java annotations in some contexts (such as directly within an entity) but not in others (such as in an association mapping).  The methods to handle these elements were enhanced to be aware of these two different modes through the use of a boolean flag.
2011-01-03 18:06:22 +01:00
davidmc24 f577191be3 HHH-5800 Add tests for element-collection orm XML support 2011-01-03 18:06:22 +01:00
davidmc24 176f7e77ec HHH-5800 Add tests for many-to-many orm XML support 2011-01-03 18:06:21 +01:00
davidmc24 463f694493 HHH-5800 Add tests for one-to-one orm XML support 2011-01-03 18:06:21 +01:00
davidmc24 9ae8e5f1d4 Attempt to match Hibernate code conventions 2011-01-03 18:06:20 +01:00
davidmc24 926c35a1b5 HHH-5800 Add tests for one-to-many orm XML support 2011-01-03 18:06:20 +01:00
davidmc24 57f5dce48c HHH-5800 Add tests and fixes for many-to-one orm XML support 2011-01-03 18:06:20 +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