Commit Graph

2259 Commits

Author SHA1 Message Date
Steve Ebersole 144dde0080 HHH-5550 - Hibernate.createBlob() fails when used in current_session_context_class=thread mode 2011-02-23 15:05:11 -06:00
Steve Ebersole 7c3aafb7c2 HHH-5853: Problem loading cachable collections defined with a property-ref key with a versioned owner 2011-02-23 15:02:22 -06:00
Sanne Grinovero 2641842ba9 HHH-5843 - Avoid useless branches during HQL parsing when trace logging is disabled 2011-02-23 13:04:19 -06:00
JPAV 19bc3ba7fc Modified infinispan module's build to exclude older version of jboss-logging library 2011-02-22 16:28:42 -06:00
JPAV ece77365dc Updated to work with latest releases of jboss-logging and jboss-logging-tools 2011-02-16 16:14:27 -06:00
JPAV 9b725c471c Attempt to compile twice, once only for annotations, then for everything else 2011-02-09 15:23:05 -06:00
JPAV c7f09e5130 Attempt to compile twice, once only for annotations, then for everything else 2011-02-09 13:05:57 -06:00
JPAV acf89b9e68 Changes from requests at Hibernate meeting: message codes, use XXXf methods for debug and trace, use @Cause 2011-02-08 14:01:34 -06:00
JPAV 8c806d361d Changes from requests at Hibernate meeting: message codes, use XXXf methods for debug and trace, use @Cause 2011-02-08 13:55:27 -06:00
JPAV c26763c2e9 Added used of @Cause to log messages 2011-01-25 14:54:39 -06:00
JPAV af24178145 Give each project a single logger 2011-01-18 16:01:00 -06:00
JPAV 3712e1ad7e Give each project a single logger 2011-01-18 16:00:59 -06:00
JPAV 9b7eb48b55 Replaced references to slf4j with references to new jboss.logging.Logger implementations and i18n'd where it was clear how to do so. 2011-01-18 15:35:50 -06:00
JPAV a9b1425f3f Replaced references to slf4j with references to new jboss.logging.Logger implementations and i18n'd where it was clear how to do so. 2011-01-18 15:35:49 -06: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
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
Sanne Grinovero af81f187b4 HHH-5838 - Proxool connection pool should only close pools it opened 2011-01-13 18:34:48 +00:00
Sanne Grinovero 90bb8634df HHH-5838 - Proxool connection pool should only close pools it opened 2011-01-13 11:49:42 +00:00
Sanne Grinovero 3fab254606 HHH-5839 - non-utf8 characters in AuditReaderImpl 2011-01-13 11:46:15 +00:00
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