Commit Graph

492 Commits

Author SHA1 Message Date
Gail Badner d3df0d18bc HHH-11364 : Fix test case to work on pre-5.2 versions 2018-01-09 22:05:44 -08:00
Chris Cranford e0d4e1f54b HHH-11364 - Checkstyle fixups.
(cherry picked from commit f01055985e)
2018-01-09 22:05:44 -08:00
CK Guven 9013768a18 HHH-11364 add null check for properties in middle embeddable components
(cherry picked from commit 883799082c)
2018-01-09 22:05:44 -08:00
Chris Cranford 27982d0c12 HHH-11215 - Fix NullPointerException when collection of embeddables reference an unaudited entity.
(cherry picked from commit b1a9676146)
2017-06-20 17:14:05 -07:00
Chris Cranford 6a45c1ec17 HHH-11215 - Added test case.
(cherry picked from commit 1e030b2dc4)

HHH-11215 : Fix test to work on pre-5.2 branches
2017-06-20 17:14:04 -07:00
Chris Cranford 2eaa5e2492 HHH-11214 - Fix validity audit strategy auditing nested collections with null property values.
(cherry picked from commit af78f17eb8)
2017-06-20 16:12:33 -07:00
Gail Badner 422f8c0de4 HHH-11214 : Fix test to work on pre-5.2 branches 2017-06-20 16:10:55 -07:00
Chris Cranford 9b45536dc1 HHH-11214 - Add test case.
(cherry picked from commit c3c08728bc)
2017-06-20 16:05:51 -07:00
Chris Cranford 0510ea8954 HHH-11133 - Add discriminator-value attribute support for joined-subclass hbm mapping elements.
(cherry picked from commit 2d03ba9747)
2017-06-09 15:03:20 -07:00
Andrea Boriero 2857189765 HHH-11536 - Fix unit tests failing on Oracle
(cherry picked from commit e54ce7b266)

HHH-11536 - Fix unit tests failing on Oracle

(cherry picked from commit dd895c78b6)
2017-06-08 19:37:33 -07:00
Gail Badner b66014b5ac HHH-11416 : Fix test to run on pre-5.2 branches 2017-05-10 16:25:42 -07:00
Chris Cranford e3c808671e HHH-11416 - Test for unrelated property joins for JOINED-based Inheritance entity mappings.
(cherry picked from commit 2e2b457d18)
2017-05-10 16:22:31 -07:00
Gail Badner 2523f0abbb HHH-11383 : Fix tests to work on pre-5.2 2017-05-10 14:22:34 -07:00
Chris Cranford b19e831c93 HHH-11383 - Added additional property projection test case.
(cherry picked from commit 89583fd008)
2017-05-10 14:17:37 -07:00
Chris Cranford 4729c2b13b HHH-11383 - Added test case.
(cherry picked from commit 327d0a93cd)
2017-05-10 14:17:12 -07:00
Gail Badner c1eb43882e HHH-10889 - Fix unit tests failing on Oracle 2017-02-27 14:16:37 -08:00
Gail Badner 353a548be3 HHH-10689 : hibernate-envers AssociationToOne*QueryTest fail on Oracle due to keyword usage 2017-02-23 15:53:21 -08:00
Chris Cranford 815a0a81c2 HHH-9199 - Fixed auditing of embeddable collections using ValidityAuditStrategy.
(cherry picked from commit a17dd125e7)

Conflicts:
	hibernate-envers/src/main/java/org/hibernate/envers/strategy/ValidityAuditStrategy.java
2016-08-17 15:56:08 -07:00
Chris Cranford d53c6afbd5 HHH-9199 - Removed FailureExpected.
(cherry picked from commit 95c01d9001)
2016-08-17 15:35:20 -07:00
Chris Cranford 846a554e38 HHH-9199 - Checkstyle header fix.
(cherry picked from commit 179076e0e6)
2016-08-17 14:29:25 -07:00
Felix Feisst 252d8c06c6 Added unit test for issue HHH-9199
(cherry picked from commit bc9e82bd70)
2016-08-17 14:29:13 -07:00
Felix Feisst f4b410a65e Added unit test for issue HHH-9199
(cherry picked from commit 85eca1aa01)
2016-08-17 14:29:02 -07:00
Gail Badner be57dad4c2 HHH-11041 : Correct references to Hibernate version in javadoc annotations in backported code 2016-08-11 22:27:41 -07:00
Felix Feisst 8206ab3a50 HHH-11025 -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.
(cherry picked from commit a59ebb7)
2016-08-11 17:52:56 -07:00
Chris Cranford fbe730abf1 HHH-8305 - Fix ToOne join tables with optional=true and OneToOne inverse mappings.
(cherry picked from commit 86fad51)
2016-06-15 15:35:46 -05:00
Chris Cranford b57bbdabf6 HHH-10811 - Fix character encoding issues with Enver's XML mappings when JVM encoding isn't UTF-8.
(cherry picked from commit 77a4a95)
2016-06-14 11:37:36 -05:00
Chris Cranford 6117886049 HHH-7510 - Fix LazyInitializationException for ManyToMany when deleting and global_with_modified_flag is enabled.
(cherry picked from commit 69b8879)
2016-06-13 22:24:50 -05:00
Chris Cranford 8f1dbf51f0 HHH-10841 - Fix columns with generated annotation not being tracked by Envers. 2016-06-13 19:24:31 -05:00
Chris Cranford 82fe5926bb HHH-10734 - Fix envers creating unnecessary audit rows when array field types used. 2016-05-12 15:57:11 -05:00
Naros 7b8d785b7c HHH-10706 - Correct native queries that fail when using a case-sensitive database dialect. 2016-05-06 20:16:58 -05: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