Commit Graph

1016 Commits

Author SHA1 Message Date
Steve Ebersole 79774a0453 HHH-7030 - EventListenerRegistry interface generic declaration is not extensible to subclasses 2012-02-08 07:37:23 -06:00
Gail Badner 4595df2395 HHH-7032 : Deprecate Dialect.buildSQLExceptionConverter() 2012-02-07 23:59:54 -06:00
Gail Badner b8acbc85e6 HHH-6944 : Remove OracleSQLExceptionConversionDelegate 2012-02-07 23:15:51 -06:00
Gail Badner 5081861dd8 HHH-6944 : Update Dialects to return SQLExceptionConversionDelegate 2012-02-07 23:15:51 -06:00
Steve Ebersole ae872ed898 HHH-6974 - Add caching to new "load access" api for natural id loading 2012-02-07 09:25:50 -06:00
Eric Dalquist 1569e6194b HHH-6974 Complete second level caching of natural id resolution 2012-02-07 08:34:23 -06:00
Eric Dalquist ef22e31068 HHH-6974 Adding hooks into NaturalIdRegionAccessStrategy
Created NaturalIdCacheKey to encapsulate the key for caching a naturalid
Adding hooks into NaturalIdRegionAccessStrategy from StatefulPersistenceContext
for load/insert/update/delete events on entities
2012-02-07 08:34:23 -06:00
Eric Dalquist c473520585 HHH-6974 Class level naturalId cache and stats
Add class level @NaturalIdCache annotation to denote if second level natualId caching should be done
Flush out stats model for naturalId cache related stats
Add ehcache support classes for naturalId region
2012-02-07 08:34:23 -06:00
Eric Dalquist 72fe79a3f2 HHH-6974 Addition of NaturalIdRegion SPI
Adds NaturalIdRegion to RegionFactory
Adds creation of NaturalIdRegions to SessionFactoryImpl setup
Basic copy of collection cache region behavior for first pass at naturalId region support in ehcache
2012-02-07 08:34:23 -06:00
Eric Dalquist 780305d861 HHH-7009 HHH-7014 : Reorg dialiect class names per Jira feedback and deprecate PostgreSQLDialect
Primary dialects are now versioned with the non-versioned
dialect class remaining but deprecated for compatibility
2012-02-06 10:18:05 -06:00
Eric Dalquist b72923070e HHH-7009 Create new PostgreSQL 8.2 Dialect
Create dialect for Postgres 8.2 and later which supports "if exists"
in drop statements. Update resolver to return the correct dialect
version.
2012-02-06 09:57:21 -06:00
Strong Liu a512ede38b code format and simple improvement 2012-02-03 05:34:39 +08:00
Steve Ebersole 8bead4f084 HHH-7011 - Document multi-tenancy 2012-01-31 19:59:37 -06:00
Steve Ebersole 89911003e3 HHH-6336 - Add TenantIdentifierResolver 2012-01-31 12:40:19 -06:00
Gail Badner 230cff7d00 HHH-3218 : ManyToOne Persisting Cascade in Embeddable as part of ElementCollection 2012-01-30 13:37:57 -08:00
Steve Ebersole bfb7fc8596 HHH-6998 - Expand CustomEntityDirtinessStrategy to define findDirty 2012-01-28 09:44:49 -06:00
Steve Ebersole 91847d7027 HHH-6998 - Expand CustomEntityDirtinessStrategy to define findDirty 2012-01-27 14:51:01 -06:00
Gail Badner ebee6b731e HHH-6957 : Throw TransientPropertyValueException if there are unresolved entity insert actions after persist/save/merge listeners execute 2012-01-27 00:15:38 -08:00
Gail Badner bb4738b1e4 HHH-5299 : Multi-Level cascading of unsaved instances with bidirectional associations fails with TransientObjectException 2012-01-26 19:33:37 -08:00
Steve Ebersole 253cb0a9d3 HHH-6580 - Discriminator value used as ID when inserting entity to PosgtreSQL 2012-01-26 14:37:00 -06:00
Steve Ebersole fa6a2f6159 HHH-6580 - Discriminator value used as ID when inserting entity to PosgtreSQL 2012-01-25 22:07:50 -06:00
Steve Ebersole 917eef5ad1 HHH-6580 - Discriminator value used as ID when inserting entity to PosgtreSQL 2012-01-25 15:56:25 -06:00
Paweł Stawicki f69813fad0 HHH-6580 Discriminator value used as ID when inserting entity to PostgreSQL 2012-01-25 15:56:25 -06:00
Steve Ebersole 72e382b045 HHH-3910 - custom dirty flag tracking 2012-01-25 12:38:57 -06:00
Steve Ebersole 23a62802c8 HHH-4358 - Having to use @ForceDiscriminator kind of breaks JPA compatibility 2012-01-24 13:42:57 -06:00
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