Commit Graph

369 Commits

Author SHA1 Message Date
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
Chris Cranford 67ec2d07cc HHH-13080 - EntityExistException when audited collection updated with detached entities. 2019-01-16 09:27:35 -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 b00f580d8d HHH-12913 - Fix AuditJoinTable to work when specified in an AuditOverride. 2018-11-07 15:31:47 -05: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 10148324d1 HHH-10201 - Fix element-collection attributes to always be audited if parent is audited. 2018-10-30 15:25:35 -04: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
Chris Cranford 15a59a1a19 HHH-12542 - Add necessary privileged action blocks for SecurityManager used on WildFly. 2018-07-18 17:18:51 +02: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 0b7c1e2fcb HHH-12607 - Support map-based collections without equals/hashcode implementations. 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
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 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
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 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 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
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
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
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
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 4946397082 HHH-12063 - Enable Envers to work with AttributeAccessor annotation. 2017-12-05 10:56:33 +01: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 aba202c71a HHH-11988 - Avoid adding unnecessary audit rows for basic types. 2017-10-19 00:40:54 -04: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 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 843cce998f HHH-11748 - Fix relatedId queries against associated entities in entity identifier mappings. 2017-08-21 09:36:18 -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 a234ea600b HHH-11463 - Avoid creating foreign keys from audit schema to non-audit schema. 2017-05-17 23:40:34 -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
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
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
Chris Cranford 6674cddf3d HHH-11560 - Move validation of Lob/ElementCollection after determining property is not-audited. 2017-03-08 21:50:00 -05:00