Commit Graph

409 Commits

Author SHA1 Message Date
Hardy Ferentschik d85da2b66f Merge branch '3.6' of github.com:hibernate/hibernate-core into 3.6 2010-11-11 18:34:39 +01:00
Hardy Ferentschik 2fdf808799 HV-361 Adding test for @Range constraint 2010-11-11 18:17:22 +01:00
Hardy Ferentschik f569021003 HV-361 Adding test entity for @Range constraint 2010-11-11 18:16:28 +01:00
Hardy Ferentschik 42977edf46 HV-361 Making sure that multiple column checks are properly added 2010-11-11 18:11:20 +01:00
Hardy Ferentschik 544312930a HV-361 Changing existing tests to use @RequiresDialect(DialectChecks.SupportColumnCheck) 2010-11-11 18:11:06 +01:00
Hardy Ferentschik 03ae37f2cc HV-361 Formatting and adding/updating copyrights 2010-11-11 18:08:18 +01:00
Strong Liu 29926d6d5c HHH-5727 fix the bad commit 2010-11-11 19:21:02 +08:00
Strong Liu 35c9b55625 HHH-5715 revert to default hibernate.properteis 2010-11-10 23:02:11 +08:00
Strong Liu ec34519070 HHH-5715 Using row_number with the SQLServerDialect makes select distinct useless 2010-11-10 12:02:26 +08:00
Strong Liu 0ff8448079 HHH-5710 incorrect test logic of org.hibernate.test.readonly.ReadOnlyCriteriaQueryTest 2010-11-02 13:56:18 +08:00
Julien HENRY c66026e3f3 Fixed warnings reported by Maven 3. 2010-10-26 22:44:37 +02:00
Steve Ebersole 88f1bbd3ca Updating pom versions to 3.6.1-SNAPSHOT 2010-10-13 15:44:12 -05:00
Steve Ebersole 9aed0daf4d Updating pom versions to 3.6.0.Final 2010-10-13 15:44:12 -05:00
Strong Liu 2da2cd4cae HHH-5572 sybase does not support lob 2010-10-11 16:09:34 +08:00
Steve Ebersole 47eace5163 HHH-5629 - Inconsistent consistency checks for entities already found in session
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20780 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-10-06 17:39:33 +00:00
Emmanuel Bernard 3b3c8bc923 HHH-5578 Support SpecJ's proprietary syntax
Generalize the fix a bit
Clean some more style issues
Fix issues related to the atomicity test
  fixed setting proper value on property marked as many-to-one-key
  fixed parsing bug, now it shouldnt affect other many-to-one in the same entity
  fixed annotation check on many-to-one property

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20767 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-10-04 09:45:09 +00:00
Emmanuel Bernard 3684576124 HHH-5578 Add support for SpecJ's proprietary syntax
Initial patch by Stale
Uses a specific property to activate
Fix a couple of test issues (The test made change on an unmanaged object wo reattaching it)
Fix some code style issues
Add TODOs for a proper solution
Use the correct PropertyData
  Populate the metamodel with the PropertyData
  corresponding to the @ToOne instead of reusing the
  PropertyData from the @Id property

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20766 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-10-04 09:44:12 +00:00
Steve Ebersole 747076abb1 HHH-5606 - Incorrect standard type regsitrations to date/time
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20759 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-09-30 15:18:21 +00:00
Steve Ebersole 4b84e848dd Updating pom versions to /home/steve/projects/hibernate/core/trunk for release tagging
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20753 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-09-29 20:56:44 +00:00
Steve Ebersole 909ff003bd Updating pom versions to /home/steve/projects/hibernate/core/trunk for release tagging
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20751 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-09-29 20:55:58 +00:00
Hardy Ferentschik bf7607e244 HHH-5190 - Introduced new annotation @DiscriminatorOptions and deprecated @ForceDiscriminator
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20749 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-09-29 10:45:08 +00:00
Emmanuel Bernard 4e2887c0c0 HHH-4510 Rename @ReadWriteExpression to @ColumnTransformer
It relates to the ResultTransformer we have but at the column level

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20748 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-09-29 09:44:15 +00:00
Emmanuel Bernard 6a14aeeba7 HHH-4510 Fix bug where explicit @Column would not match @ReadWriteExpresion with empty forColumn
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20747 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-09-29 09:42:52 +00:00
Emmanuel Bernard 768088881b HHH-4510 Allow forColumn to be left if a property has a single column
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20746 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-09-29 09:12:51 +00:00
Hardy Ferentschik 7419fc298d HHH-5205 - Renamed BinderHelper.isDefault() to BinderHelper.isEmptyAnnotationValue() , because this describes better what the function does. Also renamed VersionTest to OptimisitcLockAnnotationTest to better describe what gets tested.
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20741 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-09-28 16:32:26 +00:00
Hardy Ferentschik e14f58de29 HHH-5205 - Added @Source and emum SourceType, fixed implementation and added a test
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20740 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-09-28 16:28:30 +00:00
Emmanuel Bernard 7d167768d2 HHH-4510 Merge @ReadExpression and @WriteExpression in @ReadWriteExpression
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20729 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-09-27 22:09:02 +00:00
Emmanuel Bernard 51bf38d4b0 HHH-4510 Add support for column-levle custom read/write expression
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20728 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-09-27 22:07:44 +00:00
Strong Liu 5823732c45 HHH-5572 sybase does not support setBlob
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20716 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-09-26 19:12:41 +00:00
Strong Liu 09e4531dad HHH-5572 sybase does not support setBlob
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20715 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-09-26 19:04:30 +00:00
Steve Ebersole 636f728603 HHH-2917 - Using subselects as operands for arithmetic operations causes NullPointerException
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20707 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-09-25 16:27:09 +00:00
Strong Liu 61fc1a482e HHH-5597 org.hibernate.test.criteria.LikeTest.testLike fails on postgresql because of the default escape charactor
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20704 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-09-25 10:41:36 +00:00
Strong Liu d8d1a0da62 HHH-5596 org.hibernate.test.annotations.onetoone.OneToOneTest.testPkOneToOneSelectStatementDoesNotGenerateExtraJoin() fails on postgresql
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20703 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-09-25 10:39:40 +00:00
Strong Liu 1b6b995166 HHH-5595 postgresql jdbc driver does not implement the setQueryTimeout method
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20702 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-09-25 10:34:41 +00:00
Strong Liu c31d2b093d HHH-5594 org.hibernate.test.jpa.lock.JPALockTest fails on hsqldb
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20700 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-09-25 09:22:27 +00:00
Strong Liu 834551b33e HHH-5593 org.hibernate.test.legacy.FooBarTest.testCollectionWhere fails on hsqldb
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20699 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-09-25 07:57:56 +00:00
Strong Liu 5ee8c0fc75 HHH-5592 org.hibernate.test.naturalid.mutable.MutableNaturalIdTest hangs on postgresql
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20698 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-09-25 06:07:07 +00:00
Strong Liu ab9bf1dd0c HHH-5592 org.hibernate.test.naturalid.immutable.ImmutableNaturalIdTest hangs on postgresql
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20697 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-09-25 05:53:53 +00:00
Strong Liu 998ef3d98a HHH-5592 org.hibernate.test.jpa.naturalid.ImmutableNaturalIdTest hangs on postgresql
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20696 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-09-25 05:29:17 +00:00
Strong Liu f518b84b1b HHH-5592 org.hibernate.test.hql.ASTParserLoadingOrderByTest hangs on postgresql
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20695 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-09-25 02:47:05 +00:00
Gail Badner 13699d792b HHH-892 : HQL parser does not resolve alias in ORDER BY clause
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20673 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-09-20 17:42:39 +00:00
Strong Liu 902b3ac2dc HHH-5572 rollback, since this change causes org.hibernate.test.annotations.indexcoll.IndexedCollectionTest#testJPA2DefaultMapColumns to fail.
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20663 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-09-18 13:47:12 +00:00
Gail Badner a2162b981e HHH-892 HHH-5574 : test cases for HQL ORDER BY
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20656 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-09-16 20:29:03 +00:00
Steve Ebersole 19300880d6 HHH-5490 - dirty data be inserted into 2L cache
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20655 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-09-16 20:23:07 +00:00
Steve Ebersole 0088c9f213 HHH-5573 - Change TestCase to rebuildSessionFactory() whenever sessions var is accessed
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20651 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-09-16 16:53:09 +00:00
Strong Liu bdab36f6f2 HHH-5572 clean up Sybase job failures
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20650 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-09-16 11:00:16 +00:00
Steve Ebersole 3eb9c70d44 Updating pom versions to 3.6.0-SNAPSHOT for release tagging
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20644 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-09-15 18:26:18 +00:00
Steve Ebersole 743dd39cc9 Updating pom versions to 3.6.0.CR1 for release tagging
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20642 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-09-15 18:25:47 +00:00
Steve Ebersole ea855dc9b2 Updating pom versions to 3.6.0-SNAPSHOT for release tagging
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20302 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-09-01 17:03:05 +00:00
Steve Ebersole 39369ad100 Updating pom versions to 3.6.0.Beta4 for release tagging
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20300 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-09-01 17:02:23 +00:00