Commit Graph

528 Commits

Author SHA1 Message Date
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
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 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 cf2cab9e18 HHH-1643 - Sub-query as function parameter - either sub-query is missed from SQL or NullPointerException raised
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20163 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-08-18 17:27:40 +00:00
Steve Ebersole 39b0774ae3 HHH-5469 - HHH-3659 is only half done, due to HHH-4989 (i.e. no HQL performance log when running Java 5)
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20161 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-08-18 17:05:44 +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 35912c5e36 HHH-5485 - Allow entity resolver to handle old and new Hibernate namespace. Using hibernate.sourcefroge.net outputs a warning now
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20155 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-08-17 15:12:41 +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 8a0a4a249c HHH-5449 - Versioned HQL update might issue incorrect SQL
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20140 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-08-13 16:46:02 +00:00
Steve Ebersole f818471115 HHH-5477 - Introduce StandardBasicTypes for standard basic type constants
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20138 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-08-13 16:32:46 +00:00
Steve Ebersole f0f82e4f1b HHH-5474 - Clean up usages of now deprecated ExtendedMappings
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20136 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-08-12 19:13:48 +00:00
Steve Ebersole 74eb608be6 HHH-5300 - Configurable strong and soft reference QueryPlanCache sizes
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20135 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-08-12 17:01:49 +00:00