Commit Graph

3737 Commits

Author SHA1 Message Date
Steve Ebersole 87941b89aa HHH-7169 - Use ClassLoaderService to load JDBC driver classes 2012-03-13 14:51:04 -05:00
Steve Ebersole c3fc7f3214 HHH-7165 - count() query on classes using EmbeddedId should not use id column tuple on Dialects which dont support non-distinct tuple counts 2012-03-13 12:27:48 -05:00
Steve Ebersole 41dd7079e0 HHH-7165 - count() query on classes using EmbeddedId should not use id column tuple on Dialects which dont support non-distinct tuple counts 2012-03-13 12:27:48 -05:00
Strong Liu c943285bbd HHH-7156 Make Hibernate ORM compile and run tests using JDK 7 (and JDK 6) 2012-03-13 23:19:08 +08:00
Strong Liu b51b2ff4cb HHH-7156 Make Hibernate ORM compile and run tests using JDK 7 (and JDK 6) 2012-03-13 21:58:48 +08:00
Strong Liu 3a5bb1f571 upgrade to junit 4.10
exclude xml-api which is part of JDK 6/7
change jboss-logging to make it JDK7 compatibile
2012-03-13 16:12:46 +08:00
Steve Ebersole dceda48ff1 HHH-7162 - Use concise artifact syntax in build scripts 2012-03-09 13:40:26 -06:00
Zbyněk Roubalík 3e99b2c440 HHH-7159 Database keywords causes failure of some tests in org.hibernate.test.collection.custom 2012-03-08 15:40:44 +01:00
Steve Ebersole ab80780cf1 release 4.1.1 2012-03-07 21:12:11 -06:00
Steve Ebersole 8563fb8a8b release 4.1.1 2012-03-07 21:10:40 -06:00
Steve Ebersole 0e88fdd909 HHH-7153 - Update to newest jDocBook tool chain versions 2012-03-07 20:40:42 -06:00
Steve Ebersole 05c3679373 HHH-7138 - Hibernate implements JPA @OneToMany collection versioning incorrectly 2012-03-07 20:40:42 -06:00
Strong Liu 94e79944b8 HHH-5927 remove logging guard and correct javadoc 2012-03-06 23:28:22 +08:00
Strong Liu b4659173a8 1. remove commons-collections dependency.
2. moved org.hibernate.internal.util.collections.ConcurrentReferenceHashMap from envers module to core, and change it to doesn't allow null key / value.
3. Using ConcurrentReferenceHashMap this to replace old ReferenceMap (from commons-collections) which used in StatefulPersistenceContext.
4. copied org.hibernate.internal.util.collections.BoundedConcurrentHashMap from infinispan code base.
5. deprecate properties QUERY_PLAN_CACHE_MAX_STRONG_REFERENCES and QUERY_PLAN_CACHE_MAX_SOFT_REFERENCES
6. add two new properties QUERY_PLAN_CACHE_PARAMETER_METADATA_MAX_SIZE and QUERY_PLAN_CACHE_MAX_SIZE
7. remove LRUMap, SimpleMRUCache and SoftLimitMRUCache
2012-03-06 23:28:22 +08:00
Strong Liu 01fe115adf HHH-6100 unqualify entity name and minor improvement 2012-03-06 23:04:32 +08:00
Strong Liu b0f2658ecf HHH-6100 Bug fix related to CriteriaQuery (JPA) when using XML mappings 2012-03-06 23:04:32 +08:00
Strong Liu ae5d030ae1 HHH-6100 Bug fix related to CriteriaQuery (JPA) when using XML mappings 2012-03-06 23:04:31 +08:00
Steve Ebersole 7a9cdb5379 HHH-7147 - ServiceRegistry is starting services twice 2012-03-05 15:06:25 -06:00
Steve Ebersole 3d3ac538d8 HHH-7138 - Hibernate implements JPA @OneToMany collection versioning incorrectly 2012-03-05 15:06:10 -06:00
Steve Ebersole 36c135ab66 HHH-4417 - Add annotation support for UserCollectionType 2012-03-05 10:24:47 -06:00
Steve Ebersole 497f700c16 HHH-7138 - Hibernate implements JPA @OneToMany collection versioning incorrectly 2012-03-03 16:51:58 -06:00
Lukasz Antoniak 7c60f01f2d HHH-7106 - Fix, test and documentation 2012-03-03 10:27:35 +01:00
Steve Ebersole ba6ad4d072 HHH-7138 - Hibernate implements JPA @OneToMany collection versioning incorrectly 2012-03-02 17:09:43 -06:00
Laird Nelson a3b02e404d Fixed bug https://hibernate.onjira.com/browse/HHH-6883. 2012-03-02 14:06:51 -06:00
Steve Ebersole d7d9f0dfb2 HHH-4417 - Add annotation support for UserCollectionType 2012-03-02 13:17:14 -06:00
Steve Ebersole 0732db14b8 HHH-7097 - Entity load event doesn't result in naturalId->pk caching 2012-03-02 12:47:01 -06:00
Steve Ebersole f26435dfec HHH-6589 - Skip non-JPA features populating JPA "static metamodel" 2012-03-02 10:16:04 -06:00
mam f4c9b284a1 HHH-6589 - Skip non-JPA features populating JPA "static metamodel" 2012-03-02 10:15:41 -06:00
Steve Ebersole 2f280b0c5a Merge branch 'HHH-7096' of https://github.com/edalquist/hibernate-core 2012-03-01 13:32:45 -06:00
Steve Ebersole a889b6cca1 HHH-7097 - Entity load event doesn't result in naturalId->pk caching 2012-03-01 13:22:09 -06:00
Steve Ebersole 7678917313 Merge branch 'HHH-7097' of https://github.com/edalquist/hibernate-core 2012-03-01 10:45:15 -06:00
Steve Ebersole 9bbcf5a6d0 HHH-7095 - Handle RegionFactory.buildNaturalIdRegion throwing UnsupportedOperationException 2012-03-01 10:40:59 -06:00
Steve Ebersole 93b0955641 Merge branch 'HHH-7095' of https://github.com/edalquist/hibernate-core 2012-03-01 10:34:38 -06:00
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