Branch: refs/heads/master
Home:
http://github.com/hibernate/hibernate-core
Commit: 5b782a83ea1935fc7925fd1931f9cf98ab55e4c5
http://github.com/hibernate/hibernate-core/commit/5b782a83ea1935fc7925fd1...
Author: Hernán Chanfreau <hchanfreau(a)gmail.com>
Date: 2010-10-29 (Fri, 29 Oct 2010)
Changed paths:
R
hibernate-envers/src/test/java/org/hibernate/envers/test/integration/superclass/MappedSubclassing.java
R
hibernate-envers/src/test/java/org/hibernate/envers/test/integration/superclass/SubclassEntity.java
R
hibernate-envers/src/test/java/org/hibernate/envers/test/integration/superclass/SuperclassOfEntity.java
Log Message:
-----------
HHH-4646 and HHH-5177
Deleting obsolete tests
Commit: 873fe754e3d37b2e1ab36ca4f3e4b1278a74e0ee
http://github.com/hibernate/hibernate-core/commit/873fe754e3d37b2e1ab36ca...
Author: Hernán Chanfreau <hchanfreau(a)gmail.com>
Date: 2010-10-29 (Fri, 29 Oct 2010)
Changed paths:
M
hibernate-envers/src/main/java/org/hibernate/envers/configuration/metadata/reader/AuditedPropertiesHolder.java
M
hibernate-envers/src/main/java/org/hibernate/envers/configuration/metadata/reader/ClassAuditingData.java
M
hibernate-envers/src/main/java/org/hibernate/envers/configuration/metadata/reader/ComponentAuditingData.java
Log Message:
-----------
Fix for HHH-4646 and HHH-5177
added methods isEmpty() and contains(key)
Commit: b919969497f0602a4a3b49e6b38de59eb13a3fed
http://github.com/hibernate/hibernate-core/commit/b919969497f0602a4a3b49e...
Author: Hernán Chanfreau <hchanfreau(a)gmail.com>
Date: 2010-10-29 (Fri, 29 Oct 2010)
Changed paths:
M
hibernate-envers/src/main/java/org/hibernate/envers/configuration/metadata/reader/AuditedPropertiesReader.java
A
hibernate-envers/src/main/java/org/hibernate/envers/configuration/metadata/reader/ComponentAuditedPropertiesReader.java
Log Message:
-----------
Fix for HHH-4646 and HHH-5177
- Read audited properties from subclasses first, then check recursively on superclasses.
- Chech on superclasses only if a class is audited
- Calculate if the "current" class of the recursion is audited at class level.
- Created ComponentAuditedPropertiesReader subclass for AuditedPropertiesReader to use for
reading component audited properties inside classes
- Created a protected method in AuditedPropertiesReader, letting the subclass do their
job.
- Ordered the code to be more understandable.
Commit: 65e14bb39bd6875a84b59b4e7feda69d62a1cbb0
http://github.com/hibernate/hibernate-core/commit/65e14bb39bd6875a84b59b4...
Author: Hernán Chanfreau <hchanfreau(a)gmail.com>
Date: 2010-10-29 (Fri, 29 Oct 2010)
Changed paths:
A
hibernate-envers/src/test/java/org/hibernate/envers/test/integration/superclass/auditAtMethodSuperclassLevel/AuditedMethodMappedSuperclass.java
A
hibernate-envers/src/test/java/org/hibernate/envers/test/integration/superclass/auditAtMethodSuperclassLevel/NotAuditedSubclassEntity.java
A
hibernate-envers/src/test/java/org/hibernate/envers/test/integration/superclass/auditAtMethodSuperclassLevel/auditAllSubclass/AuditedAllSubclassEntity.java
A
hibernate-envers/src/test/java/org/hibernate/envers/test/integration/superclass/auditAtMethodSuperclassLevel/auditAllSubclass/MappedSubclassingAllAuditedTest.java
A
hibernate-envers/src/test/java/org/hibernate/envers/test/integration/superclass/auditAtMethodSuperclassLevel/auditMethodSubclass/AuditedMethodSubclassEntity.java
A
hibernate-envers/src/test/java/org/hibernate/envers/test/integration/superclass/auditAtMethodSuperclassLevel/auditMethodSubclass/MappedSubclassingMethodAuditedTest.java
A
hibernate-envers/src/test/java/org/hibernate/envers/test/integration/superclass/auditedAtSuperclassLevel/AuditedAllMappedSuperclass.java
A
hibernate-envers/src/test/java/org/hibernate/envers/test/integration/superclass/auditedAtSuperclassLevel/NotAuditedSubclassEntity.java
A
hibernate-envers/src/test/java/org/hibernate/envers/test/integration/superclass/auditedAtSuperclassLevel/auditAllSubclass/AuditedAllSubclassEntity.java
A
hibernate-envers/src/test/java/org/hibernate/envers/test/integration/superclass/auditedAtSuperclassLevel/auditAllSubclass/MappedSubclassingAllAuditedTest.java
A
hibernate-envers/src/test/java/org/hibernate/envers/test/integration/superclass/auditedAtSuperclassLevel/auditMethodSubclass/AuditedMethodSubclassEntity.java
A
hibernate-envers/src/test/java/org/hibernate/envers/test/integration/superclass/auditedAtSuperclassLevel/auditMethodSubclass/MappedSubclassingMethodAuditedTest.java
M hibernate-envers/src/test/resources/testng.xml
Log Message:
-----------
Fix for HHH-4646 and HHH-5177
Adding tests cases:
- MappedSuperclass audited at class level with a NotAuditedSubclass and:
- Audited subclass at class level
- Audited subclass at method/field level
- MappedSuperclass audited at method/field level with a NotAuditedSubclass and:
- Audited subclass at class level
- Audited subclass at method/field level
Commit: c6a6e5cea19da5da60c4e16323e8acbdf5a2ed21
http://github.com/hibernate/hibernate-core/commit/c6a6e5cea19da5da60c4e16...
Author: adamw <adam(a)warski.org>
Date: 2010-10-29 (Fri, 29 Oct 2010)
Changed paths:
M
hibernate-envers/src/main/java/org/hibernate/envers/configuration/metadata/reader/AuditedPropertiesReader.java
Log Message:
-----------
Fix for HHH-4646 and HHH-5177: removing unneeded addPropertiesFromClassRec method