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
066ea8d667
HHH-5607 - Add derby profile
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20758 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-09-30 13:15:55 +00:00
Hardy Ferentschik
2a7be6d0d1
Fixed typo in string null check of project name. -z instead of -Z
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20756 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-09-30 08:49:21 +00:00
Gail Badner
f3eb7978fd
update changelog.txt for 3.6.0.CR2
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20754 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-09-29 21:23:58 +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
d4f8eddc1a
HHH-5190 added documentation
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20750 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-09-29 12:50:23 +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
Erik-Berndt Scheper
558d9469e0
HHH5371 - Rollback until after 3.6.0 release as per Adam's request via IM
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20745 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-09-28 23:50:53 +00:00
Erik-Berndt Scheper
b258e58e69
HHH-5371 - Add support for REVEND_TSTMP which will enable audit table partitioning
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20744 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-09-28 22:24:09 +00:00
Erik-Berndt Scheper
8f8e0fbfe2
HHH-5371 - Add support for REVEND_TSTMP which will enable audit table partitioning
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20743 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-09-28 22:23:04 +00:00
Hardy Ferentschik
5fc7e88533
HHH-5205 Updated documentation about @Source
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20742 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-09-28 16:39:06 +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
Erik-Berndt Scheper
122d54fee8
HHH-5560 - Rename Envers ValidAuditTimeStrategy to ValidityAuditStrategy
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20718 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-09-26 19:56:28 +00:00
Erik-Berndt Scheper
dd8fe46f58
HHH-5560 - Rename Envers ValidAuditTimeStrategy to ValidityAuditTimeStrategy
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20717 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-09-26 19:55:50 +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
Strong Liu
dd1070c474
correct non utf-8 character
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20714 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-09-26 18:17:36 +00:00
Strong Liu
b21ae56c67
HHH-3032 Sybase restriction of using alias in sub-query
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20713 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-09-26 18:10:52 +00:00
Strong Liu
685ddb254e
HHH-5598 add sybase jdbc4 profile
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20712 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-09-26 16:47:04 +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
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
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
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
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
Adam Warski
dde16433ad
Minor corrections to the tutorial
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20665 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-09-20 13:44:04 +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