Commit Graph

590 Commits

Author SHA1 Message Date
Steve Ebersole 7690f9a493 Fixed problem in hibernate-core test run because of H2 driver not being on classpath
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19522 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-05-15 13:08:24 +00:00
Strong Liu 6de4dc800f HHH-3220 Patch to prevent org.hibernate.AssertionFailure: possible non-threadsafe access to the session error caused by stateless sessions
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19518 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-05-15 08:37:30 +00:00
Steve Ebersole dceb92d4a5 HHH-5042 - TableGenerator does not increment hibernate_sequences.next_hi_value anymore after having exhausted the current lo-range
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19488 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-05-12 20:45:00 +00:00
Steve Ebersole 2c2717013b HHH-5138 - Redesign types + introduce TypeRegistry & TypeResolver
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19484 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-05-12 19:51:26 +00:00
Steve Ebersole a9ba811baf HHH-5138 - Redesign types + introduce TypeRegistry & TypeResolver
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19483 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-05-12 19:48:43 +00:00
Steve Ebersole b0708314a9 HHH-5218 - Provide a new "pooled value" based optimizer which interprets the database value as the low boundary instead of upper boundary
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19481 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-05-12 18:27:16 +00:00
Steve Ebersole 5211f298f8 HHH-5217 - Minimize double sequence value reads in PooledOptimizer
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19478 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-05-12 15:13:47 +00:00
Gail Badner ad8e4340de HHH-1574 : AbstractEntityPersister.getNaturalIdentifierSnapshot doesn't work with many-to-one ids (Alex Burgel)
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19472 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-05-12 02:27:56 +00:00
Steve Ebersole ef24b0f556 HHH-5042 - TableGenerator does not increment hibernate_sequences.next_hi_value anymore after having exhausted the current lo-range
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19470 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-05-11 19:27:20 +00:00
Strong Liu 8e76bf9648 HHH-5210 Query Cache effective only after closing the session that created the cache
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19462 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-05-11 01:41:38 +00:00
Steve Ebersole bb8f915859 HHH-5200 - Prepare to use H2 as the default testing datbase
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19456 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-05-10 21:48:24 +00:00
Steve Ebersole 4ed976e4ba Added javadocs comments wrt postgresql and BLOB handling
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19455 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-05-10 21:26:04 +00:00
Steve Ebersole 77fba4df70 HHH-5173 - hql - average returns double but looses the decimal part
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19453 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-05-10 19:41:53 +00:00
Gail Badner 14bdaec5e7 HHH-5207 : Unexpected exception occurs during refresh of a detached immutable entity
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19451 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-05-10 18:34:22 +00:00
Steve Ebersole 9d93984ca1 HHH-5006 - hibernate.globally_quoted_identifiers=true and Annotations tests
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19447 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-05-10 12:29:29 +00:00
Sharath Reddy 91cbdb8177 HHH-4647 Problems with @JoinColumn referencedColumnName and quoted column and table names
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19432 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-05-09 18:19:56 +00:00
Steve Ebersole b4fa90a58b HHH-5200 - Prepare to use H2 as the default testing datbase
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19429 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-05-08 21:58:15 +00:00
Steve Ebersole 413666f293 HHH-5200 - Prepare to use H2 as the default testing datbase
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19412 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-05-08 03:34:05 +00:00
Steve Ebersole cb51ef1a64 HHH-5135 - "Ambiguous column" exception thrown with columns having the same name as a function registered with the dialect (e.g. to_date, floor)
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19411 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-05-07 20:53:34 +00:00
Gail Badner 0884b16946 HHH-5135 : 'Ambiguous column' with columns having the same name as a registered function
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19392 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-05-06 19:08:18 +00:00
Steve Ebersole c8a5adf327 HHH-5138 - Redesign types + introduce TypeRegistry & TypeResolver
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19389 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-05-06 16:23:13 +00:00
Steve Ebersole 884cbbde06 HHH-3377 - Update H2Dialect to use DECIMAL SQL type instead of NUMERIC
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19387 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-05-06 14:53:09 +00:00
Steve Ebersole 7c27fc9f2a HHH-5182 - Inject SessionFactory into "non-basic" Types
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19376 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-05-06 02:36:12 +00:00
Steve Ebersole 190f2c99d5 HHH-5182 - Inject SessionFactory into "non-basic" Types
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19375 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-05-06 01:31:34 +00:00
Steve Ebersole e1acc33bb6 HHH-5182 - Inject SessionFactory into "non-basic" Types
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19374 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-05-06 01:05:26 +00:00
Sharath Reddy e13821624d HHH-3694 ResultTransformer not used when scroll() is used on a named SQLQuery
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19349 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-05-03 13:45:20 +00:00
Steve Ebersole bdc83cb2e6 HHH-5138 - Redesign types + introduce TypeRegistry & TypeResolver
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19345 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-05-03 00:04:27 +00:00
Steve Ebersole c0cb52711a HHH-5064 - OrderBy string getting dumped to console on session factory creation (Shawn Clowater)
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19337 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-05-01 20:43:43 +00:00
Steve Ebersole 5ad3ac1295 HHH-5138 - Redesign types + introduce TypeRegistry & TypeResolver
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19336 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-05-01 20:32:48 +00:00
Steve Ebersole 421789ddcd HHH-5138 - Redesign types + introduce TypeRegistry & TypeResolver
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19335 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-05-01 18:20:26 +00:00
Gail Badner 1286804335 HHH-4957 HHH-3096 : Fix COUNT( DISTINCT ...) for single and multiple arguments
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19319 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-04-28 17:54:43 +00:00
Emmanuel Bernard 95de10caf0 HHH-3005 allow nested <type> in <map-key>
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19316 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-04-28 16:25:52 +00:00
Gail Badner 1c556dc775 HHH-4991 ; ManyToMany table not joined due to max_fetch_depth parameter, results to SQL exceptions
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19312 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-04-28 04:32:00 +00:00
Scott Marlow bc1acf7028 HHH-5032 upgrade from optimistic to optimistic force does not work
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19295 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-04-26 17:49:26 +00:00
Steve Ebersole 37d40d4aa4 [maven-release-plugin] prepare release Branch_3_5
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19256 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-04-21 01:58:27 +00:00
Strong Liu f2bca0eef7 HHH-5131 SchemaExport drop fails if constraint names change
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19243 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-04-17 16:03:49 +00:00
Steve Ebersole 4470ebcd4d Updating pom versions to 3.5.2-SNAPSHOT for release tagging
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19238 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-04-14 20:54:44 +00:00
Steve Ebersole 9a5dfa9ff8 Updating pom versions to 3.5.1-Final for release tagging
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19236 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-04-14 20:54:13 +00:00
Gail Badner dd05ba2811 HHH-2470 : Use of session.createSQLQuery causes memory leak
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19228 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-04-14 11:12:19 +00:00
Gail Badner 5ff99eabbf HHH-5104 : EntityType.isEqual() tests x equals x; should test x equals y (Thierry-Dimitri Roy)
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19227 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-04-13 18:24:16 +00:00
Steve Ebersole 23dfa3f264 HHH-5083 - Align javadoc styles better with docbook / website
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19226 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-04-13 18:16:23 +00:00
Steve Ebersole 7323ab9876 HHH-5102 - Instances of a subclass can't be loaded
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19220 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-04-13 14:01:54 +00:00
Gail Badner 780666b65a HHH-1804 HHH-5096 : FetchingScrollableResultsImpl throws SQLException when empty; last() does not move cursor if it is after last
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19217 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-04-12 18:21:12 +00:00
Sanne Grinovero 643ecc8060 minor javadoc typos
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19195 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-04-09 07:37:38 +00:00
Gail Badner d2e8d1429b HHH-5063 HHH-5082 : Invalid projections when alias is same as property name; QueryException thrown when grouping by component
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19183 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-04-08 00:24:12 +00:00
Steve Ebersole 835ae2c0bf HHH-3997 - Build javadocs
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19182 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-04-07 22:46:58 +00:00
Strong Liu 6d1e51a26d HHH-5045 org.hibernate.test.hql.HQLTest failure running testConcatenation with Ingres
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19170 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-04-05 14:08:35 +00:00
Strong Liu 42cd240d2a HHH-5003 IngresDialect requires query substitutions for boolean values
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19168 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-04-05 13:37:52 +00:00
Steve Ebersole 6fdc0c0c69 Updating pom versions to 3.5.1-SNAPSHOT for release tagging
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19149 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-03-31 17:39:24 +00:00
Steve Ebersole adffa64173 Updating pom versions to 3.5.0-Final for release tagging
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19147 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-03-31 17:38:40 +00:00
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
Emmanuel Bernard 252299cfee HHH-4848 partial implementation of @IdClass support in derivedidentity (example 1 case a of the spec)
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18692 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-04 17:54:05 +00:00
Scott Marlow 80dbc69529 HHH-4765 Enhance Dialect support for JPA-2 locking. pessimistic no wait/timed locking and additional pessimistic locking tests. Oracle support for pessimistic locking
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18688 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-04 00:07:31 +00:00
Steve Ebersole 46bc41c226 HHH-4879 - Support HQL index-refering functions for many-to-many, indexed collections
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18687 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-03 21:47:31 +00:00
Steve Ebersole c86d471453 HHH-4861 - Allow lookup by the "simple" pk type of "parent entity" in "derived identities" cases
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18686 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-03 06:58:46 +00:00
Steve Ebersole ac1dae6952 HHH-4661 - Properly propagate Query.setLockMode to Hibernate Core
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18684 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-03 05:16:26 +00:00
Steve Ebersole 1591e6dc03 HHH-4661 - Properly propagate Query.setLockMode to Hibernate Core
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18682 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-02 21:32:53 +00:00
Scott Marlow 889470af88 HHH-4765 Enhance Dialect support for JPA-2 locking
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18681 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-02 17:03:05 +00:00
Steve Ebersole d761d3ef45 HHH-4661 - Properly propagate Query.setLockMode to Hibernate Core
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18676 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-01 19:49:40 +00:00
Steve Ebersole af7c746a54 HHH-4661 - Properly propagate Query.setLockMode to Hibernate Core
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18675 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-01 19:42:16 +00:00
Scott Marlow 3456c533b9 HHH-4765 Enhance Dialect support for JPA-2 locking.
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18673 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-30 17:27:32 +00:00
Gail Badner 0530b809d8 setting the version number on trunk back to 3.5.0-SNAPSHOT
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18668 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-29 00:57:52 +00:00
Gail Badner 18ed315b62 prep 3.5.0-Beta-4
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18666 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-29 00:46:30 +00:00
Steve Ebersole b52cdc9523 HHH-4862 - quoted column/alias names not properly handled in org.hibernate.loader.EntityAliases
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18665 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-28 22:04:20 +00:00
Steve Ebersole 4ac6062cf1 HHH-4862 - column name quoting not properly handled for javax.persistence.ColumnResult
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18662 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-28 01:31:45 +00:00
Gail Badner d586421cfb HHH-4828 : Entities returned by Query...setReadOnly(true)...iterate() should be read-only
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18660 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-27 23:59:29 +00:00
Strong Liu 1904e02b63 HHH-3828 Criteria: Restriction whith class does not work
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18658 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-27 23:06:38 +00:00
Steve Ebersole d04362e464 HHH-4799 - Create a *unit* test that asserts SerializationHelper's ability to deser a class using an "isolated classloader" (aka a TCCL)
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18657 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-27 19:16:39 +00:00
Gail Badner b40cfb58db HHH-4781 : Read-only entities changed to modifiable on refresh
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18643 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-27 09:26:42 +00:00
Steve Ebersole 4ec26fa4cf HHH-4690 - Consider adding a flag for legacy/new generators
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18642 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-27 08:00:27 +00:00
Gail Badner a0d8e6a415 HHH-2501 HHH-4804 : Add default read-only/modifiable setting for session; fix setting for non-lazy associations loaded from Query
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18641 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-27 06:36:55 +00:00
Steve Ebersole 3b536fa6f6 HHH-4552 - Support generated value within composite keys
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18640 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-26 21:49:51 +00:00
Emmanuel Bernard fc20582ede HHH-4847 inject both object id and the entity itself when asking nested identifier generators
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18632 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-26 17:12:42 +00:00
Steve Ebersole 5d8d70036a HHH-4659 - Add support for standard declarative cache (@Cacheable)
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18614 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-24 17:07:28 +00:00
Steve Ebersole d24ed1a1d3 HHH-4659 - Add support for standard declarative cache (@Cacheable)
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18605 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-22 07:22:50 +00:00
Steve Ebersole 9bb0da4e69 HHH-4660 - Support Cache Retrieve Mode and Cache Store Mode Properties
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18603 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-22 01:55:20 +00:00
Steve Ebersole 79b10cc810 HHH-4552 - Support generated value within composite keys
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18601 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-21 19:37:01 +00:00
Steve Ebersole 2f3a967c65 HHH-4726 - Add support for delete-orphan cascading to <one-to-one/>
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18593 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-20 19:16:38 +00:00
Hardy Ferentschik 76f2f88038 HHH-4651 - Add support for EntityManager properties
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18585 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-19 22:16:05 +00:00
Hardy Ferentschik edb211e8af HHH-4813 - annotation and entitymanager module should use the maven-injection-plugin to generate version string
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18575 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-18 19:17:27 +00:00
Steve Ebersole 55cd2ee2a2 HHH-4726 - Add support for delete-orphan cascading to <one-to-one/>
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18573 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-18 18:27:12 +00:00
Steve Ebersole 6cfc0c043d HHH-4726 - Add support for delete-orphan cascading to <one-to-one/>
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18571 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-18 15:18:16 +00:00
Steve Ebersole f163e9fd94 HHH-4726 - Add support for delete-orphan cascading to <one-to-one/>
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18569 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-16 21:04:34 +00:00
Steve Ebersole 29152a8390 HHH-4726 - Add support for delete-orphan cascading to <one-to-one/>
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18568 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-16 20:27:04 +00:00
Emmanuel Bernard 9b38bca8ea HHH-4807 only switch CHECK_NULLABILITY's default if Bean Validation is in the class path
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18563 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-15 12:57:47 +00:00
Steve Ebersole 56f6941260 HHH-4726 - Add support for delete-orphan cascading to <one-to-one/>
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18560 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-15 05:38:57 +00:00
Hardy Ferentschik 79bb60ea89 setting the version number on trunk back to 3.5.0-SNAPSHOT
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18552 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-14 02:01:24 +00:00
Hardy Ferentschik 1f8019b3fc Version upgrade for preperation of 3.5.0-Beta-3 release
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18550 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-14 01:34:37 +00:00
Steve Ebersole e96bca2fb6 HHH-4780 - Allow BigDecimal and BigInteger to be specified as numeric literal types
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18545 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-13 20:32:33 +00:00
Steve Ebersole fca1248487 HHH-4786 - SerializableType + custom Serializable class + L2 cache causes problems
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18544 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-13 19:45:07 +00:00
Gail Badner 4d86564d32 HHH-3338 : Order of attributes in generated SQL query is dependent on Java version
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18529 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-13 06:59:54 +00:00
Gail Badner 94415151f7 HHH-4737 : Cache the EntityKey in EntityEntry when id is non-null
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18528 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-13 06:02:14 +00:00
Gail Badner cc382233c5 Session.setReadOnly(Object, boolean) fails for proxies
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18525 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-13 01:04:55 +00:00
Steve Ebersole 3f0e54c5d2 HHH-4674 - JBoss has renamed its JACC artifact
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18517 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-12 18:37:19 +00:00
Steve Ebersole 9b3c518d5e HHH-4780 - Allow BigDecimal and BigInteger to be specified as numeric literal types
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18508 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-11 22:55:36 +00:00
Steve Ebersole 49a37c3165 HHH-4743 - Bug in BooleanLiteralNode with CustomType
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18491 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-09 20:17:47 +00:00
Strong Liu ee503cfbc6 HHH-4769 In HQL, function ROUND always returns an Integer, it truncate the decimal part of Double number.
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18457 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-08 18:38:17 +00:00
Strong Liu 1dfa028169 minor change, correct javadoc spell
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18443 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-07 20:34:59 +00:00
Emmanuel Bernard dd7b01ccc8 HHH-4749 Don't block calls to getListeners on SessionImplementor when using thread scoped sessions
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18408 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-05 10:46:13 +00:00
Strong Liu 95e10ad81d HHH-2166 Long 'in' lists in queries results in a Java stack overflow exception.
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18356 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-29 23:21:44 +00:00
Strong Liu 721a90aadc HHH-2166 - Long 'in' lists in queries results in a Java stack overflow exception.
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18347 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-29 19:58:52 +00:00