Commit Graph

991 Commits

Author SHA1 Message Date
Steve Ebersole 6258df4752 HHH-3910 - custom dirty flag tracking 2012-01-23 22:50:35 -06:00
Scott Marlow aef0e25405 HHH-6984 only increment statistics if statistics are enabled 2012-01-23 17:34:21 -05:00
Steve Ebersole 537481adbd HHH-6923 - Remove org.hibernate.service.instrumentation.spi.InstrumentationService 2012-01-23 14:49:23 -06:00
Steve Ebersole d50a66bc20 HHH-6970 - Expand notion of "natural id mutability" to ternary value 2012-01-23 12:11:46 -06:00
Steve Ebersole b0ba04d09b HHH-6974 - Add caching to new "load access" api for natural id loading 2012-01-21 08:39:37 -06:00
Steve Ebersole bbac2fd220 HHH-6974 - Add caching to new "load access" api for natural id loading 2012-01-20 21:25:38 -06:00
Steve Ebersole 33d399f186 HHH-6974 - Add caching to new "load access" api for natural id loading 2012-01-20 21:16:59 -06:00
Steve Ebersole 622d9b37b9 HHH-6994 - Have EntityEntry fire notification to PersistenceContext on loadedState being updated 2012-01-20 20:45:17 -06:00
Steve Ebersole e0a09dbd79 HHH-6970 - Expand notion of "natural id mutability" to ternary value 2012-01-20 10:51:17 -06:00
Steve Ebersole 73dec965a0 HHH-6970 - Expand notion of "natural id mutability" to ternary value 2012-01-20 10:51:17 -06:00
Steve Ebersole 57e9b48587 HHH-6970 - Expand notion of "natural id mutability" to ternary value 2012-01-20 10:51:17 -06:00
Gail Badner 0c80b409a1 HHH-5472 : test fixes for dialects that don't support identities 2012-01-19 15:49:11 -08:00
Steve Ebersole 9ff70a8acf HHH-6985 - Change up tests for PostgreSQL LockMode issues 2012-01-19 10:42:20 -06:00
Gail Badner 66a9f21e89 HHH-5472 : Delay saving an entity if it does not cascade the save to non-nullable transient entities 2012-01-18 18:10:47 -08:00
Gail Badner ea7afb2683 HHH-5472 : Added tests for delaying entity save due to non-nullable transient entities 2012-01-18 18:10:47 -08:00
Gail Badner e11e9631c7 HHH-5472 : Delay saving an entity if it does not cascade the save to non-nullable transient entities 2012-01-18 18:10:47 -08:00
Steve Ebersole e52d184b51 HHH-2879 - add an actual api for loading an entity by natural candidate key (mapped natural-id) 2012-01-16 10:33:05 -06:00
Steve Ebersole 3071fa892f HHH-2879 - create a SimpleNaturalIdLoadAccess for easier access for simple (single attribute) natural ids 2012-01-13 15:23:02 -06:00
Steve Ebersole e75b8a77b1 HHH-6967 - HHH-6906 - Clean up javadoc warnings 2012-01-13 11:17:34 -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
Strong Liu bd552fe909 code format and correct javadoc 2012-01-11 17:46:18 +08:00
Steve Ebersole a41efe37d5 HHH-5275 - Criteria.setLockMode does not work correctly 2012-01-09 17:53:24 -06:00
Steve Ebersole e69104cd23 HHH-5275 - Criteria.setLockMode does not work correctly 2012-01-09 17:06:22 -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 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
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 69f0d092a8 HHH-6854 - testSubsequentPooledLoOptimizerUsage doesn't actually test the PooledLo optimizer 2011-12-30 21:37:50 -06:00
Steve Ebersole d60c168944 HHH-6840 - Add to_char function to HSQLDialect 2011-12-30 21:25:02 -06:00
Steve Ebersole b2f24c6987 HHH-6855 - SequenceStyleGenerator should force use of TableStructure when the optimizer is PooledLo 2011-12-30 21:05:03 -06:00
Steve Ebersole 5071a82458 HHH-5275 - Criteria.setLockMode does not work correctly 2011-12-30 18:48:33 -06:00
Steve Ebersole 2eac7c33ec HHH-5275 - Criteria.setLockMode does not work correctly 2011-12-30 18:47:44 -06:00
Steve Ebersole 8d9f772a90 HHH-5275 - Criteria.setLockMode does not work correctly 2011-12-29 11:03:38 -06:00
Steve Ebersole 00d7baedfa HHH-5275 - Criteria.setLockMode does not work correctly 2011-12-29 10:01:41 -06:00
Steve Ebersole 244623cce9 HHH-6822 - Split notions of (1) "naming" a SessionFactory and (2) specifying a JNDI name to which to bind it 2011-12-29 10:01:41 -06:00
Steve Ebersole 2ddaeedd1e HHH-5275 - Criteria.setLockMode does not work correctly 2011-12-28 12:04:31 -06:00
Steve Ebersole 1e591f09ac HHH-6920 - HQL insert queries and identifier handling 2011-12-27 23:19:04 -06:00
Strong Liu d4e8e9973f HHH-6921 com.fasterxml:classmate dependency should not be exported to published pom 2011-12-28 13:11:18 +08:00
Steve Ebersole d327449d54 HHH-2763 - Allow initialization during flush 2011-12-27 13:53:50 -06:00
Scott Marlow e18d087592 HHH-6897 serialization of the EntityManager should be possible 2011-12-20 12:23:07 -05:00