Commit Graph

419 Commits

Author SHA1 Message Date
Steve Ebersole 06f13dd4dc account for last H2 failure on core.
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19580 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-05-21 06:56:48 +00:00
Steve Ebersole c0361d566b account for more failures on h2 (only 1 more!)
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19574 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-05-21 04:26:21 +00:00
Steve Ebersole 5aa6ad61ca HHH-5245 - Introduce LobHelper
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19571 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-05-20 20:37:56 +00:00
Steve Ebersole 5c7f4ee712 HHH-2277 - bidirectional <key-many-to-one> both lazy=false fetch=join lead to infinite loop
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19564 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-05-20 05:45:33 +00:00
Gail Badner 84f0b00bc6 HHH-5231 HHH-5220 : Fixes for DB2 and PostgreSQL unit tests
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19526 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-05-16 21:33:05 +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 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
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
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
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
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
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 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 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
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 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 3fa50710ca HHH-5178 : Unit tests in org.hibernate.test.immutable fail on mssql and sybase due to keyword used for table and column name
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19325 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-04-29 21:23:51 +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
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
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
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 1ea84a198b HHH-2470 : added test case for use of session.createSQLQuery causes memory leak
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19229 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-04-14 11:59:06 +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
Emmanuel Bernard 84477a7816 HHH-4077 add test for naming strategy in hbm files
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19225 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-04-13 16:31:21 +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
Strong Liu 7761842337 HHH-5002 testQuery in org.hibernate.test.legacy.FooBarTest errors running with Ingres dialect
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19194 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-04-09 04:39:44 +00:00
Strong Liu a2196cbdc6 HHH-4912 testManyToManyWithFormula induces error with Ingres dialect
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19193 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-04-09 03:30:29 +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
Gail Badner 8403e128f6 HHH-5076 HHH-4810 : Revert back to DataPoint.hbm.xml version that fixed HHH-4908
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19177 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-04-06 18:17:40 +00:00
Strong Liu 004c4f240f HHH-5045 org.hibernate.test.hql.HQLTest failure running testConcatenation with Ingres
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19169 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-04-05 14:08:04 +00:00
Strong Liu 9417775d11 HHH-4976 Ingres 9.3 does not support sub-selects in the select list.
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19167 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-04-05 13:29:17 +00:00
Strong Liu 2f12bc10ee HHH-4977 Ingres 9.3 does not support sub-selects in the select list.
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19166 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-04-05 13:27:47 +00:00
Strong Liu 7123491afe HHH-4961 HHH-4970 HHH-4973 skip some tests that ingres does not support this syntax
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19165 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-04-05 13:24:54 +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
Strong Liu 54d496295e HHH-5049 org.hibernate.test.legacy.ParentChildTest error running testLoadAfterNonExists with Ingres
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19140 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-03-30 13:15:29 +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
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
Strong Liu 42dbb29eab HHH-2997 LikeExpression case sensitive not working properly
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19083 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-03-23 05:09:30 +00:00
Gail Badner dfc4310739 HHH-2350 : tests for 2nd level cache broken for non-inverse bidirectional one-to-many relation
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19080 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-03-22 19:23:58 +00:00
Strong Liu a2c73b365b HHH-4732 quote column name as it is a keyword on teradata
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19079 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-03-22 18:13:59 +00:00
Strong Liu cee8ef74cf HHH-4732 quote column name as it is a keyword on teradata
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19078 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-03-22 18:10:13 +00:00
Strong Liu ae5bec1a28 HHH-4732 quote column name as it is a keyword on teradata
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19077 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-03-22 18:07:19 +00:00
Strong Liu 6094bd00c4 HHH-4732 quote column name as it is a keyword on teradata
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19076 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-03-22 18:04:54 +00:00
Strong Liu 0b82ae3415 HHH-4732 quote column name as it is a keyword on teradata
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19074 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-03-22 17:57:21 +00:00
Strong Liu c528de5d94 HHH-4732 quote column name as it is a keyword on teradata
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19073 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-03-22 17:53:04 +00:00
Strong Liu ea1c02d121 HHH-4732 quote column name as it is a keyword on teradata
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19072 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-03-22 17:47:23 +00:00
Strong Liu 736749f6ae HHH-4732 quote column name as it is a keyword on teradata
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19071 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-03-22 17:45:25 +00:00
Strong Liu 98c5154189 HHH-4732 quote column name as it is a keyword on teradata
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19070 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-03-22 17:44:17 +00:00
Strong Liu 851ccb4d93 HHH-4732 quote column name as it is a keyword on teradata
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19069 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-03-22 17:42:34 +00:00
Strong Liu d3bc1149c7 HHH-4732 quote column name as it is a keyword on teradata
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19068 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-03-22 17:37:56 +00:00
Strong Liu f6045bab5d HHH-4732 quote column name as it is a keyword on teradata
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19067 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-03-22 17:30:50 +00:00
Strong Liu 3ff3163d8f HHH-4732 quote column name as it is a keyword on teradata
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19066 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-03-22 17:29:05 +00:00
Strong Liu 861d782725 HHH-4732 quote column name as it is a keyword on teradata
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19065 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-03-22 17:16:49 +00:00
Strong Liu a05a99e02a HHH-4732 quote column name as it is a keyword on teradata
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19064 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-03-22 17:10:57 +00:00
Strong Liu 4376468d63 HHH-4732 quote column name as it is a keyword on teradata
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19063 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-03-22 17:09:18 +00:00
Strong Liu 454343f29a HHH-4732 quote column name as it is a keyword on teradata
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19062 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-03-22 17:05:57 +00:00
Strong Liu 96a627078a HHH-4732 quote column name as it is a keyword on teradata
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19061 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-03-22 15:59:58 +00:00
Strong Liu e94b5fc95f HHH-4732 revert Person.hbm.xml
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19059 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-03-22 14:11:37 +00:00
Strong Liu 59346ebdeb HHH-4732 quote column name as it is a keyword on teradata
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19058 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-03-22 14:06:33 +00:00
Strong Liu dfa62b4ec7 HHH-4732 quote column name as it is a keyword on teradata
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19057 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-03-22 14:00:34 +00:00
Strong Liu 7ed0be30c6 HHH-4732 quote column name as it is a keyword on teradata
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19056 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-03-22 13:56:03 +00:00
Strong Liu e7ee04d13b HHH-4732 quote column name as it is a keyword on teradata
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19055 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-03-22 13:51:09 +00:00
Strong Liu 1830338dd8 HHH-4732 quote column name as it is a keyword on teradata
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19054 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-03-22 13:49:42 +00:00
Strong Liu 4af9b682da HHH-4732 quote column name as it is a keyword on teradata
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19053 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-03-22 13:48:07 +00:00
Strong Liu 9b5e472ff4 HHH-4732 quote column name as it is a keyword on teradata
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19052 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-03-22 13:45:46 +00:00
Strong Liu 9c193f1f9c HHH-4732 quote column name as it is a keyword on teradata
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19051 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-03-22 13:42:47 +00:00
Strong Liu c0c4ed0c6c HHH-4732 quote column name as it is a keyword on teradata
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19050 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-03-22 13:40:56 +00:00
Strong Liu af0e1bd0e6 HHH-4732 skip TeradataDialect in LongInElementsTest
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19049 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-03-22 13:37:34 +00:00
Strong Liu 4bad0304fd HHH-4732 quote column name as it is a keyword on teradata
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19048 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-03-22 13:28:59 +00:00
Strong Liu fe922c026a HHH-4732 quote column name 'password', as it is a keyword on teradata
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19047 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-03-22 13:27:11 +00:00
Strong Liu d4b4994acc HHH-4732 quote column name 'timestame', as it is a keyword on teradata
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19046 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-03-22 13:15:14 +00:00
Strong Liu d71efef924 HHH-2997 LikeExpression case sensitive not working properly
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19042 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-03-22 12:38:35 +00:00
Strong Liu 229a57e8f5 HHH-2997 LikeExpression case sensitive not working properly
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19025 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-03-18 21:47:54 +00:00
Strong Liu 0e3378180c HHH-5013 the previous select query should not to hold locks in TypeParameterTest#testSave
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19004 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-03-16 05:18:43 +00:00
Strong Liu 97a9f5cd9b HHH-5010 org.hibernate.test.hql.CriteriaHQLAlignmentTest.testCriteriaAggregationReturnType() needs call flush before do the query
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19000 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-03-15 14:16:44 +00:00
Gail Badner e801874604 HHH-4993 : Updates to read-only entity associations made while in persistent state are ignored by flush (tests only)
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18957 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-03-10 11:03:08 +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 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
Strong Liu 67a32eca9e HHH-4908 Multiple failures reported during ReadOnlyProxyTest with Ingres
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18832 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-18 12:47:31 +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
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
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 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 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
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 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
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 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
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
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
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
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 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
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 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
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
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
Gail Badner 863ac2ead6 HHH-4781 : Added unit test showing a read-only entity that is refreshed is changed to modifiable
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18511 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-12 08:15:15 +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
Strong Liu bc5ea8d259 HHH-4769 update test case
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18467 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-08 21:59:05 +00:00
Strong Liu 4276ad99f0 HHH-4764 org.hibernate.test.pagination.PaginationTest.testLimitOffset() fails on oracle and db2
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18464 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-08 20:24:18 +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 763a3ef84b 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@18371 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-31 05:48:24 +00:00
Strong Liu 7fb4558c1d 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@18366 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-30 09:08:45 +00:00
Strong Liu 01432e3a16 HHH-2166 - remove @Override annotations for 1.4
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18350 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-29 20:12:22 +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
Strong Liu 018d3911cd HHH-4741 org.hibernate.test.filter.DynamicFilterTest.testSqlSyntaxOfFiltersWithUnions fails on MySQL
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18339 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-29 08:05:58 +00:00
Strong Liu 30422f9320 HHH-2166 update testcase to skip mssql server and oracle due to HHH-1123
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18335 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-29 06:28:20 +00:00
Gail Badner c20cfe7e0d HHH-4735 : Proxy can be associated with a new session when it is already connected to a different one
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18320 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-23 18:38:09 +00:00
Strong Liu 95c69f3209 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@18305 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-21 17:05:58 +00:00
Gail Badner d66cfe664a HHH-4642 : added test cases showing unexpected results when an updated entity is changed from read-only to modifiable
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18271 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-18 21:42:42 +00:00
Steve Ebersole 3748f29945 HHH-4719 - Support modulo operator
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18269 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-18 20:04:44 +00:00
Gail Badner cab9873205 HHH-4715 : Unexpected results when an entity that is already modifiable is set to modifiable again
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18261 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-18 03:38:16 +00:00
Scott Marlow 0776dbab9a HHH-4546 JPA-2 locking. LockOptions can include per table alias LockMode
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18243 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-16 18:23:31 +00:00
Steve Ebersole a2bf14ae7c HHH-4553 - Hibernate doesn't support official JPA2 escape char for table name
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18148 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-06 22:20:58 +00:00
Scott Marlow 5233aeb158 HHH-4546 add JPA 2.0 locking. First pass of support of code around AbstractEntityPersister.getAppropriateLoader
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18116 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-02 19:41:21 +00:00
Scott Marlow ceaea5a2a3 HHH-4546 add JPA 2.0 locking. Introduce LockOptions as the wrapper and session.buildLockRequest() (replaces session.lock()).
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18053 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-11-24 23:59:50 +00:00
Steve Ebersole 1a31549ced HHH-2584 - PersistentMap.remove() incorrect on uninitialized, non-extra-lazy map
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18020 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-11-21 02:57:20 +00:00
Scott Marlow 35ca4c3563 HHH-4546 add JPA 2.0 locking. Still need more LockRequest support in AbstractEntityPersister.getAppropriateLoader(), may need to refactor.
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18016 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-11-20 14:51:13 +00:00
Steve Ebersole a8e34f0066 HHH-2308 - Adding predicates to the join condition using Criteria Query
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18012 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-11-20 05:20:28 +00:00
Gail Badner 01a1a251d7 HHH-2762 : new unit tests for SessionImplementor.getNonFlushedChanges()/applyNonFlushedChanges() implementation
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17998 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-11-17 23:17:25 +00:00
Strong Liu e20713b0f2 HHH-4576 - Tests in MySQL using different case for objects as defined in configuration
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17989 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-11-16 14:05:17 +00:00
Strong Liu a1d2ece5cf HHH-4576 - Tests in MySQL using different case for objects as defined in configuration
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17988 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-11-16 14:04:16 +00:00
Steve Ebersole d558dac5dc HHH-4569 - Split focus of ConfigurationPerformanceTest
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17964 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-11-12 19:46:04 +00:00
Steve Ebersole 85b3ad297f HHH-4065 - Incorrect SQL is used for HQL if the number of values for a filter collection parameter is changed
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17959 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-11-11 20:27:39 +00:00