Commit Graph

2287 Commits

Author SHA1 Message Date
Galder Zamarreño 04da27507e HHH-5793 - All put/remove calls should skip cache load and remote get 2011-01-12 15:14:21 +01:00
Gail Badner e024adebe7 HHH-5817 : Passing char[] or byte[] to equal function of CriteriaBuilder throws ClassCastException (Vyacheslav Dimitrov) 2011-01-11 18:18:17 -08:00
Gail Badner 1c158b0bb7 HHH-5826 : SerializationHelper.resolveClass() never tries loader3 2011-01-11 17:21:08 -08:00
Gail Badner ca057ccb4c HHH-5717 : LockOptions not set correctly for queries 2011-01-07 16:35:26 -08:00
Galder Zamarreño 0a9e201a01 HHH-5793 - Apply skip cache load optimization to timestamp updates 2011-01-07 16:40:03 +01:00
Gail Badner 35bf5300c3 Merge branch 'HHH-5811-ByteArrayLob' 2011-01-04 12:59:24 -08:00
Gail Badner a45ada43e2 HHH-5811 : flush causes update on unchanged Byte[] field 2011-01-04 12:58:09 -08:00
Emmanuel Bernard 20f8a8e2d3 HHH-5816 Expose list of modified properties in PostUpdateEvent 2011-01-04 15:45:02 +01: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 83b1f22ea9 Removing isNotAudited() method. 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 323d9dd16e Removing isEntityClassNotAudited() and isEntityNameNotAudited() method for later discussion. 2011-01-04 09:36:54 +01:00
Hernan 89393c5e9e HHH-5588
Removing EnversExeption and using HibernateException instead.
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
Hernan 188ec620e8 Creating a generic envers exception 2011-01-04 09:36:53 +01:00
Hernan 46660fd045 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 09:36:53 +01:00
Hernan 7ec8c11327 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 09:36:53 +01:00
Hernan eaeb4f8343 Resolving HHH-5588: Improve support for entityNames in envers.
Adding entityNameCache for resolving entityNames in envers.
2011-01-04 09:36:53 +01:00
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