Commit Graph

637 Commits

Author SHA1 Message Date
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
Chris Cranford 501a1f4f9b HHH-11107 - Added test case. 2016-10-24 15:25:07 -04:00
Chris Cranford de7ca7882b HHH-11131 - Refactored generator and database structure code. 2016-09-29 17:45:14 +01:00
Chris Cranford 555aa772a3 HHH-11131 - Fixed class javadoc and removed unused imports. 2016-09-29 17:45:14 +01:00
Chris Cranford f66031fa53 HHH-11131 - Fixed OrderSequenceGenerator to use a custom structure for ordered oracle sequences. 2016-09-29 17:45:14 +01:00
Chris Cranford 0dcb9b6487 HHH-11131 - Added test case. 2016-09-29 17:45:14 +01:00
Chris Cranford 2d03ba9747 HHH-11133 - Add discriminator-value attribute support for joined-subclass hbm mapping elements. 2016-09-28 16:27:45 -05:00
Chris Cranford 3e64c710c5 HHH-11063 - Fix long entity names for pgsql test failure. 2016-09-28 09:11:36 -04:00
Chris Cranford a41b726236 HHH-11063 - Added test case. 2016-09-21 16:21:02 -04:00
Chris Cranford 2f3798de03 HHH-11063 - Fix collection change logic for addition/removal of elements with same hash. 2016-09-21 16:21:02 -04:00
Chris Cranford 20ae4920b7 HHH-5908 - Avoid unnecessary updates on detached un-modified entities with SelectBeforeUpdate.
HHH-11056 - Envers audits unchanged objects for a certain use case
2016-09-21 16:38:59 +03:00
Chris Cranford 2b5e201653 HHH-7681 - Fix setting fake bidirectional attributes to null on collection change work units. 2016-09-20 15:22:41 -04:00
Chris Cranford 16fd531b6a HHH-7681 - Envers test case. 2016-09-20 15:22:41 -04:00
Chris Cranford c8aa945b6b HHH-7625 - Added test case. 2016-08-03 22:39:39 -05:00
Chris Cranford 22f23d8da0 HHH-7625 - Fix inverse OneToMany with a Composite key mapping failure. 2016-08-03 22:39:39 -05:00
Andrea Boriero 1da8f01740 HHH-10952 - Tests leaving transactions opened cause PostgreSQL to hang 2016-08-03 23:04:23 +02:00
Chris Cranford f5bb3bac38 HHH-7249 - Added test case. 2016-08-01 18:49:32 -05:00
Chris Cranford 7552b053db HHH-7249 - Fix Envers saving the proper discriminator value at deletion time between related entities. 2016-08-01 18:49:08 -05:00
Chris Cranford 0efd03419e Revert "HHH-7940 - Add validation check for indexed fake bidirectional mappings."
This reverts commit af9882baae.
2016-08-01 07:08:11 -05:00
Chris Cranford af9882baae HHH-7940 - Add validation check for indexed fake bidirectional mappings. 2016-07-29 15:53:04 -05:00
Chris Cranford a17dd125e7 HHH-9199 - Fixed auditing of embeddable collections using ValidityAuditStrategy. 2016-07-12 14:19:11 -05:00
Chris Cranford 95c01d9001 HHH-9199 - Removed FailureExpected. 2016-07-12 14:19:11 -05:00
Chris Cranford 179076e0e6 HHH-9199 - Checkstyle header fix. 2016-07-12 14:19:11 -05:00
Felix Feisst bc9e82bd70 Added unit test for issue HHH-9199 2016-07-12 14:19:11 -05:00
Felix Feisst 85eca1aa01 Added unit test for issue HHH-9199 2016-07-12 14:19:11 -05:00
Brett Meyer da4f5e1a57 HHH-10947 Add @Repeatable to Hibernate-owned annotations 2016-07-11 15:33:35 -04:00