Commit Graph

585 Commits

Author SHA1 Message Date
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
Chris Cranford fe632bc09a HHH-10906 - Remove the necessity of passing EnversService to AuditStrategy APIs. 2016-06-29 13:24:59 -05:00
Vlad Mihalcea f59dfa2522 HHH-10889 - Fix unit tests failing on Oracle 2016-06-28 15:56:01 +03:00
Steve Ebersole b112e5af3f HHH-10864 - Allow ORM to be built with Java 9 2016-06-18 15:12:23 -05:00
Steve Ebersole 3040030bd8 HHH-10864 - Allow ORM to be built with Java 9 2016-06-17 19:15:08 -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
Vlad Mihalcea 231484662b HHH-10689 - Fix tests failing when switching to Oracle 2016-05-17 17:44:32 +03: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
Andrea Boriero d54b7ad50f HHH-10691 - Fix other PostgreSQL test failures after HEM integration 2016-05-13 15:26:55 +01: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
Naros 9b13e3bb82 HHH-10706 - Correct native queries that fail when using a case-sensitive database dialect. 2016-05-06 20:03:02 -05:00
Naros b775dd1847 HHH-6374 - Add test case for EnumMap support. 2016-05-06 19:09:10 -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
Andrea Boriero 9ae57a6f7a remove hibernate-entitymanager project 2016-05-06 13:13:29 -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
Vlad Mihalcea 0ed39c7746 Change hibernate.properties to take configurable environment settings 2016-03-16 09:30:29 +02: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
Felix Feisst 55f35cc239 HHH-9207 Added unit test. 2016-01-09 21:21:26 -05:00
Naros 6e31e61f1a HHH-6225 Add support to find entities by date in one single query. 2016-01-09 19:48:37 -05:00
Steve Ebersole b1d1a3c143 HHH-10307 - JTA no longer transitively provided (HHH-10178) causes problems for apps not using JTA 2016-01-08 11:12:58 -06:00
Jan Martiska 6bf2c78f7e HHH-10200 fix too long identifiers causing failures on Oracle databases 2015-12-16 13:16:45 -08: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 4793ca30a2 HHH-10178 - Move Geronimo JTA jar to provided configuration (non-transitive) 2015-11-17 10:21:58 -06:00
Steve Ebersole 5e87397902 HHH-9195 - Adding an entity at a given index in a list annotated with OrderColumn adds the entity at the end 2015-11-16 22:04:07 -06: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 8d3b2e723b HHH-9996 - Finish Derby database profile 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
Steve Ebersole 518033eabe HHH-10068 - Missing generated JPA static metamodel class for envers revision entity 2015-09-02 08:23:20 -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
Andrea Boriero 444c7f0eda HHH-9994 - Finish mariadb (mysql) database profile - Fix hibernate-envers tests hang on 2015-08-20 17:53:33 +01: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
Andrea Boriero 4da260b3be HHH-9990 - Enabled batched updates for versioned data by default 2015-08-05 11:27: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