Commit Graph

440 Commits

Author SHA1 Message Date
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
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 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
Steve Ebersole c777938ce9 HHH-9675 - org.hibernate.envers.boot.internal.EnversIntegrator throws NPE in WF9 2015-05-26 16:08:27 -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
Hardy Ferentschik a2c3c74251 HHH-9665 Changing the EntityManagerFactoryImpl#unwrap method
- Introducing HibernateEntityManagerFactory to host public EntityManagerFactory extension points
- Letting EntityManagerFactoryImpl#getEntityTypeByName return EntityType instead of EntityTypeImpl
- Updating tests to use unwrap to HibernateEntityManagerFactory instead of a cast to EntityManagerFactoryImpl
2015-05-14 13:33:15 -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
Steve Ebersole c021d12ee2 HHH-9550 - Allow a dialect to specify the level of catalog/schema support 2015-04-07 16:36:13 -05: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 a92ddea9ca HHH-9492 - Migrate to new bootstrap API (MetadataSources, etc) - Gunnar's feedback 2015-03-26 00:25:52 -05:00