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
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
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
Andrea Boriero
b196374da9
6 - SQM based on JPA type system
2019-09-12 10:42:32 +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
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
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
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
2a32c8ff0d
Removed call to System.out.println
2017-03-02 06:43:02 -05:00
Chris Cranford
82cf0c1caa
HHH-11475 - Deprecate ModificationStore
2017-02-08 11:46:42 -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
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
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
cc56c9672b
HHH-9834 - Fix primary key generation for Map-based ElementCollections that use Lob.
2016-12-22 03:11:34 -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
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
b1a9676146
HHH-11215 - Fix NullPointerException when collection of embeddables reference an unaudited entity.
2016-11-22 23:54:36 -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
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
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
de7ca7882b
HHH-11131 - Refactored generator and database structure code.
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
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
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
22f23d8da0
HHH-7625 - Fix inverse OneToMany with a Composite key mapping failure.
2016-08-03 22:39:39 -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
Brett Meyer
da4f5e1a57
HHH-10947 Add @Repeatable to Hibernate-owned annotations
2016-07-11 15:33:35 -04:00
Chris Cranford
fe632bc09a
HHH-10906 - Remove the necessity of passing EnversService to AuditStrategy APIs.
2016-06-29 13:24:59 -05:00
Chris Cranford
86fad51356
HHH-8305 - Fix ToOne join tables with optional=true and OneToOne inverse mappings.
2016-06-15 15:32:53 -05:00
Chris Cranford
77a4a9563f
HHH-10811 - Fix character encoding issues with Enver's XML mappings when JVM encoding isn't UTF-8.
2016-06-14 11:36:31 -05:00
Chris Cranford
69b8879e94
HHH-7510 - Fix LazyInitializationException for ManyToMany when deleting and global_with_modified_flag is enabled.
2016-06-13 22:23:17 -05:00
Chris Cranford
dde7a5d1a5
HHH-10841 - Fix columns with generated annotation not being tracked by Envers.
2016-06-13 19:18:11 -05:00
Chris Cranford
3cb2390b3d
10664 - Prepare Envers for 5.2 - Deprecated AuditReader getCurrentRevision.
2016-05-31 23:40:03 -05:00
Felix Feisst
a59ebb7e53
HHH-10762 -Implemented left joins for relation traversion in audit
...
queries by leveraging the new HQL feature to join unrelated entities.
Furthermore, the implementation of inner joins have been improved by
using the same new HQL feature. The audit query API has been extended to
support criterias where two properties of different entities are
disjuncted, conjuncted or directly compared to each other.
2016-05-23 20:13:58 -05:00
Chris Cranford
eb2bf6e2e7
HHH-10664 - Prepare Envers for 5.2 - deprecation fixes, javadoc fixes, java 8 code adoption.
2016-05-17 08:03:39 -05:00
Chris Cranford
9dca4b82ae
HHH-10246 - Fix Envers usage of JoinColumn with NaturalId.
2016-05-13 14:19:01 -05:00
Chris Cranford
4ebad67bb1
HHH-10734 - Fix envers creating unnecessary audit rows when array field types used.
2016-05-12 15:55:57 -05:00
Chris Cranford
383972d6c2
HHH-8070 - Added IN criteria support to AuditRelatedId.
2016-05-12 11:00:14 -05:00
Chris Cranford
03aa47ab76
HHH-10468 - Fix Envers global_with_modified_flag to allow override behavior when set to false.
2016-05-11 22:24:13 -05:00
Chris Cranford
a67b42ca64
HHH-9178 - Fix QueryException when querying audited entities with embeddables.
2016-05-11 16:03:52 -05:00
Chris Cranford
2b66cd72bb
Checkstyle fixups
2016-05-06 18:37:59 -05:00
Chris Cranford
58473c87dd
HHH-10664 - Prep 5.2 feature branch - Envers
2016-05-06 14:37:00 -05:00
Steve Ebersole
87e3f0fd28
HHH-10664 - Prep 6.0 feature branch - merge hibernate-entitymanager into hibernate-core (first sucessful full compile of consolidated hibernate-core)
2016-05-06 13:12:32 -05:00
Naros
cc10cbebc2
HHH-10670 - Removed deprecated ValidTimeAuditStrategy
2016-04-07 17:38:48 +03:00
Steve Ebersole
e01e9b52fb
HHH-3555 - more checkstyle cleanup
2016-02-09 15:21:06 -06:00
Steve Ebersole
c783aab919
HHH-3555 - Extend the Envers query system with the ability to traverse associations
2016-02-09 14:31:23 -06:00
Felix Feisst
83f060bea7
HHH-3555 - Extendend Envers Criteria API to express relation traversion
...
(traverseRelation) with different Join Types. Implementation is done for
inner joins and will be extended to support further join types in future
commits.
2016-02-09 14:15:17 -06:00
vladmihalcea
dc991d29d9
Cherry pick spelling corrections from https://github.com/hibernate/hibernate-orm/pull/1238
2016-01-25 11:36:25 +02:00
Steve Ebersole
6ed765ede3
HHH-6225 Add support to find entities by date in one single query (checkstyle fixes)
2016-01-11 14:20:57 -06:00
Naros
6e31e61f1a
HHH-6225 Add support to find entities by date in one single query.
2016-01-09 19:48:37 -05:00
Sanne Grinovero
45c6f9b4ef
HHH-10335 Upgrade to Hibernate Commons Annotations 5.0.1.Final
2015-11-25 22:59:39 +00:00
Steve Ebersole
a6f3319eaf
HHH-9685 - Envers should do nothing when JTA transaction is already marked as rollback-only
2015-09-30 00:34:33 -05:00
Andrea Boriero
86bbb1de8f
HHH-10141 - Fix issue with ClassicQueryTranslatorFactory and revision parameter type detection
2015-09-28 21:28:12 +01:00
Andrea Boriero
c5b1cf94f3
HHH-10108 - Substituted checkstyle NewlineAtEndOfFile rule with rules used in OGM and fixed classes having more than a newline at the end of file
2015-09-22 18:11:43 +01:00
Steve Ebersole
73c46e298c
HHH-10056 - Separate settings for notions of (1) disabling EnversService and (2) auto-registering Envers listeners
2015-09-02 09:05:34 -05:00
Steve Ebersole
29de3c87ab
HHH-10056 - Separate settings for notions of (1) disabling EnversService and (2) auto-registering Envers listeners
2015-09-02 08:51:26 -05:00
Gunnar Morling
1376b12ca9
HHH-10073 Not propagating XML node names configured in mappings
2015-09-01 11:34:56 -05:00
Kamil Szymanski
5f5e5f82c4
HHH-9593 Remove superfluous references to enclosing class
...
Conflicts:
hibernate-core/src/main/java/org/hibernate/boot/registry/classloading/internal/ClassLoaderServiceImpl.java
hibernate-core/src/main/java/org/hibernate/internal/SQLQueryImpl.java
hibernate-core/src/main/java/org/hibernate/service/internal/JaxbProcessor.java
2015-08-26 15:55:45 -04:00
barreiro
c622d39199
HHH-9985 - remove hack based on exposed state and route all field access to enhanced methods, if present
2015-08-05 19:33:18 +01:00
Steve Ebersole
1f9b1c00f6
HHH-9955 - EnumType mapped via hbm.xml not always resolved properly as far as named/ordinal
2015-07-23 09:55:15 -05:00
Steve Ebersole
9e063ffa25
HHH-9837 - Remove reliance during annotation binding on org.hibernate.internal.util.ClassLoaderHelper
...
HHH-9841 - Redesign org.hibernate.property.PropertyAccessorFactory
2015-06-04 14:12:17 -05:00
Steve Ebersole
bd256e4783
HHH-9803 - Checkstyle fix ups - headers
2015-05-18 23:25:14 -05:00
Steve Ebersole
611f8a0e1c
HHH-9803 - Checkstyle fix ups
2015-05-18 13:35:27 -05:00
Steve Ebersole
7308e14fed
HHH-9803 - Checkstyle fix ups
2015-05-15 18:07:07 -05:00
Andrea Boriero
b476094d43
HHH-9747 - Import initial reworking of transaction handling (based on JdbcSession work)
2015-04-24 10:58:08 -05:00
Brett Meyer
7ca12c7d80
HHH-9722 cleanup, removed StringHelper methods
2015-04-17 15:53:24 -04:00
10urshin
1361925bc7
HHH-9722
...
Changed all toLowerCase() and toUpperCase() to toLowerCase(Locale.ROOT),
toUpperCase(Locale.ROOT).
2015-04-17 15:53:24 -04:00
Brett Meyer
410a785dfe
HHH-9680 updated OSGi quickstarts, added necessary contracts to Envers blueprint, corrected a few uses of ReflectionManager
2015-03-30 15:36:57 -04:00
Steve Ebersole
e9230758b4
HHH-9446 - ClassCastException on loaded entities under GlassFish 4.0
2015-03-27 15:13:53 -05:00
Steve Ebersole
5f6d1d24f7
HHH-8844 - Add support for Java 8 date and time types (JSR-310)
2015-03-24 16:01:15 -05:00
Brett Meyer
b70bc0080e
HHH-8769 gracefully handle the lack of dynamic mode support in Envers
2015-03-22 01:30:52 -04:00
Steve Ebersole
63a0f03c5a
HHH-9654 - Adjust envers for 5.0 APIs + JAXB
2015-03-18 20:22:26 -05:00
Steve Ebersole
9caca0ce37
HHH-9490 - Migrate from dom4j to jaxb for XML processing;
...
HHH-9492 - Migrate to new bootstrap API (MetadataSources, etc);
HHH-7078 - Split NamingStrategy into ImplicitNamingStrategy/PhysicalNamingStrategy;
HHH-6005 - Better handling of implicit column naming with @ElementCollection of @Embeddables;
HHH-9633 - Add tests that explicitly test the "main" NamingStrategy impls
2015-03-10 16:53:51 -05:00
Eric Haas
6f6b3264f3
HHH-9043
...
Added the ability to customize the modified field name for audited fields.
2015-01-19 17:27:36 -05:00
Steve Ebersole
66ce8b7fb5
HHH-9466 - Drop metamodel package from source
2014-10-30 07:43:55 -05:00
Gail Badner
27da278f07
HHH-9194 : Revert HHH-8908 fix
2014-05-27 14:25:25 -07:00
Gail Badner
b3b2312482
HHH-8908 : Column of Embedded missing in Audit Table; additional test, format, cleanup
2014-04-17 14:12:36 -07:00
Gail Badner
ce6018563c
HHH-8908 : Column of Embedded missing in Audit Table
2014-04-17 14:12:36 -07:00
Lukasz Antoniak
3b2a09d2e7
HHH-8968 - Fix and test by FiatLox
2014-02-24 22:18:08 +01:00
Lukasz Antoniak
612e795ad2
HHH-8912 - Test case
...
(cherry picked from commit e025725f66
)
2014-01-29 23:30:09 +01:00
Labi0
7c7c65f42e
HHH-8912 - @NotFound applied to *-to-one relation in superclass
...
(cherry picked from commit 1e7b03a2ae
)
2014-01-29 23:29:56 +01:00
Lukasz Antoniak
522ce1d974
HHH-8243 HHH-8329 - Avoid flushing in validity audit strategy
...
(cherry picked from commit f0bd12f823
)
2014-01-28 13:36:48 -06:00
Brett Meyer
3ff64a55c5
HHH-8763 OsgiServiceUtil#getServiceImpls broken
2013-12-06 14:58:42 -05:00
Steve Ebersole
cd590470c0
HHH-8741 - More checkstyle cleanups
2013-11-24 09:44:55 -06:00
Steve Ebersole
e59a0170af
HHH-8741 - More checkstyle cleanups
2013-11-23 21:30:05 -06:00
Steve Ebersole
8ec17e68e7
HHH-8741 - More checkstyle cleanups
2013-11-23 00:06:06 -06:00
Lukasz Antoniak
e65abd026c
HHH-8497 - Fix and test
2013-11-06 21:25:06 +01:00
zuchos
c9d4305bf1
HHH-8505: Fixed todos
2013-10-28 15:05:59 +01:00
zuchos
03449c1d37
HHH-8505: Reformating to hibernate code style
2013-10-28 15:05:45 +01:00
zuchos
7c492ddbc3
HHH-8505: Advanced test - OneToOne & ManyToOne
2013-10-28 15:05:34 +01:00
zuchos
7dd862eeb5
HHH-8505: Better test for proxy generator
2013-10-28 15:05:31 +01:00
zuchos
f70189f416
HHH-8505: Auditing of dynamic components
2013-10-28 15:05:28 +01:00
Lukasz Antoniak
e5e5ef14eb
HHH-8567 - Query identifier properties
2013-10-11 15:50:05 +02:00
Brett Meyer
c28748f989
HHH-8502 synchronize AuditConfiguration#destroy
2013-09-25 14:22:37 -04:00
Becca Gaspard
99be129200
HHH-8495 - Support ilike in Hibernate Envers
2013-09-20 07:20:19 +02:00
Steve Ebersole
280313dac4
HHH-8518 - Validate EMF#addNamedQuery transfers all query settings
2013-09-18 18:54:55 -05:00
Steve Ebersole
34459efc2e
HHH-8502 - EnversIntegrator#disintegrate needs to check config for null
2013-09-16 06:37:56 -05:00
Steve Ebersole
9e54c418ab
HHH-8499 - Prepare for 4.3 Beta4 release
2013-09-12 11:44:42 -05:00
Brett Meyer
29ab1766c0
HHH-8363 SessionFactoryServiceRegistryImpl should not call parent#destroy, test failures, formatting
2013-09-06 18:28:58 -04:00
Tomaz Cerar
360567beac
HHH-8363 Some more mem leak fixes
2013-09-06 18:28:58 -04:00
Brett Meyer
40ac5094a1
HHH-8465 corrected check in EnversListenerDuplicationStrategy
2013-09-04 18:19:59 -04:00
Lukasz Antoniak
456dfd83f9
HHH-7807 - Cascade delete revisions
...
Conflicts:
documentation/src/main/docbook/devguide/en-US/Envers.xml
hibernate-envers/src/main/java/org/hibernate/envers/configuration/GlobalConfiguration.java
hibernate-envers/src/main/java/org/hibernate/envers/configuration/metadata/AuditMetadataGenerator.java
2013-08-05 23:42:05 -04:00
Lukasz Antoniak
bf11088e70
HHH-5845 - Collection proxy of deleted state
2013-08-02 12:37:20 +02:00
Lukasz Antoniak
dd1bec53fb
HHH-8280 - Identifiers reuse option
2013-08-01 13:13:39 +02:00
Adar Dembo
80873328d1
HHH-8280 - validity audit strategy breaks when entity IDs are reused
2013-08-01 13:13:39 +02:00
Lukasz Antoniak
f2d435ddc1
HHH-8174 - Envers support for @NotFound
2013-06-11 09:08:56 -07:00
Steve Ebersole
120dbbb311
HHH-8257 - More concisely obtaining a JBoss logger
2013-05-21 16:25:21 -05:00
Steve Ebersole
364a47f2c7
HHH-8159 - Apply fixups indicated by analysis tools
2013-05-02 10:01:21 -05:00
Brett Meyer
fe9e2798de
HHH-7944 envers classloader issues
...
Conflicts:
hibernate-envers/src/main/java/org/hibernate/envers/configuration/spi/AuditConfiguration.java
2013-05-01 00:05:03 -04:00
Brett Meyer
04fe84994d
HHH-7995 Added support for TypeContributors in OSGi. Integrated with
...
envers
Conflicts:
hibernate-core/src/main/java/org/hibernate/cfg/Configuration.java
hibernate-entitymanager/src/main/java/org/hibernate/ejb/Ejb3Configuration.java
hibernate-osgi/src/main/java/org/hibernate/osgi/OsgiPersistenceProvider.java
hibernate-osgi/src/main/java/org/hibernate/osgi/OsgiSessionFactoryService.java
2013-05-01 00:05:03 -04:00
Brett Meyer
30d63bf58f
HHH-7995 Auto-discovery of Hibernate extension points in OSGi
2013-04-29 11:51:02 -04:00
Lukasz Antoniak
a8f0552b81
HHH-8189 - Rollback audit records on flushed transaction rollback
2013-04-17 15:57:54 +02:00
Lukasz Antoniak
8342194057
HHH-5845 - Lazy loading of audited entites with revision type DEL
2013-04-17 09:31:20 +02:00
Lukasz Antoniak
f2b9ab8278
HHH-8171 - Cleanup
2013-04-14 22:27:05 +02:00
Kristoffer Lundberg
4796553a3f
HHH-8171 - SETORDINAL to support set of embeddables
2013-04-14 22:27:03 +02:00
Steve Ebersole
1d9f6201a0
HHH-7841 - Redesign Loader
2013-04-12 09:05:15 -05:00
Lukasz Antoniak
6be8b4aad0
HHH-7478 - Fix and test
2013-04-11 18:13:58 -04:00
Lukasz Antoniak
802fcf7b4e
HHH-8049 - Fix and test
2013-04-09 11:52:40 +02:00
Lukasz Antoniak
5cc051e1df
HHH-7944 - Separation of Envers API, SPI and internal packages
2013-04-08 14:43:29 +02:00
Lukasz Antoniak
4213e3c13a
HHH-5845 - Cleanup
2013-04-05 11:51:12 +02:00
Adar Dembo
52ab4baafb
HHH-5845 (partial fix) Lazy Loading of audited entites with revision type 'delete'
...
Fixed for to-one associations, but not for one-to-many and other collection types.
2013-04-05 11:51:11 +02:00
Lukasz Antoniak
03a56f58b9
HHH-8087 - Cleanup
2013-03-22 16:02:47 +01:00
Lukasz Antoniak
fa12131267
HHH-8087 - Fix and test
2013-03-22 15:23:54 +01:00
Lukasz Antoniak
98c12081ec
HHH-8036 - Fix and test
2013-03-04 22:17:47 +01:00
Lukasz Antoniak
51a7df596e
HHH-6613 - Support for audited @ElementCollection
2013-02-28 13:22:14 +01:00
Brett Meyer
4d68ddf7b0
HHH-7991 Correct all instances of
...
Thread.currentThread().getContextClassLoader()
2013-02-14 10:44:36 -05:00
Brett Meyer
56867417e2
HHH-7527 Enterprise OSGi JPA support
2013-02-14 10:44:35 -05:00
Lukasz Antoniak
d702dfbc8c
HHH-7948 - Fix and test
2013-01-30 15:49:10 +01:00
Lukasz Antoniak
c05238bad3
HHH-7948 - Fix and test
2013-01-29 19:03:06 +01:00
Lukasz Antoniak
69230d1ebd
HHH-7934 - Fix and test
2013-01-24 07:52:49 +01:00
Lukasz Antoniak
8e38db5833
HHH-7918 - Completely recalculate entity state on merge
2013-01-14 22:34:33 +01:00
Lukasz Antoniak
2a9f3ad9ed
HHH-7918 - Fix and test
2013-01-14 22:34:32 +01:00
Brett Meyer
9ce5c32dd7
HHH-7902 Replace JDBC proxies with a set of contracts/helpers
...
HHH-7902 Merged JdbcResourceRegistry into JdbcCoordinator. Parts of
LogicalConnection moved into JdbcCoordinator as well.
HHH-7902 Replaced Statement#close and ResultSet#close calls with
JdbcCoordinator#release
HHH-7902 Enforced the use of StatementPreparer, instead of Connection
HHH-7902 ResultSetExtractor. Replaced all instances of execute,
executeQuery, executeUpdate, etc.
HHH-7902 Refactored AbstractReturningDelegate to give access to
jdbcCoordinator
HHH-7902 Corrected test failures
HHH-7902 Removed resource registry use from JdbcIsolation workers
HHH-7902 Corrected a few bugs in JdbcCoordinator and ResultSetExtractor.
HHH-7902 ResultSetExtractor -> ResultSetReturn. Reworked proxy tests to
test the new APIs.
Conflicts:
hibernate-core/src/main/java/org/hibernate/internal/SessionImpl.java
hibernate-core/src/test/java/org/hibernate/sharedSession/SessionWithSharedConnectionTest.java
hibernate-core/src/test/java/org/hibernate/test/dialect/functional/SQLServerDialectTest.java
hibernate-core/src/test/java/org/hibernate/test/jdbc/proxies/BatchingTest.java
hibernate-core/src/test/java/org/hibernate/test/transaction/jdbc/TestExpectedUsage.java
hibernate-core/src/test/java/org/hibernate/test/transaction/jta/BasicDrivingTest.java
hibernate-core/src/test/java/org/hibernate/test/transaction/jta/ManagedDrivingTest.java
2013-01-14 14:25:06 -05:00
Lukasz Antoniak
0713cea180
HHH-7870 - Fix and test
2013-01-10 14:38:11 +01:00
Lukasz Antoniak
bcf73bd32c
HHH-7437 - Fix and test
2013-01-03 13:10:16 +01:00
Strong Liu
6c6df69535
refactor, remove redundant type cast
2012-12-25 19:25:47 +08:00
Lukasz Antoniak
da32690828
HHH-7827 - Documentation
2012-12-05 10:27:37 +01:00
Lukasz Antoniak
516577ea80
HHH-7827 - Correlating aggregated and outer queries
2012-12-05 10:27:35 +01:00
Csaba Varga
dadc43af23
HHH-7800: Fixed "maximize" doesn't work inside a disjunction issue
2012-11-22 12:02:31 +01:00
Csaba Varga
ff25434d1f
HHH-7800: Fixed "between" doesn't work inside a disjunction issue
2012-11-22 12:02:24 +01:00
Lukasz Antoniak
c01dd40a65
HHH-5910 - Fix and test
2012-11-19 19:03:59 +01:00
Lukasz Antoniak
5b004e4cbd
HHH-7780 - Proper enumeration named/ordinal discovery
2012-11-14 16:15:43 +01:00
Lukasz Antoniak
97b1f0749e
HHH-3854 - Fix and test
2012-11-11 17:58:23 +01:00
Lukasz Antoniak
363048f44a
HHH-7669 - Oracle sequences ordered
2012-10-30 08:48:28 +01:00
Lukasz Antoniak
ac511bf72e
HHH-7690 - @EmbeddedId with @ManyToOne inside
2012-10-25 12:56:27 +02:00
Steve Ebersole
4ad49a02c9
HHH-7556 - Clean up packages
2012-08-28 14:12:15 -05:00
Lukasz Antoniak
a9c28bf28f
HHH-7543 - Fix and test
2012-08-24 22:30:37 +02:00
Lukasz Antoniak
edfe8afaf1
HHH-7212 - Fix
2012-08-23 23:51:46 +02:00
Steve Ebersole
4282e23caa
HHH-7387 - Integrate Draft 6 of the JPA 2.1 spec : CDI (small test change)
2012-08-18 12:30:21 -05:00
Lukasz Antoniak
773d0793f1
HHH-4751 - Fix and test
2012-08-16 10:34:16 +02:00
Lukasz Antoniak
9aa88b9a24
HHH-7157 - Fix and test
2012-08-07 19:07:56 +02:00
Strong Liu
d0e13b664a
HHH-7108 HHH-6608
2012-08-07 15:08:23 +08:00
Lukasz Antoniak
ffa9cf5768
HHH-5565 - Fix and test
2012-06-17 15:26:11 +02:00
Lukasz Antoniak
77d83b8a10
HHH-5411 - Fix and test
2012-06-07 14:08:15 +02:00
Lukasz Antoniak
8211c97ace
HHH-7295 - Simplify ValidityAuditStrategy#perform() method
2012-05-30 18:49:40 +02:00
Steve Ebersole
06f0a13ee3
HHH-7295 - ParentAuditing Test in Envers Testsuite fails across different databases with different error messages because Hibernate does not set LockMode correctly
2012-05-30 08:55:20 -05:00
Steve Ebersole
835f4452eb
HHH-7295 - ParentAuditing Test in Envers Testsuite fails across different databases with different error messages because Hibernate does not set LockMode correctly
2012-05-29 15:45:07 -05:00
Lukasz Antoniak
af554fe59b
HHH-7093 - ValidityAuditStrategy behaviour depending on row value constractor feature
2012-05-23 21:32:47 +02:00
Lukasz Antoniak
f7708a9c6c
HHH-7246 - Fix and test
2012-04-24 22:41:49 +02:00
Lukasz Antoniak
95ec3457af
HHH-7187 - Renaming and documenting enhanced revision entity
2012-04-19 23:49:41 +02:00
Lukasz Antoniak
c7aa99d0d3
HHH-7187 - New Envers base test classes
2012-04-19 20:15:46 +08:00
Lukasz Antoniak
c4822556c1
HHH-7187 - Enhanced default revision entity
2012-04-19 20:15:44 +08:00
Strong Liu
d3b640cb75
HHH-7197 reimport imports
2012-03-26 16:17:45 +08:00
Lukasz Antoniak
6e85abcf7a
HHH-7017 - Fix and test
2012-03-20 18:43:14 +01:00
Strong Liu
199fae5fee
correct encoding error
2012-03-19 23:03:30 +08:00
Strong Liu
b4659173a8
1. remove commons-collections dependency.
...
2. moved org.hibernate.internal.util.collections.ConcurrentReferenceHashMap from envers module to core, and change it to doesn't allow null key / value.
3. Using ConcurrentReferenceHashMap this to replace old ReferenceMap (from commons-collections) which used in StatefulPersistenceContext.
4. copied org.hibernate.internal.util.collections.BoundedConcurrentHashMap from infinispan code base.
5. deprecate properties QUERY_PLAN_CACHE_MAX_STRONG_REFERENCES and QUERY_PLAN_CACHE_MAX_SOFT_REFERENCES
6. add two new properties QUERY_PLAN_CACHE_PARAMETER_METADATA_MAX_SIZE and QUERY_PLAN_CACHE_MAX_SIZE
7. remove LRUMap, SimpleMRUCache and SoftLimitMRUCache
2012-03-06 23:28:22 +08:00
Lukasz Antoniak
7c60f01f2d
HHH-7106 - Fix, test and documentation
2012-03-03 10:27:35 +01:00
Lukasz Antoniak
34611877c8
HHH-7073 - Fix and test
2012-02-24 19:35:53 +01:00
Lukasz Antoniak
c29711f11b
HHH-6738 - Alias change
2012-02-04 12:27:40 +01:00
Lukasz Antoniak
2f26475baa
HHH-6738 - Formatting
2012-01-31 22:36:26 +01:00
Lukasz Antoniak
69db917760
HHH-6738 - Fix and test
2012-01-31 15:08:16 +01:00
Lukasz Antoniak
d1ac167ec6
HHH-4962 - Fix and test
2012-01-29 17:09:40 +01:00
Lukasz Antoniak
46b7a0d38e
HHH-7003 - Fix and test
2012-01-28 23:27:06 +01:00
Adam Warski
f434cd4311
HHH-6605: Fixing problems with lazy proxy initialization
2012-01-20 22:46:36 +01:00
Adam Warski
89bb7ec175
HHH-6605: More conflicts merging
2012-01-20 20:57:40 +01:00
Adam Warski
a00f23c6f6
Merge remote-tracking branch 'origin/master'
...
Conflicts:
hibernate-envers/src/main/java/org/hibernate/envers/configuration/metadata/AuditMetadataGenerator.java
hibernate-envers/src/main/java/org/hibernate/envers/entities/mapper/relation/OneToOneNotOwningMapper.java
hibernate-envers/src/main/java/org/hibernate/envers/entities/mapper/relation/ToOneIdMapper.java
2012-01-20 20:52:41 +01:00
Adam Warski
b109633b66
HHH-6605: Merging changes by Michal Skowronek. Thanks! Merge remote-tracking branch 'mskowron/change_info'
...
Conflicts:
hibernate-envers/src/main/java/org/hibernate/envers/configuration/GlobalConfiguration.java
hibernate-envers/src/main/java/org/hibernate/envers/configuration/metadata/AuditMetadataGenerator.java
hibernate-envers/src/main/java/org/hibernate/envers/configuration/metadata/ComponentMetadataGenerator.java
hibernate-envers/src/main/java/org/hibernate/envers/configuration/metadata/MetadataTools.java
hibernate-envers/src/main/java/org/hibernate/envers/configuration/metadata/reader/AuditedPropertiesReader.java
hibernate-envers/src/main/java/org/hibernate/envers/entities/mapper/ComponentPropertyMapper.java
hibernate-envers/src/main/java/org/hibernate/envers/entities/mapper/MultiPropertyMapper.java
hibernate-envers/src/main/java/org/hibernate/envers/entities/mapper/PropertyMapper.java
hibernate-envers/src/main/java/org/hibernate/envers/entities/mapper/SinglePropertyMapper.java
hibernate-envers/src/main/java/org/hibernate/envers/entities/mapper/SubclassPropertyMapper.java
hibernate-envers/src/main/java/org/hibernate/envers/entities/mapper/relation/AbstractCollectionMapper.java
hibernate-envers/src/main/java/org/hibernate/envers/entities/mapper/relation/OneToOneNotOwningMapper.java
hibernate-envers/src/main/java/org/hibernate/envers/event/BaseEnversCollectionEventListener.java
hibernate-envers/src/main/java/org/hibernate/envers/query/criteria/AuditProperty.java
hibernate-envers/src/main/java/org/hibernate/envers/synchronization/work/AddWorkUnit.java
hibernate-envers/src/main/java/org/hibernate/envers/synchronization/work/CollectionChangeWorkUnit.java
hibernate-envers/src/main/java/org/hibernate/envers/synchronization/work/DelWorkUnit.java
hibernate-envers/src/main/java/org/hibernate/envers/synchronization/work/FakeBidirectionalRelationWorkUnit.java
hibernate-envers/src/main/java/org/hibernate/envers/tools/Tools.java
hibernate-envers/src/matrix/java/org/hibernate/envers/test/AbstractOneSessionTest.java
hibernate-envers/src/matrix/java/org/hibernate/envers/test/AbstractSessionTest.java
hibernate-envers/src/matrix/java/org/hibernate/envers/test/integration/components/relations/ManyToOneInComponent.java
hibernate-envers/src/matrix/java/org/hibernate/envers/test/integration/components/relations/NotAuditedManyToOneInComponent.java
hibernate-envers/src/matrix/java/org/hibernate/envers/test/integration/components/relations/OneToManyInComponent.java
hibernate-envers/src/matrix/java/org/hibernate/envers/test/integration/entityNames/singleAssociatedAudited/SingleDomainObjectToMultipleTablesTest.java
hibernate-envers/src/matrix/java/org/hibernate/envers/test/integration/inheritance/joined/notownedrelation/NotOwnedBidirectional.java
2012-01-20 20:47:12 +01:00
Lukasz Antoniak
81ee788466
Merge pull request #246 from lukasz-antoniak/HHH-6825
...
HHH-6825 - AuditException with @OneToOne-mappedBy and @PrimaryKeyJoinColumn
2012-01-18 11:41:05 -08:00
Lukasz Antoniak
10f48ef973
HHH-6825 - Renaming simple entity descriptor
2012-01-16 15:10:47 +01:00
Steve Ebersole
e75b8a77b1
HHH-6967 - HHH-6906 - Clean up javadoc warnings
2012-01-13 11:17:34 -06:00
Strong Liu
8f9d8b530e
HHH-6964 EnversIntegrator is always detected by default while initializing Serviceregistry using Native Hibernate API causing a MappingException even when Envers is not used
2012-01-13 04:09:01 +08:00
Strong Liu
e07aff45da
HHH-6964 EnversIntegrator is always detected by default while initializing Serviceregistry using Native Hibernate API causing a MappingException even when Envers is not used
2012-01-13 03:44:30 +08:00
Adam Warski
aa33b57242
Including the actual exception if an AuditStrategy can't be created
2012-01-12 20:12:43 +01:00
Lukasz Antoniak
fbfc133af8
HHH-6825 - Formatting and Javadoc change
2012-01-10 20:34:39 +01:00
Lukasz Antoniak
c703d134f2
HHH-6825 - ToOne property mappers refactoring
2012-01-10 20:08:43 +01:00