Commit Graph

2216 Commits

Author SHA1 Message Date
Hernan 328c098ab9 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 09:36:53 +01:00
Hardy Ferentschik dc91727742 HHH-5800 This test now also derives from HibernateTestCase. This way the test is aligned with the tests added for this issue. 2011-01-03 16:58:46 +01:00
Hardy Ferentschik 95c23b6f50 HHH-5800 Applying Hibernate code formatting style 2011-01-03 16:55:30 +01:00
davidmc24 bde29a52d2 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-01 18:34:11 -05:00
davidmc24 99c4ecef99 HHH-5800 Add tests for element-collection orm XML support 2011-01-01 14:46:49 -05:00
davidmc24 af1e078f83 HHH-5800 Add tests for many-to-many orm XML support 2011-01-01 14:46:48 -05:00
davidmc24 33d9cbaa76 HHH-5800 Add tests for one-to-one orm XML support 2011-01-01 14:46:48 -05:00
davidmc24 e0b06e8a57 Attempt to match Hibernate code conventions 2011-01-01 14:46:47 -05:00
davidmc24 6de52c2db3 HHH-5800 Add tests for one-to-many orm XML support 2011-01-01 14:46:47 -05:00
davidmc24 9bdd76b0e7 HHH-5800 Add tests and fixes for many-to-one orm XML support 2011-01-01 14:46:47 -05:00
Erik-Berndt Scheper c06cac6b36 HHH-5807 - Weird characters in license headers lead to compilation errors with UTF-8 character set 2010-12-23 11:49:30 +01:00
Strong Liu f97d02c61b HHH-5806 mapping static inner class causes hsqldb tests fails 2010-12-23 17:54:37 +08:00
Strong Liu ed48037692 Merge branch 'master' of github.com:hibernate/hibernate-core 2010-12-23 17:52:50 +08: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
Greg Luck 1dc7317694 Create new Ehcache CacheRegionFactory implementation. This delegates to underlying classes in Ehcache. 2010-12-21 15:24:50 +10:00
Gail Badner bf6bd51c7e HHH-5325 : Improvements to test suite (fixes HQLDB 2.0 failures) 2010-12-20 17:27:10 -08:00
Gail Badner 0ffe3690ec Merge branch 'master' of github.com:hibernate/hibernate-core 2010-12-20 16:43:41 -08:00
Galder Zamarreño 863864fcce 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:11:52 +01:00
Gail Badner 262f25311d 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:10:33 -08:00
Gail Badner 4fa467a8a4 Merge branch 'master' of github.com:hibernate/hibernate-core 2010-12-17 10:42:17 -08:00
Hardy Ferentschik 2b7573febb HHH-5736 Removing unnecessary instance check. Applying Hibernate formatting. 2010-12-17 15:54:32 +01:00
Hardy Ferentschik ed89cef855 HHH-5736 Removing unnecessary instance check. Applying Hibernate formatting. 2010-12-17 15:54:32 +01:00
Hardy Ferentschik 18ed85a0cd HHH-5736 Adding actual asserts to the tests and adding some new tests 2010-12-17 15:54:32 +01:00
Vyacheslav Dimitrov a4fdb870f2 HHH-5736 Fixed tests 2010-12-17 15:54:32 +01:00
Vyacheslav Dimitrov 0c05f66f8d HHH-5736 Fixed problem with "not" function of CriteriaBuilder 2010-12-17 15:54:31 +01:00
Gail Badner 66f8e90e7c Merge branch 'HHH-5778-batch' 2010-12-16 23:59:10 -08:00
Gail Badner 1f0c74cb5e HHH-5778 : Wire in new batch code 2010-12-16 17:36:18 -08:00
Hardy Ferentschik e5da3bf149 HHH-5794 Adding/Updating license headers 2010-12-16 15:33:00 +01:00
David M. Carr 66f7018b9d Remove extraneous comments from test entity. 2010-12-16 15:33:00 +01:00
David M. Carr 48f5b51ca7 More changeset cleanup. 2010-12-16 15:33:00 +01:00
David M. Carr 5cbffa051d Tidy up the changeset a little. 2010-12-16 15:33:00 +01:00
David M. Carr 13f25fe72f Enhance the test to cover additional mapping elements, and implement support for them. 2010-12-16 15:32:59 +01:00
David M. Carr 363aa25c55 Add support for map-key-class in orm.xml 2010-12-16 15:32:59 +01:00
dcarr 7d884f4bb6 Enhance Ejb3XmlTest to try to persist an entity mapped using <map-key-class> in the orm.xml 2010-12-16 15:32:59 +01:00
Strong Liu 998c28f6e0 upgrade the wrappered gradle to 0.9-rc-3 2010-12-16 22:18:26 +08:00
Gail Badner 7262276fa9 HHH-5778 : Wire in new batch code 2010-12-15 12:36:23 -08:00
Galder Zamarreño b3aa9e0c28 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:30:56 +01:00
Strong Liu 4c7983151c HHH-5727 Collection member declaration not handling optional AS in HQL. 2010-12-14 04:53:15 +08:00
Emmanuel Bernard 55e27c3825 Fix minor typos in the Dialect JavaDocs 2010-12-10 14:19:20 +01:00
Gail Badner 64c2d4846f Merge branch 'master' of github.com:hibernate/hibernate-core 2010-12-09 20:35:48 -08:00
Gail Badner e7daff9d93 HHH-5782 HHH-5783 : Remove "throws SQLException" from ConnectionManager methods; ConnectionManager should set timeout 2010-12-09 20:23:08 -08: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 b006a6c3c5 HHH-5765 : Refactor JDBCContext/ConnectionManager spi/impl and to use new proxies 2010-12-08 17:23:44 -08:00
Strong Liu cc4055d50c merge https://github.com/hibernate/hibernate-core/pull/20 2010-12-03 22:39:38 +08:00
Strong Liu 12a0baeaa4 update document for the new adding dialect and also updated some steal dialect info 2010-12-03 22:30:51 +08:00