Commit Graph

2336 Commits

Author SHA1 Message Date
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
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