Commit Graph

429 Commits

Author SHA1 Message Date
Hernan 102faba8f4 Removing isEntityClassNotAudited() and isEntityNameNotAudited() method for later discussion. 2011-01-04 09:36:54 +01:00
Hernan 323d9dd16e Removing isEntityClassNotAudited() and isEntityNameNotAudited() method for later discussion. 2011-01-04 09:36:54 +01:00
Hernan 89393c5e9e HHH-5588
Removing EnversExeption and using HibernateException instead.
2011-01-04 09:36:54 +01:00
Hernan c981bef5c1 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 09:36:54 +01:00
Hernan 80ef651e4a Let the subclasses redefine the configuration file name overriding getHibernateConfigurationFileName() method. 2011-01-04 09:36:54 +01:00
Hernan 188ec620e8 Creating a generic envers exception 2011-01-04 09:36:53 +01:00
Hernan 46660fd045 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 09:36:53 +01:00
Hernan 7ec8c11327 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 09:36:53 +01:00
Hernan eaeb4f8343 Resolving HHH-5588: Improve support for entityNames in envers.
Adding entityNameCache for resolving entityNames in envers.
2011-01-04 09:36:53 +01:00
Hernan 328c098ab9 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 09:36:53 +01:00
Erik-Berndt Scheper 6ac46d506b HHH-5750 - Added license header 2010-12-22 11:47:09 +01:00
Erik-Berndt Scheper f125f06c45 HHH-5750 - Proxied objects lose the temporary session used to initialize them 2010-12-22 11:37:07 +01:00
adamw 4e102c68c1 Refactoring the norevision tests: checking explicitly the revision numbers, introducing an abstract common class 2010-12-09 09:03:48 +01:00
Svyatoslav Reyentenko 76b59a702c Moved hbm.xml -> annotations. 2010-12-09 09:03:44 +01:00
Svyatoslav Reyentenko c2ba8360c8 Tests are slightly changed to do more work 2010-12-09 09:03:41 +01:00
Svyatoslav Reyentenko e831e29435 Ignore collection changes if no revision on collection change is set 2010-12-09 09:03:35 +01:00
Svyatoslav Reyentenko fd54b2df56 Test for creating revision on collection change 2010-12-09 09:03:28 +01:00
Gail Badner b006a6c3c5 HHH-5765 : Refactor JDBCContext/ConnectionManager spi/impl and to use new proxies 2010-12-08 17:23:44 -08:00
Gail Badner 88543c7a58 HHH-5765 : Wire in connection provider from service registry 2010-11-30 11:38:53 -08:00
nandina fd0a463f0e Added comments for changes of HHH-5686 2010-11-11 15:19:25 +01:00
nandina 696fcccd0f 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-11 15:19:21 +01:00
adamw c6a6e5cea1 Fix for HHH-4646 and HHH-5177: removing unneeded addPropertiesFromClassRec method 2010-10-29 19:57:48 +02:00
Hernán Chanfreau 65e14bb39b 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-29 19:57:47 +02:00
Hernán Chanfreau b919969497 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-29 19:57:47 +02:00
Hernán Chanfreau 873fe754e3 Fix for HHH-4646 and HHH-5177
added methods isEmpty() and contains(key)
2010-10-29 19:57:47 +02:00
Hernán Chanfreau 5b782a83ea HHH-4646 and HHH-5177
Deleting obsolete tests
2010-10-29 19:57:47 +02:00
Steve Ebersole 2443fede65 HHH-5616 - Switch to Gradle for builds .. incorrect .gitignore 2010-10-11 17:43:42 -05:00
Steve Ebersole 51edbb5797 HHH-5616 - Switch to Gradle for builds .. c3p0 2010-10-11 14:41:49 -05:00
Steve Ebersole e21fed8304 HHH-5616 - Switch to Gradle for builds .. envers 2010-10-11 14:41:48 -05:00