Chris Cranford
14f7b49b79
HHH-13500 Fix audit strategy sub-query return incorrect results
...
In order to maintain backward compatibility with long-standing behavior,
this introduces a new configuration option which can be toggled to have
AuditReader#find implementations adhere to returning an exact match on
revision-number rather than one which is less-than or equal-to the
provided argument.
So a new configuration option org.hibernate.envers.find_by_revision_exact_match
provides users with the ability to be able to force this new behavior
while allowing legacy behavior to remain the default.
2019-07-22 16:34:19 -04:00
Sanne Grinovero
2e81c32265
HHH-13465 Allow inlined access to the PersistenceContext for internal methods
2019-06-28 12:00:39 +01:00
Gail Badner
6fba4c1035
HHH-13285 : ClassCastException: org.dom4j.DocumentFactory cannot be cast to org.dom4j.DocumentFactory after dom4j update
2019-02-25 12:20:36 -08:00
wonwoo
69af6caa95
HHH-13265 - Remove double semicolon
2019-02-14 09:00:08 +02:00
Chris Cranford
67ec2d07cc
HHH-13080 - EntityExistException when audited collection updated with detached entities.
2019-01-16 09:27:35 -05:00
Chris Cranford
fc8f6871fd
HHH-13080 - Added test case.
2019-01-16 09:27:35 -05:00
Chris Cranford
aa288ba345
HHH-13104 - Skip these tests when no-column-support enabled.
2019-01-15 18:18:20 -05:00
Chris Cranford
b66f548b5f
HHH-13191 - Fix test using a table-name that wasn't compliant across dialects.
2019-01-10 10:52:27 -05:00
Chris Cranford
3cf2b50911
HHH-13191 - Added test case.
2019-01-08 08:54:29 -05:00
Chris Cranford
c8166b3f5d
HHH-13051 - Refactored strategy solution.
2018-11-13 19:20:45 +01:00
Rokko11
68df2792c6
HHH-13051 Make audit tables structure more extensible
2018-11-13 19:20:45 +01:00
Chris Cranford
69bde03c24
HHH-12913 - Fix test on oracle database.
2018-11-13 08:36:44 -05:00
Chris Cranford
c17e4832a9
HHH-12913 - Fix test failure on Oracle db.
2018-11-08 08:35:50 -05:00
Chris Cranford
b00f580d8d
HHH-12913 - Fix AuditJoinTable to work when specified in an AuditOverride.
2018-11-07 15:31:47 -05:00
Chris Cranford
8a74973776
HHH-12913 - Added test case.
2018-11-07 15:30:11 -05:00
Chris Cranford
d39d456614
HHH-12992 - Fix tests to run on various db platforms without naming conflicts.
2018-11-01 14:42:44 -04:00
Chris Cranford
1e2eea95cb
HHH-12992 - Fix tests to run on various db platforms without naming conflicts.
2018-10-31 15:52:37 -04:00
Chris Cranford
eff27db90a
HHH-12992 - Fix proper support for order-by annotation on audited entity associations.
2018-10-30 15:34:03 -04:00
Chris Cranford
334e064272
HHH-12992 - Added test cases.
2018-10-30 15:34:03 -04:00
Chris Cranford
10148324d1
HHH-10201 - Fix element-collection attributes to always be audited if parent is audited.
2018-10-30 15:25:35 -04:00
Chris Cranford
42fe168056
HHH-10201 - Added test cases.
2018-10-30 15:25:35 -04:00
Guillaume Smet
bb822aee31
HHH-12935 Make ExportIdentifierTests extend BaseUnitTestCase
2018-10-16 23:54:51 +02:00
Guillaume Smet
66d9859813
HHH-12935 Require sequence support in ExportIdentifierTests
2018-10-16 19:23:41 +02:00
Gail Badner
3806d27f08
HHH-12935 : test cases
2018-10-16 03:59:10 -07:00
Sanne Grinovero
4eb726ef4c
HHH-12950 Use the Annotation Processor specific scopes of Gradle
2018-09-04 23:02:26 +01:00
Guillaume Smet
d195ce03bc
HHH-12931 Revert "HHH-12542 - Add necessary privileged action blocks for SecurityManager used on WildFly."
...
This reverts commit 15a59a1a19
.
2018-08-28 17:34:32 +02:00
Guillaume Smet
c55f3def03
HHH-12903 Add the column names to the proper @Column annotations
2018-08-12 17:51:48 +02:00
Chris Cranford
421fc53a8d
HHH-12903 - Fix CommitFlushCollectionTest failing on Oracle.
2018-08-10 13:33:27 -04:00
Chris Cranford
8dab6974ef
HHH-12903 - Fix CommitFlushCollectionTest failing on Oracle.
2018-08-10 10:47:08 -04:00
Chris Cranford
8178d76ca5
HHH-12834 - Disable test which fails on Sybase.
2018-08-02 11:05:12 -04:00
Chris Cranford
333c190c82
HHH-12846 - Merge cascade of collection fails when orphan removal enabled with flush mode commit.
2018-07-23 11:00:55 -04:00
Chris Cranford
3d93073b83
HHH-12826 - Added test case.
2018-07-18 18:06:58 -04:00
Chris Cranford
15a59a1a19
HHH-12542 - Add necessary privileged action blocks for SecurityManager used on WildFly.
2018-07-18 17:18:51 +02:00
Andrea Boriero
8757ee4191
HHH-12776 Add test for issue
2018-07-09 13:33:36 +02:00
Chris Cranford
fcdb89302a
HHH-12757 - Fix test failure on Oracle.
2018-07-03 13:17:28 -04:00
Chris Cranford
35cd3a1c38
HHH-12764 - Fix test failure with Oracle.
2018-07-03 12:26:06 -04:00
Chris Cranford
6dea02bac5
HHH-12754 - Fix broken envers tests on other database platforms.
2018-07-03 12:09:35 -04:00
Sanne Grinovero
a67c6b9cd4
HHH-12760 Remove no longer needed EqualsHelper and cleanup some equality checks
2018-07-03 10:43:49 +01:00
Chris Cranford
b7d92ed19b
HHH-12755 - Fix broken envers tests on Postgres and EnterpriseDB
2018-07-02 10:32:01 -04:00
Chris Cranford
c33000d7ad
HHH-12754 - Fix broken envers tests on other database platforms.
2018-07-02 10:08:53 -04:00
Chris Cranford
e41e5445f8
HHH-12607 - Reworked and introduced more test cases.
2018-06-20 13:27:42 -04:00
Chris Cranford
0b7c1e2fcb
HHH-12607 - Support map-based collections without equals/hashcode implementations.
2018-06-20 13:27:42 -04:00
Chris Cranford
00a56a188b
HHH-12607 - Added test case.
2018-06-20 13:27:42 -04:00
Philippe Marschall
4c52764c41
HHH-12604 Replace EqualsHelper.equals with Objects.equals
2018-06-13 14:20:19 +02:00
Chris Cranford
bb5ab3881c
Fix typo in toString() method.
2018-05-26 15:48:58 -04:00
Steve Ebersole
9f293b113b
HHH-12519 - Use Forbidden APIs library (Gradle plugin) to check our use of APIs
...
- fixing failures in non-core projects
2018-05-12 21:22:42 -05:00
Chris Cranford
6fb4ec0e02
HHH-11859 - Fix PropertyAccessException on update of detached audited entity.
2018-04-27 14:42:07 -04:00
Chris Cranford
adb9024c28
HHH-11859 - Added test case.
2018-04-27 14:42:02 -04:00
Chris Cranford
80ce45e86c
HHH-12373 - Improve javadoc to avoid confusion about method expectations.
2018-04-24 09:54:02 -04:00
Chris Cranford
27a6b5d143
HHH-10667 - Fix Envers allowing @IdClass mappings using entity primary keys.
2018-04-18 10:12:54 -04:00