Commit Graph

4154 Commits

Author SHA1 Message Date
Steve Ebersole 9768dacb6f Merge branch 'HHH-7094' of https://github.com/edalquist/hibernate-core 2012-03-01 10:30:10 -06:00
Eric Dalquist fd6b3b4db4 HHH-7089 Return naturalId cache region instead of null 2012-03-01 10:25:10 -06:00
Steve Ebersole 9f4fd48603 HHH-7085 - Entities marked as @Immutable that have a @NaturalId fail to be inserted with NPE 2012-03-01 10:01:23 -06:00
Eric Dalquist f1a54aeadf HHH-7085 Use the in-flight state for naturalId caching
Pass the current state Object[] from the event into the SPC to use
for naturalId caching
2012-03-01 10:01:22 -06:00
Eric Dalquist b5ba7bef42 HHH-7085 Add delete to immutable test 2012-03-01 10:01:22 -06:00
Eric Dalquist 571266aa3d HHH-7085 Add unit test that demonstrates error
Add unit test for @Immutable entity that has an @NaturalId
2012-03-01 10:01:21 -06:00
Galder Zamarreño bc643ddb7c Increase concurrent write test timeout 2012-03-01 12:21:40 +01:00
Steve Ebersole d66d335f29 HHH-7023 - Deprecate HQL-specific (JDBC-style) positional parameters 2012-02-29 18:00:15 -06:00
Steve Ebersole 982aad716f HHH-7129 - Throw exception when metadata attempts to spread @NaturalId across an entity hierarchy 2012-02-29 15:32:54 -06:00
Galder Zamarreño 8fccb62a6b HHH-7128 Upgrade to Infinispan 5.1.2.CR1 2012-02-29 18:41:34 +01:00
Galder Zamarreño 3449752493 HHH-7127 Fix query cache evictAll in single node 2012-02-29 17:58:56 +01:00
Strong Liu a12f50c870 upgrade to use gradle 1.0 M8a 2012-02-28 16:47:34 +08:00
Strong Liu 1278d12000 minor change and reformat partial code 2012-02-26 23:37:33 +08:00
Lukasz Antoniak 4e2d7d123d HHH-7117 - Fix and test 2012-02-24 21:35:17 +01:00
Lukasz Antoniak 34611877c8 HHH-7073 - Fix and test 2012-02-24 19:35:53 +01:00
Strong Liu 84f3821c03 HHH-7102 Misleading error message is shown when no RegionFactory is manually set 2012-02-23 16:55:02 +08:00
Eric Dalquist c0b66d5298 HHH-7097 Cache naturalId mapping on load event 2012-02-21 11:15:21 -06:00
Eric Dalquist a6ae52b732 HHH-7096 Populate Settings field in SingletonEhCacheRegionFactory 2012-02-21 11:07:31 -06:00
Eric Dalquist e18cba8761 HHH-7095 Handle UnsupportedOperationException from RegionFactory.buildNaturalIdRegion
Disable 2L naturalId caching if an UnsupportedOperationException is thrown
2012-02-21 10:49:11 -06:00
Eric Dalquist ec86bf9d1f HHH-7094 Call autoFlushIfRequired before naturalId query execution 2012-02-21 10:40:59 -06:00
Strong Liu 13f4c830e1 change to use gradle-upload-auth-plugin v1.1.1 since v1.1.0 is not available in the jboss nexus 2012-02-20 16:45:48 +08:00
Strong Liu 975141f27e better idea support 2012-02-20 16:36:18 +08:00
Strong Liu 4843d357df HHH-7067 fix idea config issue and format 2012-02-17 10:52:26 +08:00
Strong Liu ad4b4fc990 HHH-7067 update wrapper properties 2012-02-17 09:08:53 +08:00
Steve Ebersole 2107411faf HHH-7046 - Polymorphic query by natural ID broken 2012-02-15 17:18:41 -06:00
Steve Ebersole a21ba713ab HHH-7067 - Update build to work with Gradle m8 2012-02-15 16:38:24 -06:00
Steve Ebersole 7861fdee44 HHH-7067 - Update build to work with Gradle m8 2012-02-15 16:33:45 -06:00
Sanne Grinovero 40146b2920 avoid declaring unthrown exception 2012-02-15 15:17:45 +00:00
Sanne Grinovero ebd78e9bb1 Convert grammars to use StringBuilder as well 2012-02-15 15:17:45 +00:00
Sanne Grinovero 37dafa2a5a Replace many StringBuffer occurrences with StringBuilder 2012-02-15 15:17:45 +00:00
Sanne Grinovero a8dee131e4 Incorrect buffer size estimate for string concatenation in InterbaseDialect 2012-02-15 15:17:45 +00:00
Sanne Grinovero b3bb6d6dd6 remove dead code from boolean operand 2012-02-15 15:17:45 +00:00
Sanne Grinovero 10df95bbcd SimpleProjection should reuse commonly generated Strings 2012-02-15 15:17:45 +00:00
Sanne Grinovero f9ab0eb6ae HHH-7066 More code taking advantage from the Clob extraction 2012-02-15 15:17:45 +00:00
Sanne Grinovero 98082feb11 HHH-7066 use a larger buffer by default 2012-02-15 15:17:45 +00:00
Sanne Grinovero 818dd5959d HHH-7066 Extract a constant for the suggested default read buffer size 2012-02-15 15:17:45 +00:00
Sanne Grinovero 2710576f45 HHH-7066 optimize for a special but not unlikely case 2012-02-15 15:17:45 +00:00
Sanne Grinovero 18185e58f0 HHH-7066 make sure buffer size is at least 1 2012-02-15 15:17:44 +00:00
Sanne Grinovero f51779d2f7 HHH-7066 byte arrays to String conversion benefits from initial buffer size 2012-02-15 15:17:44 +00:00
Sanne Grinovero 98d0b8398d HHH-7066 Use known length from Clob to allocate StringBuffer 2012-02-15 15:17:44 +00:00
Sanne Grinovero 6497ff6a52 HHH-7066 Allocate smaller buffer if possible 2012-02-15 15:17:44 +00:00
Sanne Grinovero 939d7fc4c9 Remove defenses against non-JDBC4 class existance 2012-02-15 15:17:44 +00:00
Sanne Grinovero b7d80b8e6d whitespace and formatting fixes 2012-02-15 15:17:44 +00:00
Strong Liu c83b540218 HHH-3718 rolling back changes 2012-02-14 18:53:28 +08:00
nrodrigues e6df116a49 HHH-6946 - Add support for the AS400 (iSeries) system to
StandardDialectResolver
2012-02-14 16:50:59 +08:00
Michael Rudolf 22a6283e6d HHH-3718 - Do not initialize proxy upon call to ID getter when using
AccessType.FIELD
2012-02-14 16:37:42 +08:00
Strong Liu 8f223d199b HHH-7062 upgrade to jboss-logging 3.1.0.GA 2012-02-14 15:58:01 +08:00
Adam Bryzak 506f61fa66 Fixed boolean literals in Derby versions 10.7+ 2012-02-14 08:53:03 +10:00
Steve Ebersole 209abeafa8 HHH-7047 - Fix problems created by HHH-7044 2012-02-09 09:44:19 -06:00
Steve Ebersole 10a12295e3 4.1 release 2012-02-09 00:46:36 -06:00