Commit Graph

1671 Commits

Author SHA1 Message Date
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
Adam Warski 1a722dfd97 Making it clear that a revision entity must be mapped
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19473 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-05-12 06:25:42 +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
Steve Ebersole c875076103 HHH-4966 - Entity Manager bug with ParameterExpressionImpl
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19467 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-05-11 15:08:54 +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
Gail Badner 8749ae600a HHH-3799 : Added test for PersistentSet does not honor hashcode/equals contract when loaded eagerly
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19461 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-05-11 00:49:20 +00:00
Gail Badner 36a2ef2699 HHH-5078 : JPA criteria query numeric expressions produce wrong result (due to wrong bracketing)
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19458 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-05-10 22:18:47 +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
Strong Liu 111125eb6e HHH-5208 Oracle 11g R2 RAC - Test SequenceIdentityTest fails because first value of sequence is "2"
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19445 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-05-10 10:34:18 +00:00
Strong Liu 19c1d56cca HHH-5211 no need to create a schema first when run this test org.hibernate.test.sql.hand.custom.db2.DB2CustomSQLTest
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19441 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-05-10 09:31:20 +00:00
Sharath Reddy 9b9d799801 HHH-4647 Problems with @JoinColumn referencedColumnName and quoted column and table names
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19433 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-05-09 18:28:33 +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
Emmanuel Bernard 8f4401349f HHH-5149 documentation for versioning
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19407 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-05-07 15:36:30 +00:00
Hardy Ferentschik 12d44898a5 HHH-5204
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19406 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-05-07 15:13:09 +00:00
Hardy Ferentschik 1a8a602e3c HHH-5204
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19405 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-05-07 13:46:32 +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 60c280441b HHH-5182 - Inject SessionFactory into "non-basic" Types
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19391 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-05-06 17:41:24 +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 b023244c12 HHH-5200 - Prepare to use H2 as the default testing datbase
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19388 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-05-06 16:12:24 +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 b20523cc8a HHH-5182 - Inject SessionFactory into "non-basic" Types
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19385 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-05-06 13:34:06 +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
Emmanuel Bernard 3dce2f17de HHH-5149 add @o.h.a.T description in @SecondaryTable
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19372 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-05-05 17:51:27 +00:00
Adam Warski 19a1656446 HHH-5191: Applying patch by Hernan Chanfreau
CollectionMetadataGenerator failed to obtain mappedBy attribute when is defined on superclasses

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19371 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-05-05 10:06:47 +00:00
Emmanuel Bernard 23db0f4de0 HHH-5149 convert inheritance sections
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19362 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-05-04 16:29:05 +00:00
Strong Liu 84410df4f5 update ci management url
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19358 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-05-04 12:09:03 +00:00
Strong Liu bcb48f2d15 HHH-5186 update db profiles id and jdbc properties' name to use dballocator
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19356 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-05-03 16:17:08 +00:00
Strong Liu c6c3241186 HHH-5186 update db profiles id and jdbc properties' name to use dballocator
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19353 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-05-03 15:46:50 +00:00
Strong Liu 7bb82f2376 HHH-5186 update db profiles id and jdbc properties' name to use dballocator
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19351 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-05-03 14:33:56 +00:00
Sharath Reddy 67046b19d7 HHH-3694 ResultTransformer not used when scroll() is used on a named SQLQuery
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19350 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-05-03 13:47:33 +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
Strong Liu 8bc9bbf098 can't open jira for now, the change of this commit only changes the methond of testRowValueConstructorSyntaxInInList, instead of transaction commit, here i changed it to rollback, since this may cause other test fails (org.hibernate.NonUniqueResultException: query did not return a unique result: 3)
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19342 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-05-02 14:36:40 +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