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
Steve Ebersole
a03a767866
Updating pom versions to 3.6.0.Beta3 for release tagging
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20169 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-08-18 18:46:58 +00:00
Hardy Ferentschik
67a59a3ea6
HHH-5485 Move hiberante dtd files from http://hibernate.sourceforge.net to http://www.hibernate.org/dtd
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20154 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-08-17 14:13:58 +00:00
Steve Ebersole
00a1085b7c
Updating pom versions to 3.6.0-SNAPSHOT for release tagging
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20114 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-08-04 15:53:09 +00:00
Steve Ebersole
7ccd261444
Updating pom versions to 3.6.0.Beta2 for release tagging
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20112 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-08-04 15:52:39 +00:00
Steve Ebersole
ca051ab834
Updating pom versions to 3.6.0-SNAPSHOT for release tagging
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20001 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-07-21 20:35:55 +00:00
Steve Ebersole
173817e56a
Updating pom versions to 3.6.0.Beta1 for release tagging
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19999 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-07-21 20:35:16 +00:00
Steve Ebersole
5d742087ac
HHH-5181 - Merge hibernate-annotations module code into hibernate-core
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19997 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-07-21 19:23:21 +00:00
Adam Warski
17261e1e06
HHH-5395:
...
- fixing the Lobs test, calculating the type name correctly
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19977 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-07-20 12:45:55 +00:00
Steve Ebersole
1dd65401f3
HHH-5384 - HEM should not register its own Synchronization
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19962 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-07-16 19:04:26 +00:00
Adam Warski
b50d8268d5
HHH-5315:
...
- work units executed both in the before tx completion process and in the synchronization
- each test class has its own H2 database
- tests in a JTA environment
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19928 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-07-10 12:48:19 +00:00
Steve Ebersole
1ca2bc19a5
HHH-5367 - Move annotations module sources into core module
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19921 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-07-08 23:41:23 +00:00
Adam Warski
6e57774e42
HHH-4716:
...
- applying patch - thanks to Hernan Chanfreau!
- supporting the entity-name concept of Hibernate - when guessing from the class name doesn't work
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19899 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-07-05 17:04:29 +00:00
Adam Warski
f7c7c55e2a
HHH-3764:
...
- adding an end-revision column to the audit entities if the appropraite strategy is used
HHH-3765:
- filling in the end-revision column on audited entities changes
- applying patch by Stephanie Pau - thanks!
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19888 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-07-02 06:32:13 +00:00
Adam Warski
704503eea2
HHH-5288:
...
- applying patch by Erik-Berndt Scheper - thanks!
- Envers auditReader.find() returns wrong data for embedded components using fields with default values
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19750 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-06-16 18:06:57 +00:00
Adam Warski
3766cea7c2
* always adding a nested type mapping, if there are type properties; not only in case of instances of CustomType
...
* simplifying the basic generator because of the new type hierarchy
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19703 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-06-09 08:52:22 +00:00
Adam Warski
f0df563982
svn merge -r 19697:19698 https://svn.jboss.org/repos/hibernate/core/branches/envers-hibernate-3.3 .
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19699 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-06-08 07:15:42 +00:00
Adam Warski
19a1656446
HHH-5191: Applying patch by Hernan Chanfreau
...
CollectionMetadataGenerator failed to obtain mappedBy attribute when is defined on superclasses
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19371 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-05-05 10:06:47 +00:00
Steve Ebersole
421789ddcd
HHH-5138 - Redesign types + introduce TypeRegistry & TypeResolver
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19335 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-05-01 18:20:26 +00:00