Commit Graph

616 Commits

Author SHA1 Message Date
Emmanuel Bernard c21ea5e3e1 HHH-5578 implement a cleaner version of getPropertyOverriddenByMapperOrMapsId in the SpecJ case
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20768 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-10-04 09:45:41 +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 e1cea7d8e1 HHH-5609 - Move SessionImplementor#wasInsertedDuringTransaction to PersistenceContext
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20760 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-09-30 17:47:19 +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 4fb0ccd5f1 HHH-5598 sybase's getCurrentTimestampSQLFunctionName should be getdate()
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20711 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-09-26 15:42:11 +00:00
Strong Liu 21dbc7ff0a HHH-5598 sybase ASE cannot handle select count(distinct c1, c2, c3) from t1.
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20710 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-09-26 15:39:58 +00:00
Strong Liu 0f70f7243d HHH-5598 sybase supports grid id generate strategy
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20709 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-09-26 15:32:06 +00:00
Strong Liu 87b645e0c1 HHH-5598 sybase and ms sql server do support union all
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20708 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-09-26 15:28:34 +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
Steve Ebersole dbdcb01312 HHH-5591 - ConcurrentStatisticsImpl#queryExecuted() does not update queryExecutionMaxTimeQueryString
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20706 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-09-25 15:47:57 +00:00
Steve Ebersole 1fccf2a04e HHH-5581 - Improve InformixDialect sequence support
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20705 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-09-25 15:35:02 +00:00
Strong Liu f11f7f28b4 HHH-5594 minor improvement
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20701 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-09-25 09:22:53 +00:00
Strong Liu bc8fee2624 HHH-5589 mysql does not support column check
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20694 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-09-24 15:39:44 +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
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 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
Strong Liu 641073eb06 HHH-5558 rollback
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20637 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-09-15 02:47:38 +00:00
Strong Liu d651fba422 HHH-5558 Change made so that temp tables need not to be deleted, they get deleted automatically in Sybase.
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20634 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-09-13 09:44:07 +00:00
Strong Liu 7cb332acab HHH-5557 Sybase supports alias length upto 30 characters
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20632 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-09-13 03:13:08 +00:00
Steve Ebersole c11a297420 HHH-5543 - JEE bootstrapping should only parse and validate mapping files once
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20325 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-09-09 03:35:35 +00:00
Steve Ebersole 7402098392 HHH-5310 - orm_2_0.xsd compliant mapping files break in JEE use cases
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20321 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-09-08 18:03:28 +00:00
Strong Liu 9efd896834 HHH-5356 Sybase 15 does not support cross join
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20317 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-09-08 03:06:25 +00:00
Strong Liu dbcced88aa HHH-5484 org.hibernate.type.UUIDCharType incorrectly mapped to char and causes test fail due to the padding space
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20303 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-09-01 18:58:32 +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
Steve Ebersole ab97bf0bf0 HHH-5517 - Switch uuid generation in SessionFactory to org.hibernate.id.UUIDGenerator instead
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20296 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-08-31 19:07:03 +00:00
Steve Ebersole 21c49fff68 HHH-5520 - Per org.hibernate.cache.RegionFactory javadocs, implementors should be allowed to use no-arg constructor
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20295 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-08-31 18:57:54 +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 b012b7bd23 HHH-1189 - interfaces for Proxies are not regonized as interfaces
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20275 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-08-27 10:48:39 +00:00
Steve Ebersole 15ee506630 HHH-1189 - interfaces for Proxies are not regonized as interfaces
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20272 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-08-27 01:50:32 +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 07092e1caf HHH-5509 - Leverage StandardBasicTypes internaly
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20270 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-08-26 20:24:12 +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
Steve Ebersole 88ef160293 HHH-5427 - derby 10.6.1.0 native sequence support broken
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20268 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-08-26 18:53:07 +00:00
Steve Ebersole 43122d96c3 HHH-5453 - ByteCodeHelper.readByteCode won't load classes bigger than a constant size
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20267 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-08-26 17:53:24 +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
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