440 Commits

Author SHA1 Message Date
Steve Ebersole
bec1835baf HHH-4870 - Cannot determine java-type from given member [null]
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19141 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-03-30 19:36:43 +00:00
Gail Badner
fe7d83566c HHH-2088 : TypeMismatchException on object equality expression from one-to-one relationship
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19136 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-03-30 01:05:18 +00:00
Strong Liu
374d6ff693 HHH-4998 org.hibernate.test.hql.ASTParserLoadingTest failure running testStr with Ingres
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19122 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-03-28 15:48:54 +00:00
Gail Badner
b185946c81 DefaultMergeEventListener does not call Interceptor.instantiate() for a new persistent entity (Francesco Degrassi)
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19117 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-03-26 22:53:04 +00:00
Gail Badner
3ad551a88a HHH-1088 : Add support for projections using composite keys and components
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19110 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-03-24 19:18:08 +00:00
Strong Liu
186e9fc115 HHH-4907 Support for tuple syntax in HQL/Criteria on databases which do not support tuple syntax
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19109 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-03-24 18:24:39 +00:00
Steve Ebersole
f9949b0295 HHH-5009 - Support NOWAIT for "SELECT ... FOR UPDATE" with JPA interfaces
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19095 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-03-24 14:37:56 +00:00
Emmanuel Bernard
8bd2ab12ec HHH-4989 Use a JDK 5 concurrent safe statistics impl when required classes are present, fallback to the existing one otherwise (Alex Snaps)
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19094 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-03-24 12:18:25 +00:00
Steve Ebersole
4404b78be8 HHH-5008 - Log query lock mode in EntityLoader constructor
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19075 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-03-22 17:58:43 +00:00
Strong Liu
2796240cf5 HHH-2997 LikeExpression case sensitive not working properly
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19026 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-03-18 21:49:48 +00:00
Strong Liu
e0694c871b HHH-4946 org.hibernate.test.legacy.FooBarTests testLimit failure with Ingres
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18999 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-03-15 12:49:58 +00:00
Gail Badner
9f1444eb15 HHH-4993 : Updates to read-only entity associations made while in persistent state are ignored by flush
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18954 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-03-10 10:25:03 +00:00
Gail Badner
268e778d5c HHH-4958 : Immutable entity snapshot is retained after insert
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18953 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-03-10 09:59:43 +00:00
Strong Liu
e699570e60 HHH-4931 improve Ingres dialect supports
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18948 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-03-09 21:02:15 +00:00
Steve Ebersole
97444b2d2d Updating pom versions to 3.5.0-SNAPSHOT for release tagging
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18879 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-25 03:50:02 +00:00
Steve Ebersole
9bba4e970b Updating pom versions to 3.5.0-CR-2 for release tagging
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18877 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-25 03:49:36 +00:00
Gail Badner
3df8bc5712 HHH-4809 : Immutable entities added to a session have Status.MANAGED unless loaded by the Session
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18873 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-24 21:20:26 +00:00
Gail Badner
d26e4f1cad HHH-4948 : Session.flush() does not always cascade save or update to read-only or immutable entities
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18872 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-24 20:21:08 +00:00
Gail Badner
863f6a8fb7 HHH-4948 : Session.flush() does not always cascade save or update to read-only or immutable entities
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18866 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-24 00:11:24 +00:00
Gail Badner
d44d367134 HHH-4810 : Persistent immutable and read-only entities are updated before being deleted
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18864 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-23 22:18:43 +00:00
Strong Liu
2b43c74780 HHH-4825 mapping order impacting behavior leading to bug
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18861 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-23 21:45:34 +00:00
Scott Marlow
f84f262013 HHH-4662 Implement javax.persistence.query.timeout
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18854 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-23 01:12:57 +00:00
Scott Marlow
32e3b9c2c9 HHH-4662 Implement javax.persistence.query.timeout
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18853 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-23 01:06:16 +00:00
Scott Marlow
02451f12fb HHH-4662 Implement javax.persistence.query.timeout
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18852 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-22 23:27:16 +00:00
Strong Liu
230f173146 correct javadoc typo
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18845 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-20 06:30:08 +00:00
Strong Liu
9cab0f821f correct typo
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18844 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-20 06:17:21 +00:00
Strong Liu
27b173b7ec correct javadoc typo
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18843 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-20 06:10:58 +00:00
Steve Ebersole
d7de0dad4e HHH-4613 - KEY, VALUE and ENTRY should not be strict keywords
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18822 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-17 19:56:41 +00:00
Steve Ebersole
9f6e1ada66 HHH-4917 - Keyword TYPE not supported
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18821 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-17 18:49:38 +00:00
Steve Ebersole
6acf72f54a HHH-4917 - Keyword TYPE not supported
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18814 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-16 21:39:52 +00:00
Steve Ebersole
23ee88a55b HHH-4905 - Allow consistent handling of numeric primary key values by any integral data type
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18789 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-12 06:22:52 +00:00
Scott Marlow
19de9d4ed9 HHH-4765 Enhance Dialect support for JPA-2 locking. MySQL pessimistic locking and Dialect.getForUpdateString(String aliases, LockOptions lockOptions)
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18782 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-11 15:51:25 +00:00
Steve Ebersole
7d0258ec55 prepare 3.5.0-CR-1 ++ dev
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18771 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-10 19:42:49 +00:00
Steve Ebersole
7a9b5f1781 prep 3.5.0-CR-1 release
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18769 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-10 19:17:55 +00:00
Steve Ebersole
341ea5b8f5 HHH-4902 - Handle JPA 2 requirement of setting id attribute to non-null with its equivalent of foreign-generator
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18767 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-10 17:38:59 +00:00
Gail Badner
89acfc7692 HHH-4898 : Results from read-only Criteria and Query obtained from query cache are not read-only
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18760 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-10 07:05:33 +00:00
Gail Badner
6abbd54e8e HHH-4896 : Read-only proxy targets initialized from second-level cache are not read-only
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18759 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-10 07:03:48 +00:00
Gail Badner
b39918f247 HHH-4578 : Criteria is missing read-only flag
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18758 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-10 07:00:59 +00:00
Steve Ebersole
0255bb79fc HHH-4895 - query against derived id doesn't return expected result
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18754 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-09 21:45:15 +00:00
Steve Ebersole
81fd208898 HHH-4894 - Process composite-id sub-generators PersistentIdentifierGenerator contract(s)
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18748 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-09 19:54:39 +00:00
Steve Ebersole
839e23458a HHH-4704 - Pass session into EntityTuplizer#setIdentifier
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18733 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-08 19:27:00 +00:00
Steve Ebersole
7cb83cac95 HHH-4664 - Implement EntityManagerFactory#getProperties()
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18712 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-07 19:27:19 +00:00
Strong Liu
71127daf09 HHH-4886 Merge minor change from IngresDialect.java from 3.3.2 for Ingres 9.2 compatibility
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18709 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-06 06:33:14 +00:00
Steve Ebersole
4a72e7096f HHH-4883 - Unable to join across a component
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18706 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-05 21:51:24 +00:00
Steve Ebersole
de585cb54a HHH-4877 - "Check Nullability" logging incorrectness in SettingsFactory
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18705 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-05 20:33:14 +00:00
Emmanuel Bernard
ab4f51dce5 HHH-4848 simplify the non-jpa 2 case a bit further
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18701 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-05 12:35:18 +00:00
Gail Badner
c18a9306b9 HHH-4880 : EntityManager.refresh does not throw EntityNotFoundException for removed entity
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18700 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-05 06:25:59 +00:00
Gail Badner
8606c4a097 HHH-4841 : Read-only proxies in NonFlushedChanges are not read-only when applied to a new session
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18699 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-05 04:00:04 +00:00
Steve Ebersole
53b1890c1b HHH-4848 - Derived identities: Derived entities using @IdClass and mapping a @XToOne are not supported
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18698 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-05 02:42:55 +00:00
Steve Ebersole
80f250fca5 HHH-4704 - Pass session into EntityTuplizer#setIdentifier
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18697 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-04 21:05:38 +00:00