Commit Graph

326 Commits

Author SHA1 Message Date
Emmanuel Bernard fe92f84072 HHH-5337 support for comma-separated multi-files imports
hibernate.hbm2ddl.import_files=[filename],[filename2],...

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19804 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-06-23 22:33:00 +00:00
Emmanuel Bernard 5aad112e03 HHH-5337 Allow Customization of DML import file name
hibernate.hbm2ddl.import_file=[filename]

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19803 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-06-23 22:32:15 +00:00
Strong Liu 7951998639 HHH-5342 Testes fail on mysql
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19775 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-06-20 19:55:55 +00:00
Gail Badner 182ee2f34e HHH-5195 : FilterImpl.validate() throws NullPointerException on deserialization
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19727 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-06-15 02:15:05 +00:00
Gail Badner 9e6d8be376 HHH-5220 HHH-5231 : Fix unit test failures and DB lockups for SELECT COUNT(DISTINCT arg1, arg2) tests
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19722 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-06-14 04:27:40 +00:00
Strong Liu e630fde1aa HHH-4036 EntityMetamodel entityNameByInheritenceClassNameMap field used inconsistently
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19717 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-06-11 18:13:13 +00:00
Steve Ebersole 7aa8449788 HHH-5268 - Support for java.util.UUID properties/generators
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19646 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-06-01 18:34:12 +00:00
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