Commit Graph

396 Commits

Author SHA1 Message Date
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
Gail Badner 19e9a408c2 HHH-817 : Projection aliases should not be applied to where-clause (Milosz Tylenda)
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20282 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-08-31 00:18:55 +00:00
Steve Ebersole 232a77e5dd HHH-5507 - Add @MapKeyType annotation
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20271 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-08-26 21:00:47 +00:00
Steve Ebersole a8c7b9c1f0 HHH-5335 - a few typo fixes in Dialect and in tests
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20269 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-08-26 19:11:48 +00:00
Gail Badner 27c43633ab HHH-3334 : Cascade-save breaks if parent ID is assigned (delays insert) and child has identity ID (early insert) (Wallace Wadge)
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20210 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-08-20 17:18:44 +00:00
Gail Badner 9ba97ec5cc HHH-5225 : Cannot parse order-by fragment if it contains a registered function without parentheses
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20197 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-08-19 23:06:32 +00:00
Gail Badner f881605577 HHH-5163 : added test implementing a workaround for ClassCastException caching results using a ResultTransformer
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20194 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-08-19 19:57:42 +00:00
Steve Ebersole fa587d4da7 Updating pom versions to 3.6.0-SNAPSHOT for release tagging
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20171 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-08-18 18:47:29 +00:00
Steve Ebersole a03a767866 Updating pom versions to 3.6.0.Beta3 for release tagging
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20169 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-08-18 18:46:58 +00:00
Gail Badner 37af87bba0 HHH-5473 : Default for CHECK_NULLABILITY does not allow merge retries
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20156 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-08-17 18:22:38 +00:00
Hardy Ferentschik 67a59a3ea6 HHH-5485 Move hiberante dtd files from http://hibernate.sourceforge.net to http://www.hibernate.org/dtd
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20154 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-08-17 14:13:58 +00:00
Gail Badner 691b5b616b HHH-5180 : StandardQueryCache.get() does not handle EntityNotFoundException for natural key lookups
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20153 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-08-17 03:28:30 +00:00
Steve Ebersole b621e682d7 HHH-5426 - HQL update/delete does not invalidate the query cache
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20143 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-08-13 22:29:41 +00:00
Steve Ebersole 36c471e579 HHH-5300 - Configurable QueryPlanCache reference counts (Manuel Dominguez Sarmiento)
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20141 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-08-13 20:21:07 +00:00