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
Adam Warski
f434cd4311
HHH-6605: Fixing problems with lazy proxy initialization
2012-01-20 22:46:36 +01:00
Adam Warski
89bb7ec175
HHH-6605: More conflicts merging
2012-01-20 20:57:40 +01:00
Adam Warski
a00f23c6f6
Merge remote-tracking branch 'origin/master'
...
Conflicts:
hibernate-envers/src/main/java/org/hibernate/envers/configuration/metadata/AuditMetadataGenerator.java
hibernate-envers/src/main/java/org/hibernate/envers/entities/mapper/relation/OneToOneNotOwningMapper.java
hibernate-envers/src/main/java/org/hibernate/envers/entities/mapper/relation/ToOneIdMapper.java
2012-01-20 20:52:41 +01:00
Adam Warski
b109633b66
HHH-6605: Merging changes by Michal Skowronek. Thanks! Merge remote-tracking branch 'mskowron/change_info'
...
Conflicts:
hibernate-envers/src/main/java/org/hibernate/envers/configuration/GlobalConfiguration.java
hibernate-envers/src/main/java/org/hibernate/envers/configuration/metadata/AuditMetadataGenerator.java
hibernate-envers/src/main/java/org/hibernate/envers/configuration/metadata/ComponentMetadataGenerator.java
hibernate-envers/src/main/java/org/hibernate/envers/configuration/metadata/MetadataTools.java
hibernate-envers/src/main/java/org/hibernate/envers/configuration/metadata/reader/AuditedPropertiesReader.java
hibernate-envers/src/main/java/org/hibernate/envers/entities/mapper/ComponentPropertyMapper.java
hibernate-envers/src/main/java/org/hibernate/envers/entities/mapper/MultiPropertyMapper.java
hibernate-envers/src/main/java/org/hibernate/envers/entities/mapper/PropertyMapper.java
hibernate-envers/src/main/java/org/hibernate/envers/entities/mapper/SinglePropertyMapper.java
hibernate-envers/src/main/java/org/hibernate/envers/entities/mapper/SubclassPropertyMapper.java
hibernate-envers/src/main/java/org/hibernate/envers/entities/mapper/relation/AbstractCollectionMapper.java
hibernate-envers/src/main/java/org/hibernate/envers/entities/mapper/relation/OneToOneNotOwningMapper.java
hibernate-envers/src/main/java/org/hibernate/envers/event/BaseEnversCollectionEventListener.java
hibernate-envers/src/main/java/org/hibernate/envers/query/criteria/AuditProperty.java
hibernate-envers/src/main/java/org/hibernate/envers/synchronization/work/AddWorkUnit.java
hibernate-envers/src/main/java/org/hibernate/envers/synchronization/work/CollectionChangeWorkUnit.java
hibernate-envers/src/main/java/org/hibernate/envers/synchronization/work/DelWorkUnit.java
hibernate-envers/src/main/java/org/hibernate/envers/synchronization/work/FakeBidirectionalRelationWorkUnit.java
hibernate-envers/src/main/java/org/hibernate/envers/tools/Tools.java
hibernate-envers/src/matrix/java/org/hibernate/envers/test/AbstractOneSessionTest.java
hibernate-envers/src/matrix/java/org/hibernate/envers/test/AbstractSessionTest.java
hibernate-envers/src/matrix/java/org/hibernate/envers/test/integration/components/relations/ManyToOneInComponent.java
hibernate-envers/src/matrix/java/org/hibernate/envers/test/integration/components/relations/NotAuditedManyToOneInComponent.java
hibernate-envers/src/matrix/java/org/hibernate/envers/test/integration/components/relations/OneToManyInComponent.java
hibernate-envers/src/matrix/java/org/hibernate/envers/test/integration/entityNames/singleAssociatedAudited/SingleDomainObjectToMultipleTablesTest.java
hibernate-envers/src/matrix/java/org/hibernate/envers/test/integration/inheritance/joined/notownedrelation/NotOwnedBidirectional.java
2012-01-20 20:47:12 +01: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
Lukasz Antoniak
81ee788466
Merge pull request #246 from lukasz-antoniak/HHH-6825
...
HHH-6825 - AuditException with @OneToOne-mappedBy and @PrimaryKeyJoinColumn
2012-01-18 11:41:05 -08:00
Galder Zamarreño
4a323a4415
HHH-6980 Upgrade to Infinispan 5.1.0.CR4
2012-01-18 13:19:01 +00:00
Lukasz Antoniak
755d7fb788
OS independent file separator in Gradle script
2012-01-17 15:29:43 +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
Lukasz Antoniak
10f48ef973
HHH-6825 - Renaming simple entity descriptor
2012-01-16 15:10:47 +01:00
Steve Ebersole
fbc71652b8
HHH-6969 - Reference manual discusses removed SessionFactory.openSession(Interceptor) method
2012-01-13 15:51:35 -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
f6c4868a44
HHH-6968 - Update overview.html for aggregated JavaDocs
2012-01-13 13:04:32 -06:00
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
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