Commit Graph

2225 Commits

Author SHA1 Message Date
Steve Ebersole b1bbdebd27 HHH-5550 - Hibernate.createBlob() fails when used in current_session_context_class=thread mode 2011-01-21 14:16:23 -06:00
Steve Ebersole b3967db041 HHH-5821 - JPA EntityType's (or ManagedType's) getSingularAttributes() returns the version attribute with isVersion set to false. 2011-01-21 14:04:26 -06:00
Gail Badner d519d8c425 HHH-5681 : Packaged jar has file with absolute patch 2011-01-21 11:06:15 -08:00
Steve Ebersole 13b3222a5c HHH-5823 - Poor multithread performance in UpdateTimestampsCache class 2011-01-21 12:39:59 -06:00
Steve Ebersole 82aea1ba45 HHH-5824 - Poor multithread performance in SessionFactoryImpl.getQueryCache method 2011-01-21 12:09:46 -06:00
Steve Ebersole a1266b9103 HHH-5550 - Hibernate.createBlob() fails when used in current_session_context_class=thread mode 2011-01-21 11:07:10 -06:00
Steve Ebersole bbc338c053 HHH-5853: Problem loading cachable collections defined with a property-ref key 2011-01-20 13:01:13 -06:00
Hardy Ferentschik 3cfb1904e5 HHH-5843 Adding a log.isTraceEnabled call before the actual log call
Not really related to the HQL parsing, but it is also a small logging performance change
2011-01-19 10:13:49 +01:00
Sanne Grinovero bfa3a0e32b HHH-5843 - Avoid useless branches during HQL parsing when trace logging is disabled 2011-01-19 10:13:49 +01:00
Gail Badner 3b9c57c0ce HHH-5695 : Test case for derived ID with bidirectional one-to-one 2011-01-17 13:43:44 -08:00
Gail Badner 1968662e4a HHH-5359 : Derived entity use case fails when the association is bidirectional 2011-01-17 12:15:20 -08:00
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