2164 Commits

Author SHA1 Message Date
Emmanuel Bernard
c970435b74 HHH-5280 Fix excessive caching of the owner
An entity can have more than one owner 
(eg 2 unidirectional collections pointing to same object)
Make the cache filter by type
2011-01-14 15:34:46 +01:00
Emmanuel Bernard
74911669a0 balh 2011-01-14 15:27:30 +01:00
Emmanuel Bernard
af7095781e blah 2011-01-14 14:58:23 +01:00
Emmanuel Bernard
2e9bb1a4b4 HHH-5280 Add test failing on multiple owners 2011-01-14 14:42:16 +01:00
Sanne Grinovero
7757bb1148 HHH-5838 - add a unit test and call shutdown in case of single pool 2011-01-13 18:03:54 +00:00
Sanne Grinovero
2d4027c3b6 HHH-5838 - Proxool connection pool should only close pools it opened 2011-01-13 11:24:48 +00:00
Strong Liu
356db47d58 HHH-5776 Hibernate documentation: images missing due to links pointing to file:/NotBackedUp/gbadner 2011-01-13 13:12:44 +08:00
Galder Zamarreño
66f555e52a HHH-5793 - All put/remove calls should skip cache load and remote get 2011-01-12 15:14:53 +01:00
Gail Badner
287f67d0b4 HHH-5817 : Passing char[] or byte[] to equal function of CriteriaBuilder throws ClassCastException (Vyacheslav Dimitrov)) 2011-01-11 18:14:05 -08:00
Gail Badner
644eaf424a Merge branch '3.6' of github.com:hibernate/hibernate-core into 3.6 2011-01-11 16:30:59 -08:00
Gail Badner
76d7f9bf3c HHH-5826 : SerializationHelper.resolveClass() never tries loader3 2011-01-11 16:25:44 -08:00
Hardy Ferentschik
e499a76ec5 HHH-5657 exclude .git from project fileset 2011-01-11 15:00:30 +01:00
Gail Badner
5c236d66a3 HHH-5717 : LockOptions not set correctly for queries 2011-01-07 15:54:48 -08:00
Galder Zamarreño
c7969ac883 HHH-5793 - Apply skip cache load optimization to timestamp updates 2011-01-07 16:39:34 +01:00
Gail Badner
4f95c3dd8d HHH-5811 : flush causes update on unchanged Byte[] field 2011-01-04 15:52:59 -08:00
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