Commit Graph

3753 Commits

Author SHA1 Message Date
edalquist 2d03ca322d HHH-2879 Make IdentifierLoadAccess the primary API
HHH-2879 Update all load and get APIs to use byId and IdentifierLoadAccess
2012-01-12 16:13:22 -06:00
edalquist 60b6c7f5eb HHH-2879 Add LoadAccess interfaces to Session API
HHH-2879 Add naive implementation of IdentifierLoadAccess
HHH-2879 Add placeholder implementation of NaturalIdLoadAccess
2012-01-12 16:11:50 -06:00
Adam Warski d8003efcf6 Merge pull request #249 from stliu/HHH-6964
HHH-6964 Audit Strategy class can't be found by Thread.currentThread().getContextClassLoader() under AS7
2012-01-12 12:13:02 -08:00
Strong Liu 8f9d8b530e HHH-6964 EnversIntegrator is always detected by default while initializing Serviceregistry using Native Hibernate API causing a MappingException even when Envers is not used 2012-01-13 04:09:01 +08:00
Strong Liu e07aff45da HHH-6964 EnversIntegrator is always detected by default while initializing Serviceregistry using Native Hibernate API causing a MappingException even when Envers is not used 2012-01-13 03:44:30 +08:00
Adam Warski aa33b57242 Including the actual exception if an AuditStrategy can't be created 2012-01-12 20:12:43 +01:00
Steve Ebersole 23891ff11a 4.0.1 2012-01-11 14:05:37 -06:00
Steve Ebersole b6e6f4f628 4.0.1 2012-01-11 12:19:54 -06:00
Steve Ebersole 7899d34ca4 Merge branch 'master' of github.com:hibernate/hibernate-core 2012-01-11 12:14:26 -06:00
Paul Ferraro 5a8060ae8b HHH-6952 Allow extensions of InfinispanRegionFactory to override classloader logic 2012-01-11 17:24:57 +01:00
Galder Zamarreño 8a4d604d9c ISPN-6955 Add guarantees that the cluster forms 2012-01-11 16:12:58 +01:00
Adam Warski ad65da80ed Adding a note that listeners are no longer needed in 4.x 2012-01-11 15:34:07 +01:00
Strong Liu bd552fe909 code format and correct javadoc 2012-01-11 17:46:18 +08:00
Lukasz Antoniak fbfc133af8 HHH-6825 - Formatting and Javadoc change 2012-01-10 20:34:39 +01:00
Lukasz Antoniak c703d134f2 HHH-6825 - ToOne property mappers refactoring 2012-01-10 20:08:43 +01:00
Steve Ebersole 0481dad403 HHH-6657 - Document org.hibernate.integrator.spi.IntegratorService 2012-01-10 13:03:42 -06:00
Galder Zamarreño 81c505c70c HHH-6955 Use Infinispan's test JGroups stack that uses TEST_PING
By doing this, discovery of nodes is not timed and instead is done
in-memory which is much more reliable from a testing perspective.
Due to timing issues, some tests would randomly fail because the
cluster did not form in time, so changing to this JGroups stack for
testing solves random test failures due to invalidation messages
not being sent around.
2012-01-10 19:17:26 +01:00
Steve Ebersole 066fea02c7 HHH-5024 - MetadataContext#registerAttribute does not recognize inherited fields 2012-01-10 10:06:18 -06:00
Galder Zamarreño cc9fbf42a9 HHH-6955 Upgrade to Infinispan 5.1.0.CR3
* Switch to autoCommit=false so that unnecessary transactions
are not created.
* Mark timestamps cache explicitly non-transactional.
* Move away from using caches as a way to send evict all
notifications. Instead, use custom commands provided by Infinispan.
* Get rid of the JDBC transaction test because it does not make
sense configuring JDBC transactions with Infinispan 2LC.
2012-01-10 13:55:30 +01:00
Steve Ebersole a41efe37d5 HHH-5275 - Criteria.setLockMode does not work correctly 2012-01-09 17:53:24 -06:00
Steve Ebersole 35ce5bfef7 HHH-5024 - MetadataContext#registerAttribute does not recognize inherited fields 2012-01-09 17:53:11 -06:00
Steve Ebersole e69104cd23 HHH-5275 - Criteria.setLockMode does not work correctly 2012-01-09 17:06:22 -06:00
Steve Ebersole cc15ba3f58 HHH-5024 - MetadataContext#registerAttribute does not recognize inherited fields 2012-01-09 16:02:57 -06:00
lukasz-antoniak 0efd1dd886 Merge pull request #244 from lukasz-antoniak/HHH-4439
HHH-4439 - Override auditing behavior of properties defined in @MappedSuperclass
2012-01-09 12:43:45 -08:00
Lukasz Antoniak 53b32e9e8d HHH-4439 - Javadoc change 2012-01-09 21:18:57 +01:00
Steve Ebersole e0f7d8fb17 HHH-6933 - Developer's guide has strange markup in Chapter 1 2012-01-09 11:10:59 -06:00
Steve Ebersole 8d6a07f611 HHH-6887 - Improve SQLStateConverter to take sql state type from the database metadata into account 2012-01-06 16:50:43 -06:00
Steve Ebersole 9ca985ccd1 HHH-6940 - Ability (easier) to run bits of code in a timeout protected way 2012-01-06 08:21:04 -06:00
Lukasz Antoniak 05df3d8638 HHH-4439 - Test and Javadoc change 2012-01-06 15:20:27 +01:00
Lukasz Antoniak 1293253412 HHH-4439 - Javadoc change 2012-01-06 14:37:24 +01:00
Lukasz Antoniak 0a08780e13 HHH-4439 - Deprecate Audited.auditParents 2012-01-06 14:14:07 +01:00
Steve Ebersole 86f3f3c347 HHH-6940 - Ability (easier) to run bits of code in a timeout protected way 2012-01-05 16:38:19 -06:00
Steve Ebersole f8b5190a19 HHH-5275 - Criteria.setLockMode does not work correctly 2012-01-05 16:03:11 -06:00
Steve Ebersole 343269b00d HHH-5124 - Removing an entity and persisting it again fails 2012-01-05 16:03:11 -06:00
Adam Warski ab09c575e6 Merge pull request #242 from javaprog/HHH-5891
HHH-5891: Added ordering clause to query generated by getRevisions()
2012-01-05 08:15:07 -08:00
Steve Ebersole 2795994b22 HHH-6937 - Process database profiles just once per build 2012-01-05 09:58:42 -06:00
Lukasz Antoniak 5c80268664 HHH-6825 - Fix and test 2012-01-04 21:10:53 +01:00
Steve Ebersole 959e048fd0 HHH-6937 - Process database profiles just once per build 2012-01-04 13:43:46 -06:00
Scott Marlow 76a3ad2021 HHH-6936 EntityManagerImpl.close() and EntityManagerImpl.isOpen() should check if the session factory is closed 2012-01-04 13:59:18 -05:00
Scott Marlow 5e3775afe8 HHH-6897 fix for 'registry contains more than one (2) entity manager factories: EMF_BaseEntityManagerFunctionalTestCase' failure 2012-01-04 13:59:17 -05:00
Michael Rudolf 875a4b29dd HHH-5891: Added ordering clause to query generated by getRevisions() to fulfill guarantee given in JavaDoc. 2012-01-04 17:25:58 +01:00
Steve Ebersole 40c61775df HHH-6931 - Provide local database hook 2012-01-03 21:35:54 -06:00
Steve Ebersole 5540700f71 HHH-6931 - Provide local database hook 2012-01-03 21:34:05 -06:00
Steve Ebersole f0d004d1c9 HHH-6931 - Provide local database hook 2012-01-03 21:32:08 -06:00
Steve Ebersole 9ed04d3b84 HHH-6931 - Provide local database hook 2012-01-03 21:12:33 -06:00
Steve Ebersole 9d9d1f11e3 HHH-6931 - Provide local database hook 2012-01-03 21:10:54 -06:00
Steve Ebersole 76ac264c6a HHH-5275 - Criteria.setLockMode does not work correctly 2012-01-03 20:43:50 -06:00
Steve Ebersole ab94a18c33 HHH-6931 - Provide local database hook 2012-01-03 20:43:15 -06:00
Steve Ebersole ccc087b975 HHH-5275 - Criteria.setLockMode does not work correctly 2012-01-01 18:52:17 -06:00
Steve Ebersole ea5cf961e1 HHH-6902 - Create typed query in EntityManager throws NullPointerException when filters are present 2011-12-30 22:12:23 -06:00