Commit Graph

1098 Commits

Author SHA1 Message Date
Steve Ebersole 5d6d9b87c1 HHH-7020 - Connection leak with nested sessions 2012-03-19 19:09:44 -05:00
Steve Ebersole 5a1d523b4d HHH-7090 - Temporary session closing affects original session 2012-03-19 17:34:15 -05:00
Hardy Ferentschik 60c1b23c7b HHH-6271 Introducing Byteman in order to really test that a certain log message gets never called. 2012-03-19 23:19:46 +08:00
Hardy Ferentschik fa1183f3f9 HHH-6271 Unifying error logger in XMLHelper and standalone ErrorLogger. Removing the former and integrating some features of the latter into ErrorLogger.
Also using a deferred logging approach.
2012-03-19 23:19:45 +08:00
Hardy Ferentschik 6c0ebd40a5 HHH-6271 Adding some more tests 2012-03-19 23:19:45 +08:00
Hardy Ferentschik 8373871c30 HHH-6271 Javadocs and some generics fixes 2012-03-19 23:19:45 +08:00
Hardy Ferentschik ddcd060441 HHH-6271 Adding explicit test showing that orm version 1 works 2012-03-19 23:19:45 +08:00
Hardy Ferentschik 9272a905a0 HHH-6271 Fixing a typo in class name 2012-03-19 23:19:45 +08:00
Hardy Ferentschik 99be673a32 HHH-6271 Formatting and adding consistent licence header. Removing $Id which is a legacy from svn.
No functional changes
2012-03-19 23:19:44 +08:00
Steve Ebersole ee9b3585c5 HHH-7020 - Connection leak with nested sessions 2012-03-15 10:18:05 -05:00
Strong Liu e049fd6296 uid is a oracle keyword 2012-03-15 16:48:20 +08:00
Strong Liu b145388625 HHH-7174 org.hibernate.test.tm.CMTTest.testConcurrentCachedQueries fails due to test cases interdependent 2012-03-15 16:41:09 +08:00
Steve Ebersole ef41cdd6dd HHH-7133 - NaturalIdLoadAccess not correctly working on mutable NaturalId's 2012-03-14 17:56:10 -05:00
Steve Ebersole 8ffdc614d7 HHH-7133 - NaturalIdLoadAccess not correctly working on mutable NaturalId's 2012-03-14 15:11:29 -05:00
Steve Ebersole 77393f77f9 HHH-7167 - The new natural id code introduced in 4.1.1 depends on the order the entity persisters are loaded which leads to fatal errors 2012-03-14 14:25:27 -05:00
Steve Ebersole c7afef512e HHH-7158 - Regression: null values on NaturalId's at persist-time are causing subsequent NPE's and wrong behaviour 2012-03-14 13:36:47 -05:00
Steve Ebersole e532dc5e7d 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-14 12:05:28 -05:00
Strong Liu 90d02e669b HHH-7169 - fix failling tests 2012-03-14 14:26:07 +08:00
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 b51b2ff4cb HHH-7156 Make Hibernate ORM compile and run tests using JDK 7 (and JDK 6) 2012-03-13 21:58:48 +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 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 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
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 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
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
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
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