[hibernate-commits] [hibernate/hibernate-core] c03250: Resolving HHH-5588: Improve support for entityName...

noreply at github.com noreply at github.com
Tue Jan 4 04:10:06 EST 2011


Branch: refs/heads/3.6
Home:   https://github.com/hibernate/hibernate-core

Commit: c032502969456ae006d95f37c3a948100cb052ab
    https://github.com/hibernate/hibernate-core/commit/c032502969456ae006d95f37c3a948100cb052ab
Author: Hernan <Hernan at colossus>
Date:   2011-01-04 (Tue, 04 Jan 2011)

Changed paths:
  M envers/src/main/java/org/hibernate/envers/AuditReader.java
  M envers/src/main/java/org/hibernate/envers/reader/AuditReaderImpl.java

Log Message:
-----------
Resolving HHH-5588: Improve support for entityNames in envers.

Adding methods for knowing if an entityName is marked to be resolved by core (@Audited(targetAuditMode='NOT_AUDITED')
	isEntityNameNotAudited()

Adding method to resolve the entityName for an entity retrieved previously by envers.
	getEntityName()


Commit: 4be9b848568ff49dca72a8f105923797cf4be087
    https://github.com/hibernate/hibernate-core/commit/4be9b848568ff49dca72a8f105923797cf4be087
Author: Hernan <Hernan at colossus>
Date:   2011-01-04 (Tue, 04 Jan 2011)

Changed paths:
  M envers/src/main/java/org/hibernate/envers/reader/FirstLevelCache.java

Log Message:
-----------
Resolving HHH-5588: Improve support for entityNames in envers.

Adding entityNameCache for resolving entityNames in envers.


Commit: d216118829e4becba8be8aeaaf43b5127f587cd9
    https://github.com/hibernate/hibernate-core/commit/d216118829e4becba8be8aeaaf43b5127f587cd9
Author: Hernan <Hernan at colossus>
Date:   2011-01-04 (Tue, 04 Jan 2011)

Changed paths:
  M envers/src/main/java/org/hibernate/envers/entities/EntitiesConfigurations.java

Log Message:
-----------
Resolving HHH-5588: Improve support for entityNames in envers.

Adding isNotAudited for determine if an entity is marked as @Audited(NOT_AUDITED)


Commit: 9350dee13963c403c84253d5ef59ba7e6dc321b6
    https://github.com/hibernate/hibernate-core/commit/9350dee13963c403c84253d5ef59ba7e6dc321b6
Author: Hernan <Hernan at colossus>
Date:   2011-01-04 (Tue, 04 Jan 2011)

Changed paths:
  M envers/src/main/java/org/hibernate/envers/entities/EntityInstantiator.java

Log Message:
-----------
Resolving HHH-5588: Improve support for entityNames in envers.

When instantiating an historic entity, envers put its entityName on the cache for future uses.


Commit: 57fbeaf2f9bdbb5b728e926c1e7c07041714439a
    https://github.com/hibernate/hibernate-core/commit/57fbeaf2f9bdbb5b728e926c1e7c07041714439a
Author: Hernan <Hernan at colossus>
Date:   2011-01-04 (Tue, 04 Jan 2011)

Changed paths:
  A envers/src/main/java/org/hibernate/envers/exception/EnversException.java

Log Message:
-----------
Creating a generic envers exception


Commit: c5da60f748a02829c8263ab049a9c13f7594739d
    https://github.com/hibernate/hibernate-core/commit/c5da60f748a02829c8263ab049a9c13f7594739d
Author: Hernan <Hernan at colossus>
Date:   2011-01-04 (Tue, 04 Jan 2011)

Changed paths:
  M envers/src/test/java/org/hibernate/envers/test/AbstractSessionTest.java

Log Message:
-----------
Let the subclasses redefine the configuration file name overriding getHibernateConfigurationFileName() method.


Commit: 87c53873464515c459121c0e60747f49a05408d2
    https://github.com/hibernate/hibernate-core/commit/87c53873464515c459121c0e60747f49a05408d2
Author: Hernan <Hernan at colossus>
Date:   2011-01-04 (Tue, 04 Jan 2011)

Changed paths:
  M envers/src/test/java/org/hibernate/envers/test/integration/entityNames/auditedEntity/Person.java
  M envers/src/test/java/org/hibernate/envers/test/integration/entityNames/auditedEntity/ReadEntityWhtiEntityNameTest.java
  M envers/src/test/java/org/hibernate/envers/test/integration/entityNames/manyToManyAudited/Car.java
  M envers/src/test/java/org/hibernate/envers/test/integration/entityNames/manyToManyAudited/Person.java
  M envers/src/test/java/org/hibernate/envers/test/integration/entityNames/manyToManyAudited/ReadEntityWithAuditedManyToManyTest.java
  M envers/src/test/java/org/hibernate/envers/test/integration/entityNames/oneToManyAudited/Car.java
  M envers/src/test/java/org/hibernate/envers/test/integration/entityNames/oneToManyAudited/Person.java
  M envers/src/test/java/org/hibernate/envers/test/integration/entityNames/oneToManyAudited/ReadEntityWithAuditedCollectionTest.java
  M envers/src/test/java/org/hibernate/envers/test/integration/entityNames/oneToManyNotAudited/Car.java
  M envers/src/test/java/org/hibernate/envers/test/integration/entityNames/oneToManyNotAudited/Person.java
  M envers/src/test/java/org/hibernate/envers/test/integration/entityNames/oneToManyNotAudited/ReadEntityWithAuditedCollectionTest.java
  M envers/src/test/java/org/hibernate/envers/test/integration/entityNames/singleAssociatedAudited/Car.java
  M envers/src/test/java/org/hibernate/envers/test/integration/entityNames/singleAssociatedAudited/Person.java
  M envers/src/test/java/org/hibernate/envers/test/integration/entityNames/singleAssociatedAudited/ReadEntityAssociatedAuditedTest.java
  M envers/src/test/java/org/hibernate/envers/test/integration/entityNames/singleAssociatedNotAudited/Car.java
  M envers/src/test/java/org/hibernate/envers/test/integration/entityNames/singleAssociatedNotAudited/Person.java
  M envers/src/test/java/org/hibernate/envers/test/integration/entityNames/singleAssociatedNotAudited/ReadEntityAssociatedNotAuditedTest.java

Log Message:
-----------
HHH-5588: Improve support for entityNames in envers

Extending test cases for testing resolution for entityNames for entities retrieved previously by envers


Commit: b8c4784630f927f926f870199ae87af81aae22ea
    https://github.com/hibernate/hibernate-core/commit/b8c4784630f927f926f870199ae87af81aae22ea
Author: Hernan <Hernan at colossus>
Date:   2011-01-04 (Tue, 04 Jan 2011)

Changed paths:
  M envers/src/main/java/org/hibernate/envers/AuditReader.java
  R envers/src/main/java/org/hibernate/envers/exception/EnversException.java
  M envers/src/main/java/org/hibernate/envers/reader/AuditReaderImpl.java

Log Message:
-----------
HHH-5588

Removing EnversExeption and using HibernateException instead.


Commit: a9454a7590856f6977d1985eecc0bfbb4fdc2285
    https://github.com/hibernate/hibernate-core/commit/a9454a7590856f6977d1985eecc0bfbb4fdc2285
Author: Hernan <Hernan at colossus>
Date:   2011-01-04 (Tue, 04 Jan 2011)

Changed paths:
  M envers/src/main/java/org/hibernate/envers/AuditReader.java
  M envers/src/main/java/org/hibernate/envers/reader/AuditReaderImpl.java

Log Message:
-----------
Removing isEntityClassNotAudited() and isEntityNameNotAudited() method for later discussion.


Commit: 1b60529436587d3a186cc240ba5d178d05f85a27
    https://github.com/hibernate/hibernate-core/commit/1b60529436587d3a186cc240ba5d178d05f85a27
Author: Hernan <Hernan at colossus>
Date:   2011-01-04 (Tue, 04 Jan 2011)

Changed paths:
  M envers/src/test/java/org/hibernate/envers/test/integration/entityNames/oneToManyNotAudited/ReadEntityWithAuditedCollectionTest.java
  M envers/src/test/java/org/hibernate/envers/test/integration/entityNames/singleAssociatedNotAudited/ReadEntityAssociatedNotAuditedTest.java

Log Message:
-----------
Removing isEntityClassNotAudited() and isEntityNameNotAudited() method for later discussion.


Commit: 966f8c8339afb75c84197fa4725ab08d14dd9c7a
    https://github.com/hibernate/hibernate-core/commit/966f8c8339afb75c84197fa4725ab08d14dd9c7a
Author: Hernan <Hernan at colossus>
Date:   2011-01-04 (Tue, 04 Jan 2011)

Changed paths:
  A envers/src/test/java/org/hibernate/envers/test/AbstractOneSessionTest.java
  A envers/src/test/java/org/hibernate/envers/test/integration/entityNames/auditedEntity/ReadEntityWhitEntityNameTest.java
  R envers/src/test/java/org/hibernate/envers/test/integration/entityNames/auditedEntity/ReadEntityWhtiEntityNameTest.java
  M envers/src/test/java/org/hibernate/envers/test/integration/entityNames/manyToManyAudited/ReadEntityWithAuditedManyToManyTest.java
  M envers/src/test/java/org/hibernate/envers/test/integration/entityNames/oneToManyAudited/ReadEntityWithAuditedCollectionTest.java
  M envers/src/test/java/org/hibernate/envers/test/integration/entityNames/oneToManyNotAudited/ReadEntityWithAuditedCollectionTest.java
  M envers/src/test/java/org/hibernate/envers/test/integration/entityNames/singleAssociatedAudited/ReadEntityAssociatedAuditedTest.java
  M envers/src/test/java/org/hibernate/envers/test/integration/entityNames/singleAssociatedNotAudited/ReadEntityAssociatedNotAuditedTest.java

Log Message:
-----------
- Creating abstract test with one session-per-test

- Fixing typo error.


Commit: 4152b8e78215742a326e3413aaa7c268b32b0cc6
    https://github.com/hibernate/hibernate-core/commit/4152b8e78215742a326e3413aaa7c268b32b0cc6
Author: Hernan <Hernan at colossus>
Date:   2011-01-04 (Tue, 04 Jan 2011)

Changed paths:
  M envers/src/main/java/org/hibernate/envers/entities/EntitiesConfigurations.java

Log Message:
-----------
Removing isNotAudited() method.


Commit: 1394d52bad6cb3e089a360d3a7d05efa2bce3401
    https://github.com/hibernate/hibernate-core/commit/1394d52bad6cb3e089a360d3a7d05efa2bce3401
Author: adamw <adam at warski.org>
Date:   2011-01-04 (Tue, 04 Jan 2011)

Changed paths:
  M core/src/main/java/org/hibernate/cfg/annotations/reflection/JPAOverridenAnnotationReader.java
  M testsuite/src/test/java/org/hibernate/test/annotations/reflection/JPAOverridenAnnotationReaderTest.java
  A testsuite/src/test/java/org/hibernate/test/annotations/xml/ejb3/Ejb3XmlElementCollectionTest.java
  A testsuite/src/test/java/org/hibernate/test/annotations/xml/ejb3/Ejb3XmlManyToManyTest.java
  A testsuite/src/test/java/org/hibernate/test/annotations/xml/ejb3/Ejb3XmlManyToOneTest.java
  A testsuite/src/test/java/org/hibernate/test/annotations/xml/ejb3/Ejb3XmlOneToManyTest.java
  A testsuite/src/test/java/org/hibernate/test/annotations/xml/ejb3/Ejb3XmlOneToOneTest.java
  A testsuite/src/test/java/org/hibernate/test/annotations/xml/ejb3/Ejb3XmlTestCase.java
  A testsuite/src/test/java/org/hibernate/test/annotations/xml/ejb3/Entity1.java
  A testsuite/src/test/java/org/hibernate/test/annotations/xml/ejb3/Entity2.java
  A testsuite/src/test/java/org/hibernate/test/annotations/xml/ejb3/Entity3.java
  M testsuite/src/test/java/org/hibernate/test/annotations/xml/ejb3/Manufacturer.java
  A testsuite/src/test/resources/org/hibernate/test/annotations/xml/ejb3/element-collection.orm1.xml
  A testsuite/src/test/resources/org/hibernate/test/annotations/xml/ejb3/element-collection.orm10.xml
  A testsuite/src/test/resources/org/hibernate/test/annotations/xml/ejb3/element-collection.orm11.xml
  A testsuite/src/test/resources/org/hibernate/test/annotations/xml/ejb3/element-collection.orm12.xml
  A testsuite/src/test/resources/org/hibernate/test/annotations/xml/ejb3/element-collection.orm13.xml
  A testsuite/src/test/resources/org/hibernate/test/annotations/xml/ejb3/element-collection.orm14.xml
  A testsuite/src/test/resources/org/hibernate/test/annotations/xml/ejb3/element-collection.orm15.xml
  A testsuite/src/test/resources/org/hibernate/test/annotations/xml/ejb3/element-collection.orm16.xml
  A testsuite/src/test/resources/org/hibernate/test/annotations/xml/ejb3/element-collection.orm17.xml
  A testsuite/src/test/resources/org/hibernate/test/annotations/xml/ejb3/element-collection.orm18.xml
  A testsuite/src/test/resources/org/hibernate/test/annotations/xml/ejb3/element-collection.orm19.xml
  A testsuite/src/test/resources/org/hibernate/test/annotations/xml/ejb3/element-collection.orm2.xml
  A testsuite/src/test/resources/org/hibernate/test/annotations/xml/ejb3/element-collection.orm20.xml
  A testsuite/src/test/resources/org/hibernate/test/annotations/xml/ejb3/element-collection.orm21.xml
  A testsuite/src/test/resources/org/hibernate/test/annotations/xml/ejb3/element-collection.orm22.xml
  A testsuite/src/test/resources/org/hibernate/test/annotations/xml/ejb3/element-collection.orm23.xml
  A testsuite/src/test/resources/org/hibernate/test/annotations/xml/ejb3/element-collection.orm24.xml
  A testsuite/src/test/resources/org/hibernate/test/annotations/xml/ejb3/element-collection.orm25.xml
  A testsuite/src/test/resources/org/hibernate/test/annotations/xml/ejb3/element-collection.orm26.xml
  A testsuite/src/test/resources/org/hibernate/test/annotations/xml/ejb3/element-collection.orm27.xml
  A testsuite/src/test/resources/org/hibernate/test/annotations/xml/ejb3/element-collection.orm28.xml
  A testsuite/src/test/resources/org/hibernate/test/annotations/xml/ejb3/element-collection.orm3.xml
  A testsuite/src/test/resources/org/hibernate/test/annotations/xml/ejb3/element-collection.orm4.xml
  A testsuite/src/test/resources/org/hibernate/test/annotations/xml/ejb3/element-collection.orm5.xml
  A testsuite/src/test/resources/org/hibernate/test/annotations/xml/ejb3/element-collection.orm6.xml
  A testsuite/src/test/resources/org/hibernate/test/annotations/xml/ejb3/element-collection.orm7.xml
  A testsuite/src/test/resources/org/hibernate/test/annotations/xml/ejb3/element-collection.orm8.xml
  A testsuite/src/test/resources/org/hibernate/test/annotations/xml/ejb3/element-collection.orm9.xml
  A testsuite/src/test/resources/org/hibernate/test/annotations/xml/ejb3/many-to-many.orm1.xml
  A testsuite/src/test/resources/org/hibernate/test/annotations/xml/ejb3/many-to-many.orm10.xml
  A testsuite/src/test/resources/org/hibernate/test/annotations/xml/ejb3/many-to-many.orm11.xml
  A testsuite/src/test/resources/org/hibernate/test/annotations/xml/ejb3/many-to-many.orm12.xml
  A testsuite/src/test/resources/org/hibernate/test/annotations/xml/ejb3/many-to-many.orm13.xml
  A testsuite/src/test/resources/org/hibernate/test/annotations/xml/ejb3/many-to-many.orm14.xml
  A testsuite/src/test/resources/org/hibernate/test/annotations/xml/ejb3/many-to-many.orm15.xml
  A testsuite/src/test/resources/org/hibernate/test/annotations/xml/ejb3/many-to-many.orm16.xml
  A testsuite/src/test/resources/org/hibernate/test/annotations/xml/ejb3/many-to-many.orm17.xml
  A testsuite/src/test/resources/org/hibernate/test/annotations/xml/ejb3/many-to-many.orm18.xml
  A testsuite/src/test/resources/org/hibernate/test/annotations/xml/ejb3/many-to-many.orm19.xml
  A testsuite/src/test/resources/org/hibernate/test/annotations/xml/ejb3/many-to-many.orm2.xml
  A testsuite/src/test/resources/org/hibernate/test/annotations/xml/ejb3/many-to-many.orm20.xml
  A testsuite/src/test/resources/org/hibernate/test/annotations/xml/ejb3/many-to-many.orm21.xml
  A testsuite/src/test/resources/org/hibernate/test/annotations/xml/ejb3/many-to-many.orm3.xml
  A testsuite/src/test/resources/org/hibernate/test/annotations/xml/ejb3/many-to-many.orm4.xml
  A testsuite/src/test/resources/org/hibernate/test/annotations/xml/ejb3/many-to-many.orm5.xml
  A testsuite/src/test/resources/org/hibernate/test/annotations/xml/ejb3/many-to-many.orm6.xml
  A testsuite/src/test/resources/org/hibernate/test/annotations/xml/ejb3/many-to-many.orm7.xml
  A testsuite/src/test/resources/org/hibernate/test/annotations/xml/ejb3/many-to-many.orm8.xml
  A testsuite/src/test/resources/org/hibernate/test/annotations/xml/ejb3/many-to-many.orm9.xml
  A testsuite/src/test/resources/org/hibernate/test/annotations/xml/ejb3/many-to-one.orm1.xml
  A testsuite/src/test/resources/org/hibernate/test/annotations/xml/ejb3/many-to-one.orm2.xml
  A testsuite/src/test/resources/org/hibernate/test/annotations/xml/ejb3/many-to-one.orm3.xml
  A testsuite/src/test/resources/org/hibernate/test/annotations/xml/ejb3/many-to-one.orm4.xml
  A testsuite/src/test/resources/org/hibernate/test/annotations/xml/ejb3/many-to-one.orm5.xml
  A testsuite/src/test/resources/org/hibernate/test/annotations/xml/ejb3/many-to-one.orm6.xml
  A testsuite/src/test/resources/org/hibernate/test/annotations/xml/ejb3/many-to-one.orm7.xml
  A testsuite/src/test/resources/org/hibernate/test/annotations/xml/ejb3/many-to-one.orm8.xml
  A testsuite/src/test/resources/org/hibernate/test/annotations/xml/ejb3/many-to-one.orm9.xml
  A testsuite/src/test/resources/org/hibernate/test/annotations/xml/ejb3/one-to-many.orm1.xml
  A testsuite/src/test/resources/org/hibernate/test/annotations/xml/ejb3/one-to-many.orm10.xml
  A testsuite/src/test/resources/org/hibernate/test/annotations/xml/ejb3/one-to-many.orm11.xml
  A testsuite/src/test/resources/org/hibernate/test/annotations/xml/ejb3/one-to-many.orm12.xml
  A testsuite/src/test/resources/org/hibernate/test/annotations/xml/ejb3/one-to-many.orm13.xml
  A testsuite/src/test/resources/org/hibernate/test/annotations/xml/ejb3/one-to-many.orm14.xml
  A testsuite/src/test/resources/org/hibernate/test/annotations/xml/ejb3/one-to-many.orm15.xml
  A testsuite/src/test/resources/org/hibernate/test/annotations/xml/ejb3/one-to-many.orm16.xml
  A testsuite/src/test/resources/org/hibernate/test/annotations/xml/ejb3/one-to-many.orm17.xml
  A testsuite/src/test/resources/org/hibernate/test/annotations/xml/ejb3/one-to-many.orm18.xml
  A testsuite/src/test/resources/org/hibernate/test/annotations/xml/ejb3/one-to-many.orm19.xml
  A testsuite/src/test/resources/org/hibernate/test/annotations/xml/ejb3/one-to-many.orm2.xml
  A testsuite/src/test/resources/org/hibernate/test/annotations/xml/ejb3/one-to-many.orm20.xml
  A testsuite/src/test/resources/org/hibernate/test/annotations/xml/ejb3/one-to-many.orm21.xml
  A testsuite/src/test/resources/org/hibernate/test/annotations/xml/ejb3/one-to-many.orm22.xml
  A testsuite/src/test/resources/org/hibernate/test/annotations/xml/ejb3/one-to-many.orm23.xml
  A testsuite/src/test/resources/org/hibernate/test/annotations/xml/ejb3/one-to-many.orm3.xml
  A testsuite/src/test/resources/org/hibernate/test/annotations/xml/ejb3/one-to-many.orm4.xml
  A testsuite/src/test/resources/org/hibernate/test/annotations/xml/ejb3/one-to-many.orm5.xml
  A testsuite/src/test/resources/org/hibernate/test/annotations/xml/ejb3/one-to-many.orm6.xml
  A testsuite/src/test/resources/org/hibernate/test/annotations/xml/ejb3/one-to-many.orm7.xml
  A testsuite/src/test/resources/org/hibernate/test/annotations/xml/ejb3/one-to-many.orm8.xml
  A testsuite/src/test/resources/org/hibernate/test/annotations/xml/ejb3/one-to-many.orm9.xml
  A testsuite/src/test/resources/org/hibernate/test/annotations/xml/ejb3/one-to-one.orm1.xml
  A testsuite/src/test/resources/org/hibernate/test/annotations/xml/ejb3/one-to-one.orm10.xml
  A testsuite/src/test/resources/org/hibernate/test/annotations/xml/ejb3/one-to-one.orm11.xml
  A testsuite/src/test/resources/org/hibernate/test/annotations/xml/ejb3/one-to-one.orm2.xml
  A testsuite/src/test/resources/org/hibernate/test/annotations/xml/ejb3/one-to-one.orm3.xml
  A testsuite/src/test/resources/org/hibernate/test/annotations/xml/ejb3/one-to-one.orm4.xml
  A testsuite/src/test/resources/org/hibernate/test/annotations/xml/ejb3/one-to-one.orm5.xml
  A testsuite/src/test/resources/org/hibernate/test/annotations/xml/ejb3/one-to-one.orm6.xml
  A testsuite/src/test/resources/org/hibernate/test/annotations/xml/ejb3/one-to-one.orm7.xml
  A testsuite/src/test/resources/org/hibernate/test/annotations/xml/ejb3/one-to-one.orm8.xml
  A testsuite/src/test/resources/org/hibernate/test/annotations/xml/ejb3/one-to-one.orm9.xml

Log Message:
-----------
Merge branch '3.6' of github.com:hibernate/hibernate-core into 3.6




More information about the hibernate-commits mailing list