Commit Graph

344 Commits

Author SHA1 Message Date
Steve Ebersole 7ccd261444 Updating pom versions to 3.6.0.Beta2 for release tagging
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20112 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-08-04 15:52:39 +00:00
Steve Ebersole 217898d8aa HHH-5212 - Alter SQLFunction contract to be more flexible
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20097 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-08-02 18:51:45 +00:00
Steve Ebersole 3ecbfeb2b2 HHH-5375 - Merge AnnotationConfiguration into Configuration
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20092 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-07-30 20:02:23 +00:00
Gail Badner ef46a4efb7 HHH-5424 HHH-5425 : Put ResultTransformer in QueryKey only if data is transformed; PropertyAccessException when caching 1 result per row
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20078 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-07-30 03:03:41 +00:00
Gail Badner 7689d5e33c HHH-5163 : added logging and test cases for ClassCastException when caching transformed query results
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20074 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-07-28 18:55:13 +00:00
Steve Ebersole 9dff718744 HHH-5416 - upgrade to h2 1.2.140
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20069 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-07-26 17:25:47 +00:00
Steve Ebersole 33f05cd487 HHH-5400 - Blob persistence fails with Hibernate 3.6.0-SNAPSHOT, works with 3.5.3-Final
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20067 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-07-26 16:47:20 +00:00
Steve Ebersole fff88d2182 HHH-3908 - Expose way to fully control fetching and result mapping on SQLQuery
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20014 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-07-22 20:23:08 +00:00
Gail Badner be6042d8fe HHH-2350 : second-level cache broken for non-inverse bidirectional one-to-many relation
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20013 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-07-22 19:52:43 +00:00
Steve Ebersole ca051ab834 Updating pom versions to 3.6.0-SNAPSHOT for release tagging
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20001 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-07-21 20:35:55 +00:00
Steve Ebersole 173817e56a Updating pom versions to 3.6.0.Beta1 for release tagging
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19999 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-07-21 20:35:16 +00:00
Gail Badner 77a75a94b5 HHH-2269 : Many-to-one cascade fails with TransientObjectException if inverse collection is CascadeType.DELETE_ORPHAN
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19969 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-07-20 01:22:12 +00:00
Gail Badner 7293187a01 HHH-3334 : Added FailureExpected test for Cascade-save breaks if parent ID is assigned (delays insert) and child has identity ID (early insert)
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19967 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-07-19 22:09:56 +00:00
Gail Badner 457f2a9d60 HHH-5267 : Added FailureExpected test for updating one-to-one mapped as delete-orphan while detached
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19959 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-07-15 23:47:32 +00:00
Steve Ebersole 04983c2528 HHH-5374 - Upgrade to H2 version 1.2.139
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19952 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-07-14 18:44:11 +00:00
Steve Ebersole 3e4b274cee HHH-5366 - Move annotations module tests into testsuite module
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19925 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-07-09 17:52:47 +00:00
Steve Ebersole 30f384d224 HHH-5357 - Rename hibernate-testing packages
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19910 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-07-07 19:39:23 +00:00
Strong Liu 505e7eeacb HHH-4568 Sybase - Test BatchTest fails due to 'unexpected row count from update'
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19819 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-06-24 09:50:07 +00:00
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