Commit Graph

3550 Commits

Author SHA1 Message Date
Steve Ebersole e75b8a77b1 HHH-6967 - HHH-6906 - Clean up javadoc warnings 2012-01-13 11:17:34 -06:00
Steve Ebersole 5e8b74d8e8 HHH-6782 - define javadoc groups based on api/spi/internal 2012-01-13 10:58:48 -06:00
Steve Ebersole fb3566b467 HHH-2879 - initial clean implementation with no caching 2012-01-12 16:15:49 -06:00
edalquist e01ea2ecf8 HHH-2879 Apply hibernate code templates and formatting 2012-01-12 16:15:35 -06:00
edalquist f74c5a7fa5 HHH-2879 Apply hibernate code templates and formatting 2012-01-12 16:15:19 -06:00
edalquist 8de0f76df1 HHH-2879 Cache naturalId -> entityId sql on init 2012-01-12 16:15:03 -06:00
edalquist eecee618c6 HHH-2879 Add ResolveNaturalId event, listener and entity persister api
HHH-2879 Adds ResolveNaturalIdEvent with listener and default impl
HHH-2879 Adds API to EntityPersister to get an entity's ID based on its natural-id
HHH-2879 Add unit test for initial verification of loading an entity by natural-id
2012-01-12 16:14:28 -06:00
edalquist 8796fe5ed6 HHH-2879 Remove use of generics due to proxy issues 2012-01-12 16:13:45 -06:00
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
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
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