Commit Graph

110 Commits

Author SHA1 Message Date
Steve Ebersole e79eae88bc HHH-5853: Problem loading cachable collections defined with a property-ref key with a versioned owner 2011-01-20 15:12:52 -06:00
Hardy Ferentschik cb7cd71fdf 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:05:37 +01:00
Hardy Ferentschik 3bf6625ab1 Merge branch 'HHH-5843' of git://github.com/Sanne/hibernate-core into Sanne-HHH-5843 2011-01-19 09:27:21 +01:00
Gail Badner 126592a55d HHH-5695 : Test case for derived ID with bidirectional one-to-one 2011-01-17 13:50:39 -08:00
Gail Badner a6d19f257b Merge branch 'master' of github.com:hibernate/hibernate-core 2011-01-17 12:26:43 -08:00
Gail Badner 15cc1e7493 HHH-5359 : Derived entity use case fails when the association is bidirectional 2011-01-17 12:25:16 -08:00
Sanne Grinovero adbe3920f1 HHH-5843 - Avoid useless branches during HQL parsing when trace logging is disabled 2011-01-14 16:31:01 +00:00
Emmanuel Bernard 60857d3966 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 16:03:44 +01:00
Emmanuel Bernard 0600527a6b HHH-5280 Add test failing on multiple owners 2011-01-14 15:52:43 +01: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
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
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
Strong Liu f97d02c61b HHH-5806 mapping static inner class causes hsqldb tests fails 2010-12-23 17:54:37 +08: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 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 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
Gail Badner 7262276fa9 HHH-5778 : Wire in new batch code 2010-12-15 12:36:23 -08: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 e7daff9d93 HHH-5782 HHH-5783 : Remove "throws SQLException" from ConnectionManager methods; ConnectionManager should set timeout 2010-12-09 20:23:08 -08: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
Gail Badner 97fef96b98 HHH-5765 : Integrate LogicalConnection into ConnectionManager 2010-12-02 11:16:10 -08:00
Gail Badner da1750881a HHH-5765 : changed ConnectionManager.Callback to extend ConnectionObserver 2010-11-30 22:47:28 -08:00
Gail Badner fda684a5a6 HHH-5765 : remove dialect and connection provider from Settings 2010-11-30 20:31:53 -08:00
Gail Badner 3ca8216c7c HHH-5765 : Wire in SQLExceptionHelper for converting SQLExceptions 2010-11-30 18:50:34 -08:00
Gail Badner 91d444423b HHH-5765 : Wire in dialect factory and resolvers from service registry 2010-11-30 14:31:30 -08:00
Gail Badner 88543c7a58 HHH-5765 : Wire in connection provider from service registry 2010-11-30 11:38:53 -08:00
Strong Liu 5aed6b19cb HHH-5726 update test case 2010-11-29 18:11:44 +08:00
Strong Liu 915d6f9eea update StandardDialectResolver to return correct dialect for ms sql server 2010-11-29 17:38:31 +08:00
Strong Liu 01dd9a44e5 Merge branch 'mssql2005' of https://github.com/valotas/hibernate-core into valotas-mssql2005 2010-11-29 16:57:03 +08:00