Commit Graph

216 Commits

Author SHA1 Message Date
Brian Parker 73729c97e3 Apply read and write expressions to the revision entity. 2011-02-12 15:12:15 -06:00
Gail Badner 42a38cfefa update version to 3.6.2-SNAPSHOT 2011-02-02 19:17:56 -08:00
Gail Badner 8fe9ef6ed6 Update version to 3.6.1.Final 2011-02-02 19:00:17 -08:00
adamw 600c29170a HHH-5883: Fixing - @Lob annotated field throws MappingException when the field type is serializable 2011-01-31 12:26:26 +01:00
Hernan 4152b8e782 Removing isNotAudited() method. 2011-01-04 10:04:35 +01:00
Hernan 966f8c8339 - Creating abstract test with one session-per-test
- Fixing typo error.
2011-01-04 10:04:11 +01:00
Hernan 1b60529436 Removing isEntityClassNotAudited() and isEntityNameNotAudited() method for later discussion. 2011-01-04 10:03:55 +01:00
Hernan a9454a7590 Removing isEntityClassNotAudited() and isEntityNameNotAudited() method for later discussion. 2011-01-04 10:03:50 +01:00
Hernan b8c4784630 HHH-5588
Removing EnversExeption and using HibernateException instead.
2011-01-04 10:03:45 +01:00
Hernan 87c5387346 HHH-5588: Improve support for entityNames in envers
Extending test cases for testing resolution for entityNames for entities retrieved previously by envers
2011-01-04 10:03:37 +01:00
Hernan c5da60f748 Let the subclasses redefine the configuration file name overriding getHibernateConfigurationFileName() method. 2011-01-04 10:03:31 +01:00
Hernan 57fbeaf2f9 Creating a generic envers exception 2011-01-04 10:03:18 +01:00
Hernan 9350dee139 Resolving HHH-5588: Improve support for entityNames in envers.
When instantiating an historic entity, envers put its entityName on the cache for future uses.
2011-01-04 10:03:04 +01:00
Hernan d216118829 Resolving HHH-5588: Improve support for entityNames in envers.
Adding isNotAudited for determine if an entity is marked as @Audited(NOT_AUDITED)
2011-01-04 10:02:30 +01:00
Hernan 4be9b84856 Resolving HHH-5588: Improve support for entityNames in envers.
Adding entityNameCache for resolving entityNames in envers.
2011-01-04 10:02:24 +01:00
Hernan c032502969 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()
2011-01-04 10:02:19 +01:00
Erik-Berndt Scheper db62fa7dbe HHH-5750 - Added license header 2010-12-22 11:51:04 +01:00
Erik-Berndt Scheper 5e556466ba HHH-5750 - Proxied objects lose the temporary session used to initialize them 2010-12-22 10:54:00 +01:00
adamw e4315140d1 Refactoring the norevision tests: checking explicitly the revision numbers, introducing an abstract common class 2010-12-08 19:56:04 +01:00
Svyatoslav Reyentenko 350801542c Moved hbm.xml -> annotations. 2010-12-06 23:44:14 +03:00
Svyatoslav Reyentenko e1f8b5e5f2 Tests are slightly changed to do more work 2010-12-02 23:58:58 +03:00
Svyatoslav Reyentenko 3091bbda15 [#HHH-5756] Ignore collection changes if no revision on collection change is set 2010-12-02 03:34:10 +03:00
Svyatoslav Reyentenko 387faed855 Test for creating revision on collection change 2010-12-02 03:07:03 +03:00
nandina e160ae4fd3 Added comments for changes of HHH-5686 2010-11-10 17:11:22 +05:30
nandina dd46e577b0 Fix for HHH-5686
Changed the generation of HQL query for one to many relations from "select new list(r) from Relation r" to "select r from Relation r".
2010-11-04 17:20:39 +05:30
Julien HENRY c66026e3f3 Fixed warnings reported by Maven 3. 2010-10-26 22:44:37 +02:00
adamw 97d3f84180 Fix for HHH-4646 and HHH-5177: removing unneeded addPropertiesFromClassRec method 2010-10-21 15:59:03 +02:00
Hernán Chanfreau 4e886b2d0c 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
2010-10-19 13:39:18 -03:00
Hernán Chanfreau 938baa279d 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.
2010-10-19 13:34:37 -03:00
Hernán Chanfreau d05f2d8084 Fix for HHH-4646 and HHH-5177
added methods isEmpty() and contains(key)
2010-10-19 13:27:17 -03:00
Hernán Chanfreau b5dcff0caf HHH-4646 and HHH-5177
Deleting obsolete tests
2010-10-19 13:08:29 -03:00
Steve Ebersole 88f1bbd3ca Updating pom versions to 3.6.1-SNAPSHOT 2010-10-13 15:44:12 -05:00
Steve Ebersole 9aed0daf4d Updating pom versions to 3.6.0.Final 2010-10-13 15:44:12 -05:00
Erik-Berndt Scheper 6c6e6ab193 HHH-5371 Support revend timestamp to enable audit table partioning by time
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20775 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-10-04 18:11:33 +00:00
Erik-Berndt Scheper dbe30fc518 fixed envers build (broken since rev 20760)
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20774 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-10-04 14:52:19 +00:00
Steve Ebersole 4b84e848dd Updating pom versions to /home/steve/projects/hibernate/core/trunk for release tagging
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20753 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-09-29 20:56:44 +00:00
Steve Ebersole 909ff003bd Updating pom versions to /home/steve/projects/hibernate/core/trunk for release tagging
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20751 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-09-29 20:55:58 +00:00
Erik-Berndt Scheper 558d9469e0 HHH5371 - Rollback until after 3.6.0 release as per Adam's request via IM
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20745 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-09-28 23:50:53 +00:00
Erik-Berndt Scheper 8f8e0fbfe2 HHH-5371 - Add support for REVEND_TSTMP which will enable audit table partitioning
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20743 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-09-28 22:23:04 +00:00
Erik-Berndt Scheper dd8fe46f58 HHH-5560 - Rename Envers ValidAuditTimeStrategy to ValidityAuditTimeStrategy
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20717 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-09-26 19:55:50 +00:00
Steve Ebersole 19300880d6 HHH-5490 - dirty data be inserted into 2L cache
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20655 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-09-16 20:23:07 +00:00
Steve Ebersole 3eb9c70d44 Updating pom versions to 3.6.0-SNAPSHOT for release tagging
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20644 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-09-15 18:26:18 +00:00
Steve Ebersole 743dd39cc9 Updating pom versions to 3.6.0.CR1 for release tagging
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20642 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-09-15 18:25:47 +00:00
Adam Warski 9c919ee9dc HHH-5372:
applying patch by Matthew B. Jones and Erik-Berndt Scheper
Using the revend column in queries that retrieve historical data, which is much faster then doing the subselect.

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20315 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-09-07 13:52:38 +00:00
Adam Warski 28dae5c9f3 HHH-5499:
Extend AuditReader interface with findRevisions() method
Applying patch by Erik-Berndt Scheper - thanks!

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20309 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-09-04 07:40:43 +00:00
Steve Ebersole ea855dc9b2 Updating pom versions to 3.6.0-SNAPSHOT for release tagging
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20302 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-09-01 17:03:05 +00:00
Steve Ebersole 39369ad100 Updating pom versions to 3.6.0.Beta4 for release tagging
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20300 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-09-01 17:02:23 +00:00
Adam Warski c020d25a70 HHH-5142:
Exception when initializing lazy @ManyToMany indexed collection containing not audited entities

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20226 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-08-23 14:21:30 +00:00
Adam Warski 4ed4f1f419 Cleanup: moving entityNames tests to integration
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20216 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-08-22 10:15:05 +00:00
Steve Ebersole fa587d4da7 Updating pom versions to 3.6.0-SNAPSHOT for release tagging
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20171 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-08-18 18:47:29 +00:00