Rafi Shamim
4655bdbe12
HHH-13724 Add CockroachDB dialects and configs for testing
2020-07-27 12:49:40 +01:00
Andrea Boriero
9ba18b8c5d
Merge remote-tracking branch 'upstream/master' into wip/6.0_merge_46
2020-07-07 15:43:17 +01:00
Sanne Grinovero
629f847b7c
HHH-14096 Transform the XMLHelper copy for Envers into a private internal utility
2020-07-07 09:37:47 +01:00
Sanne Grinovero
694b5ecaad
HHH-14096 Adapt the Hibernate Envers module to use its private copy of XMLHelper
2020-07-07 09:37:47 +01:00
Andrea Boriero
9297522a2c
Fix envers compilation error
2020-04-29 08:05:09 +01:00
Steve Ebersole
96f4a350e0
* HBM mappings
...
* dynamic models
* initial non-aggregated cid support
2020-04-27 15:21:09 -05:00
Andrea Boriero
5c86c4a805
Merge remote-tracking branch 'upstream/master' into wip/6.0_merge_29
2020-04-09 07:37:11 +01:00
Andrea Boriero
b897a36f2f
Fix issue with generated pom missing project description
2020-04-06 18:21:11 +01:00
Chris Cranford
e9f2c02140
HHH-13886 Revert behavior changes introduced by HHH-10844
2020-04-02 11:50:22 -04:00
Steve Ebersole
40d0c8580e
Merge remote-tracking branch 'upstream/master' into wip/6.0
...
- up to the point of upgrading Gradle version for wrapper to 5.6.3
2020-04-01 11:32:00 -05:00
Yoann Rodière
2f32169249
HHH-13689 Replace uses of the deprecated osgi plugin with the biz.aQute.bnd plugin
...
https://docs.gradle.org/5.0-milestone-1/release-notes.html#deprecated-osgi-plugin
2020-04-01 10:54:56 -05:00
The Geeky Asian
e808041477
HHH-13856 - Long-awaited TODOs done as an improvement
...
1. TODO: Remove duplicate method from ConstraintConstaint.java currently has two duplicate methods. 1. getColumnIterator()2. columnIterator()
Both the methods return the same value i.e. column.iterator().
One of them needs to be removed in order to reduce and clean the duplication.
2. TODO: Change method name for getXmlFiles in BaseCoreFunctionalTestCaseCurrently, in BaseCoreFunctionalTestCase a method named getXmlFiles()has a TODO placed that suggests the method name to be changed to getOrmXmlFiles().
Since the method has a protected scope, there is a possibility it is being used by other clients. Hence, changing the method name in minor versions might break the code for clients.
2020-02-20 10:54:50 -06:00
Andrea Boriero
eb43734658
Fix compilation errors after merge
2020-02-05 12:16:41 +00:00
Andrea Boriero
f77fb75639
Merge remote-tracking branch 'upstream/master' into wip/6.0_merge_23
2020-02-05 11:37:36 +00:00
gavinking
4f5b37c9c4
Use SequenceSupport everywhere instead of deprecated methods of Dialect
2020-01-30 14:01:34 -06:00
gavinking
992b390fce
Get type-specific column length/precision/scale defaulting working again
...
And fix resulting breakage to envers
2020-01-30 14:01:34 -06:00
Chris Cranford
38f0131160
HHH-10844 Resolve columnDefinition to appropriate sql-type for audit mappings
2020-01-27 13:18:16 +00:00
Chris Cranford
c02a703b17
HHH-6615 Minor format changes
2020-01-27 12:53:27 +00:00
Chris Cranford
f4abc09854
HHH-6615 Throw AuditException when generated revision number is negative.
2020-01-27 12:53:27 +00:00
Chris Cranford
8c52eb2eae
HHH-13770 Fix modified columns being populated with null values
2020-01-27 12:33:59 +00:00
Chris Cranford
b3ea1d67c4
HHH-13760 Code formatting changes & suggested logic simplification
2020-01-27 12:12:23 +00:00
Chris Cranford
d1b32d2b65
HHH-13760 Code formatting changes & suggested logic simplification
2020-01-27 12:12:23 +00:00
Chris Cranford
92bd6f89dd
HHH-13760 Fix ClassCastException when Envers inserts audit rows that use lazy many-to-one mappings
2020-01-27 12:12:23 +00:00
Davide D'Alto
c4dc9b0d25
HHH-13704 Make javassist a compile time dependency again
...
This commit revert some of the changes so that we can release it in a micro
without breaking application using Javassist.
In the next minor it should be reverted.
2019-12-13 11:29:40 +00:00
Davide D'Alto
921b1fe67f
HHH-13704 No need to exclude javassist in the envers module
2019-12-12 13:50:01 +00:00
Andrea Boriero
4b0da2444b
Merge remote-tracking branch 'upstream5/master' into wip/6.0_merged_11
2019-11-08 14:24:48 +00:00
Steve Ebersole
92391ec3e6
change expected type of entity identifier values from Serializable to Object - fixed all related compile problems in all modules
2019-11-07 13:42:57 -06:00
Steve Ebersole
5b3c6c4884
continued work on replacing LoadPlan with SQL AST approach - cleanup;
...
change expected type of entity identifier values from Serializable to Object
2019-11-07 13:42:57 -06:00
Chris Cranford
72b81eebfe
HHH-12965 Avoid creating foreign keys between audit and main tables
...
* Added test case
2019-10-28 14:21:56 +00:00
Chris Cranford
b28c7b0761
HHH-12965 Avoid creating foreign keys between audit and main tables
...
* Fixes a corner case not addressed by HHH-10667
* Avoids creating foreign-key constraints for any many-to-one
2019-10-28 14:21:56 +00:00
Andrea Boriero
8b500acc1d
Merge remote-tracking branch 'upstream5/master' into wip/6.0_merged_9
2019-10-17 16:02:43 +01:00
Yoann Rodière
250f569339
HHH-13666 Clarify that existing BeforeCompletion/AfterCompletion tests are about JTA only
2019-10-17 15:54:16 +02:00
Andrea Boriero
567eb38069
Merge remote-tracking branch 'upstream5/master' into wip/6.0_merged_6
2019-10-09 18:00:48 +01:00
Chris Cranford
d95c16e9ab
HHH-13655 Fix NullPointerException for audited MapKeyEnumerated collections with basic value types
2019-10-04 19:28:20 -04:00
Andrea Boriero
4b6777cde2
Merge remote-tracking branch 'upstream5/master' into wip/6.0_merged_4
2019-10-02 10:24:59 +01:00
Chris Cranford
b606759e61
HHH-10398 Allow MOD column naming to be driven by a strategy
...
* Fixed javadoc comments
* Various code suggested code changes from review
2019-10-01 10:38:57 -04:00
Chris Cranford
f78877a607
HHH-10398 Allow MOD column naming to be driven by a strategy
...
* Fixes OSGI integration with missing service lookup registration
2019-10-01 10:38:57 -04:00
Chris Cranford
3ecdd860a3
HHH-10398 Allow MOD column naming to be driven by a strategy
...
In the past the MOD columns were constructed based on the property name,
therefore if users specified a @Column/@JoinColumn like annotation and
changed the underlying schema column, the MOD column would continue to
be derived based on the property name.
This enhancement introduces a new ModifiedColumnNamingStrategy SPI that
comes with two implementations, a default/legacy mode that maintains
the prior naming model and an improved mode that will derive the MOD
name based on the naming strategy ORM used to derive the column name.
2019-10-01 10:38:57 -04:00
Andrea Boriero
726dbeef34
Merge remote-tracking branch 'upstream5/master' into wip/6.0_merged_4
2019-09-30 16:45:27 +01:00
Chris Cranford
4b8c81908c
HHH-11797 Add support for @MapKeyEnumerated mappings
2019-09-30 09:25:17 +01:00
Andrea Boriero
20f2002269
6 - fix compilation errors in envers and osgi projects
2019-09-12 10:42:33 +01:00
Steve Ebersole
0acd11fae3
6 - SQM based on JPA type system
...
Completed rebase on master (from the point just after HHH-11147 work) - fixed compilation failures
2019-09-12 10:42:33 +01:00
Andrea Boriero
c45108a2b6
6 - SQM based on JPA type system
2019-09-12 10:42:32 +01:00
Andrea Boriero
b196374da9
6 - SQM based on JPA type system
2019-09-12 10:42:32 +01:00
Andrea Boriero
44e01cdf7e
6 - SQM based on JPA type system
2019-09-12 10:42:31 +01:00
Steve Ebersole
f8a75994e1
6 - SQM based on JPA type system
...
- work on `org.hibernate.query` (especially `NamedQueryRepository` and friends)
- work on `org.hibernate.sql.exec`
- work on `org.hibernate.sql.results`
- work on `org.hibernate.sql.exec`
- work on `org.hibernate.sql.results`
- work related to `org.hibernate.metamodel.model.mapping.spi.ValueMapping` - including "sketching in" the hooks with `org.hibernate.persister.walking`
2019-09-12 10:42:29 +01:00
Steve Ebersole
8d0ff71dfc
6 - SQM based on JPA type system
...
- further work on `org.hibernate.query` (especially `NamedQueryRepository` and friends)
- initial work on `org.hibernate.sql.exec`
- initial work on `org.hibernate.sql.results`
- SemanticPathPart handling
- NamedQueryMemento
- work on ProcedureCall
- continued work on `org.hibernate.sql.exec`
- continued work on `org.hibernate.sql.results`
- ported `hibernate-testing` JUnit 5 support
2019-09-12 10:42:29 +01:00
Andrea Boriero
ea301a7084
HHH-13564 - Fix EmbeddedIdGenericsTest failures on Oracle and MariaDB
2019-09-02 14:02:47 +01:00
Chris Cranford
5c95096e7c
HHH-13564 - Fix NullPointerException for audited entity with embedded-id
...
in mapping superclass that makes use of generics.
2019-08-23 15:04:52 -04:00
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
yinzara
1ae930ef69
HHH-10667 - Added test case.
2018-04-18 10:12:54 -04:00
Chris Cranford
11456a9892
HHH-12498 - Fix NPE when audited entity composite-key references non-audited entity.
2018-04-17 17:23:52 -04:00
Chris Cranford
231dd064a4
HHH-12448 - Fix potential memory leak with Envers and JTA when after-completion callbacks did not fire.
2018-04-17 14:02:41 -04:00
Chris Cranford
c7c919f54a
HHH-12424 - Fix unintended binary compatibility breaks between 5.1 and 5.3
...
HHH-11737 - Remove dependency upon org.hibernate.criterion package.
2018-04-16 10:28:06 -04:00
Andrea Boriero
e2b7317560
HHH-12474 - Make sure the JPA version is defined by a single property across build files
2018-04-11 21:54:21 +01:00
Chris Cranford
d26a2adb54
HHH-12327 - Remove javassist from jar manifest and explicitly exclude it from the build.
2018-04-11 11:10:21 -04:00
Chris Cranford
4cfdbaaf1f
HHH-12475 - Remove unnecessary dependencies from hibernate-envers build.
2018-04-11 11:06:14 -04:00
Bruno P. Kinoshita
ed575e44a9
HHH-12346: Replace StringHelper#join by Java's String#join
2018-03-28 21:14:09 -05:00
Andrea Boriero
9229514ed4
HHH-12444 - Introduce BootstrapContext
...
HHH-12443 - Introduce TypeConfiguration
2018-03-28 17:43:48 -05:00
Andrea Boriero
8f889e95d7
HHH-12444 - Introduce BootstrapContext
...
HHH-12443 - Introduce TypeConfiguration
2018-03-28 17:43:48 -05:00
Roland Illig
8b11d5ecf9
HHH-12388 - User Guide and Javadoc typo fixes
...
Fix a/an grammar in code and documentation, and other typos
2018-03-14 14:17:55 +02:00
Chris Cranford
664c652a25
HHH-8058 - Enable querying entity revisions with property change indicators.
...
(backport from wip/6.0)
2018-03-06 12:42:43 -05:00
Chris Cranford
fea7f348ee
HHH-7555 - Add ability to query revision entity instances of an entity class without instantiating the entity instances.
...
(backport from wip/6.0)
2018-03-06 12:23:16 -05:00
Chris Cranford
4a3f7c19c0
HHH-12327 - Remove the Envers dependency on Javassist.
2018-03-06 12:18:36 -05:00
Sanne Grinovero
0f5c3a0abc
HHH-11253 Make Byte Buddy BytecodeProvider impl the default
2018-03-02 12:19:18 +00:00
Chris Cranford
a2c677620c
HHH-11981 - Fix QueryException thrown for association queries using EntitiesModifiedAtRevision queries.
2018-02-19 16:17:10 -05:00
Chris Cranford
2977d8f468
HHH-11901 - Fix audited collections that contain null values.
2018-02-19 13:48:09 -05:00
Jonathan Bregler
b0ca1c54ac
HHH-12306 - Fix org.hibernate.envers.test.integration.manytomany.MappedByEmbeddableAttributeTest on HANA
...
- The order of the elements in Container#bList is undefined on the database
side. This fix adds a hasItem matcher instead of explicitly checking each item
of the list which depends on the order of the elements.
2018-02-19 17:13:39 +02:00
Chris Cranford
1e9056fb03
HHH-12304 - Fix MappingException when audited property uses a custom EnumType.
2018-02-16 13:29:33 -05:00
Chris Cranford
101038fe48
HHH-12440 - Fix audited associations that use mapped-by references to embeddable attributes.
2018-01-24 15:29:37 -05:00
Chris Cranford
09cd41e382
HHH-12440 - Fix audited associations that use mapped-by references to embeddable attributes.
2018-01-24 14:53:13 -05:00
Chris Cranford
8f6800e97f
HHH-12440 - Added test case.
2018-01-24 11:04:18 -05:00
Steve Ebersole
d806eff912
HHH-12190 - General tidying of Gradle scripts
2018-01-16 14:34:43 -06:00
Steve Ebersole
5460acd63a
HHH-12133 - Create ManagedBeanRegistry and ManagedBean
...
- Various restructing on top of Yoann's work as well as adding tested support of "mixed access" (mix of hosted and non-hosted beans)
2018-01-16 13:26:42 -06:00
Chris Cranford
a5bce26262
HHH-12169 - Support dependency injection for Envers revision listeners.
2017-12-14 13:03:46 -05:00
Chris Cranford
6edff69101
Fix Envers test failure.
2017-12-13 06:19:32 -06:00
Chris Cranford
4946397082
HHH-12063 - Enable Envers to work with AttributeAccessor annotation.
2017-12-05 10:56:33 +01:00
Chris Cranford
d7da90f9cc
HHH-12063 - Added test case.
2017-12-05 10:55:33 +01:00
Vlad Mihalcea
164178330a
HHH-12073 - Change BaseUnitTestCase Logger to protected
2017-11-01 19:04:07 +02:00
Gail Badner
87a37b02f4
HHH-11615 : Avoid wrapping an AuditException in another AuditException
2017-10-19 01:33:43 -07:00
Chris Cranford
ed69c7c5b6
HHH-11615 - Fix Envers to run under WildFly's SecurityManager.
2017-10-19 00:36:47 -07:00
Chris Cranford
dd2bf67ac9
HHH-12018 - Revert fix for HHH-11841: Audit query QueryException on maps using entity-types as keys.
2017-10-19 01:52:07 -04:00
Chris Cranford
2ace60ea79
HHH-12018 - Added test case.
2017-10-19 01:52:07 -04:00
Chris Cranford
aba202c71a
HHH-11988 - Avoid adding unnecessary audit rows for basic types.
2017-10-19 00:40:54 -04:00
Chris Cranford
4883e99818
HHH-11988 - Added test case.
2017-10-19 00:40:54 -04:00
Jonathan Bregler
54b506ecf4
HHH-12021 - Fix tests failing on SAP HANA
...
- skip testLoad() of org.hibernate.jpa.test.ops.GetLoadTest
- change the result comparison to set-based instead in testRevisionsGtWithPropertyQuery()
2017-10-09 13:58:49 +03:00
Andrea Boriero
132767b4fb
HHH-12001 - Allow ORM to be built with Java 9
2017-09-21 22:10:05 +01:00
Jonathan Bregler
3aad752b04
Improved Hibernate support for SAP HANA
...
- Identity column support
- Spatial support
- Various minor improvements in HANA dialects
2017-09-21 12:05:19 -05:00
Chris Cranford
e9707461ee
HHH-11841 - Fix audit query QueryException on maps using entity-types as keys.
2017-09-13 00:56:06 -04:00
Chris Cranford
6f8968e58a
HHH-11841 - Added test case.
2017-09-13 00:56:06 -04:00
Gail Badner
9f2edb654d
HHH-11614 : Revert "HHH-11477 - HQL query against field marked with @Lob fails on PostgreSQL"
...
This reverts commit f0016db201
.
2017-09-11 11:51:59 -07:00
Chris Cranford
e992ff04c9
HHH-11892 - Fix loading audit history when using a map with entity-type keys.
2017-08-22 15:53:44 -04:00
Chris Cranford
39196915f1
HHH-11892 - Added test case.
2017-08-22 15:53:29 -04:00
Chris Cranford
843cce998f
HHH-11748 - Fix relatedId queries against associated entities in entity identifier mappings.
2017-08-21 09:36:18 -04:00
Chris Cranford
ac15d45da2
HHH-11748 - Added test cases
2017-08-21 09:36:18 -04:00
Vlad Mihalcea
175e0dae34
Fix test failing in Envers and for MariaDB
2017-07-05 17:44:14 +03:00
Chris Cranford
0d5f9c16ff
HHH-11851 - Fix for native envers test cases to execute against validity and default audit strategies.
2017-07-03 11:16:06 -04:00
Chris Cranford
a7f77e2687
HHH-11770 - Fix for audited queries for OneToMany associated to an EmbeddedId property.
2017-05-24 20:02:13 -04:00
Chris Cranford
10e69bd7b2
HHH-11770 - Added test case.
2017-05-24 20:02:13 -04:00
Chris Cranford
a234ea600b
HHH-11463 - Avoid creating foreign keys from audit schema to non-audit schema.
2017-05-17 23:40:34 -04:00
Chris Cranford
6314ac1e0f
HHH-11463 - Added test case.
2017-05-17 23:39:47 -04:00
Chris Cranford
a1bc31b126
HHH-11759 - Make audited property and predicate order deterministic.
2017-05-17 12:28:46 -04:00
Chris Cranford
9826528435
HHH-11752 - Remove references to old types and fix LGTM warning.
2017-05-15 23:57:19 -04:00
dkublik
9fdd7e4588
HHH-11730-configurable-originalId-property
2017-05-11 18:17:46 -04:00
Andrea Boriero
eb819faa8c
HHH-11737 - Fix xcheckstyle error
2017-05-11 06:50:39 -05:00
Chris Cranford
f9aa6e6d2e
HHH-11737 - Remove dependency on org.hibernate.criterion package.
2017-05-10 19:50:37 -04:00
Richard Bradley
3a813dcbb4
HHH-11646 revert errant after -> afterQuery search and replace
2017-05-03 11:54:37 +03:00
Vlad Mihalcea
442bf225c4
HHH-11601 - Fix tests failing on Oracle
2017-04-12 12:15:27 +03:00
Chris Cranford
f9c1e7e339
HHH-11582 - Fix inconsistent modified flags behavior when same entity
...
persisted and merged within the same transaction.
2017-03-22 14:20:26 -04:00
Chris Cranford
10a29b48c3
HHH-11582 - Add test case.
2017-03-22 14:20:26 -04:00
Andrea Boriero
61612ca540
HHH-11580 - Fix test failure
2017-03-22 13:34:25 +00:00
Andrea Boriero
0eab02aaa9
HHH-11580 - EnversPreCollectionRemoveEventListener fails because EntityManager is closed when using JPA + JTA + Envers
2017-03-22 13:09:47 +02:00
Felix Feisst
28d7d196f4
HHH-11575 Fixed bug where multiple revisions could have been created
...
during a single transaction when flush mode is set to COMMIT.
2017-03-21 09:22:29 -04:00
Andrea Boriero
197ea800cc
HHH-11570 - Add test for issue
2017-03-14 22:24:12 +00:00
Chris Cranford
6674cddf3d
HHH-11560 - Move validation of Lob/ElementCollection after determining property is not-audited.
2017-03-08 21:50:00 -05:00
Chris Cranford
a49790537c
HHH-11558 - Fix NullPointerException when using query api with non-audited entities.
2017-03-08 18:19:22 -05:00
Chris Cranford
47d6e40721
HHH-11558 - Added test case.
2017-03-08 18:19:22 -05:00
Andrea Boriero
e54ce7b266
HHH-11536 - Fix unit tests failing on Oracle
2017-03-02 12:29:13 +00:00
Chris Cranford
2a32c8ff0d
Removed call to System.out.println
2017-03-02 06:43:02 -05:00
Andrea Boriero
f0016db201
HHH-11477 - HQL query against field marked with @Lob fails on PostgreSQL
2017-02-28 12:25:03 +02:00
Vlad Mihalcea
2b79644b63
HHH-11473 - Refactor MySQL Dialects
2017-02-20 15:35:16 +02:00
Chris Cranford
2e2b457d18
HHH-11416 - Test for unrelated property joins for JOINED-based Inheritance entity mappings.
2017-02-16 16:25:14 +00:00
Vlad Mihalcea
7c06d003dc
HHH-11457 - Add MariaDB specific Dialects
2017-02-15 12:08:34 +02:00
Chris Cranford
995e5d68ce
HHH-11477 - Marked Envers tests to be skipped on PostgreSQL until this is resolved.
2017-02-09 12:39:45 -05:00
Chris Cranford
82cf0c1caa
HHH-11475 - Deprecate ModificationStore
2017-02-08 11:46:42 -05:00
Chris Cranford
89583fd008
HHH-11383 - Added additional property projection test case.
2017-01-18 14:26:13 -05:00
Chris Cranford
327d0a93cd
HHH-11383 - Added test case.
2017-01-18 14:26:13 -05:00
Chris Cranford
ebf4803a33
HHH-8973 - Fix tracking entity modifications to detached entities with the modified flags feature.
2017-01-18 12:37:50 -05:00
Chris Cranford
ad0cd4fc18
HHH-8973 - Added test case.
2017-01-18 12:37:50 -05:00
Chris Cranford
f01055985e
HHH-11364 - Checkstyle fixups.
2017-01-06 10:22:08 -05:00
CK Guven
883799082c
HHH-11364 add null check for properties in middle embeddable components
2017-01-06 10:22:08 -05:00
Chris Cranford
652f85644f
HHH-9108 - Fix PropertyAccessException when auditing an Embeddable that contains an associative collection.
2016-12-23 00:44:10 -05:00
Chris Cranford
61ce4b86ff
HHH-9108 - Added test case.
2016-12-23 00:42:52 -05:00
Chris Cranford
1d41a3f761
HHH-9834 - Fix failure when deleting and inserting values with the same Map key.
2016-12-22 16:14:57 -05:00
Chris Cranford
36e75f4a4d
HHH-9834 - Added additional test case scenarios
2016-12-22 16:14:57 -05:00
Chris Cranford
cc56c9672b
HHH-9834 - Fix primary key generation for Map-based ElementCollections that use Lob.
2016-12-22 03:11:34 -05:00
Chris Cranford
4cbb53c17a
HHH-9834 - Added test cases.
2016-12-22 03:10:32 -05:00
Chris Cranford
8002595e86
HHH-7940 - Remove unnecessary test case output.
2016-12-19 14:16:58 -05:00
Chris Cranford
8db194e8a6
HHH-7940 - Fix NullPointerException when using IndexColumn/OrderColumn without AuditMappedBy.
2016-12-19 14:16:58 -05:00
Chris Cranford
94f2401b3c
HHH-7940 - Added test cases.
2016-12-19 14:16:58 -05:00
Chris Cranford
59870d0a14
HHH-7949 - Prevent lazy loading collections for bidirectional associations where not modified when withModifiedFlag is used.
2016-12-09 12:55:27 -05:00
Chris Cranford
1081c02c6b
HHH-7949 - Added test case.
2016-12-09 12:55:27 -05:00
Chris Cranford
b1a9676146
HHH-11215 - Fix NullPointerException when collection of embeddables reference an unaudited entity.
2016-11-22 23:54:36 -05:00
Chris Cranford
1e030b2dc4
HHH-11215 - Added test case.
2016-11-22 23:54:36 -05:00
Brett Meyer
de346827d0
HHH-11152 add bytebuddy to osgi testing-bundles.xml, explicitly import javassist in envers (temporarily)
2016-11-17 13:58:49 -05:00
Chris Cranford
af78f17eb8
HHH-11214 - Fix validity audit strategy auditing nested collections with null property values.
2016-11-17 12:48:44 -05:00
Chris Cranford
c3c08728bc
HHH-11214 - Add test case.
2016-11-17 12:48:44 -05:00
Rafael Winterhalter
ba3359fe62
HHH-11152: Added BytecodeProvider based on Byte Buddy
2016-11-16 13:18:46 -06:00
Andrea Boriero
b14e69089f
HHH-11232 - Session is closed bug with Envers 5.2.x + JTA
2016-11-11 16:59:03 +00:00
Chris Cranford
c17c1b5aae
HHH-11232 - Added test case.
2016-11-11 16:41:33 +00:00
Chris Cranford
68eb34960b
HHH-11107 - Avoid creating a foreign key when a composite-id contains a many-to-one association for the envers schema.
2016-10-24 15:25:07 -04:00