Commit Graph

469 Commits

Author SHA1 Message Date
Chris Cranford f062c8687d HHH-11215 - Fix NullPointerException when collection of embeddables reference an unaudited entity.
(cherry picked from commit b1a9676146)
2017-08-18 00:11:18 -07:00
Chris Cranford bc706b7aa4 HHH-11215 - Added test case.
(cherry picked from commit 1e030b2dc4)

HHH-11215 : Fix test to work on pre-5.2 branches

(cherry picked from commit 6a45c1ec17)
2017-08-18 00:10:59 -07:00
Chris Cranford 9a3676eda3 HHH-11214 - Fix validity audit strategy auditing nested collections with null property values.
(cherry picked from commit af78f17eb8)
2017-08-18 00:09:02 -07:00
Gail Badner bb7d18d7c0 HHH-11214 : Fix test to work on pre-5.2 branches
(cherry picked from commit 422f8c0de4)
2017-08-18 00:08:50 -07:00
Chris Cranford ec2a917240 HHH-11214 - Add test case.
(cherry picked from commit c3c08728bc)
2017-08-18 00:08:32 -07:00
Chris Cranford d1176ce72e 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

(cherry picked from commit 815a0a81c2)
2017-08-17 23:53:07 -07:00
Chris Cranford e033f028c2 HHH-9199 - Removed FailureExpected.
(cherry picked from commit 95c01d9001)
2017-08-17 23:52:29 -07:00
Chris Cranford 2edd575a31 HHH-9199 - Checkstyle header fix.
(cherry picked from commit 179076e0e6)
2017-08-17 23:51:48 -07:00
Felix Feisst f616243389 Added unit test for issue HHH-9199
(cherry picked from commit bc9e82bd70)
2017-08-17 23:51:33 -07:00
Felix Feisst 8a204a32b6 Added unit test for issue HHH-9199
(cherry picked from commit 85eca1aa01)
2017-08-17 23:51:19 -07:00
Andrea Boriero a97a65be38 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)
(cherry picked from commit 2857189765)
2017-06-08 19:57:59 -07:00
Chris Cranford 1e860c4195 HHH-8305 - Fix ToOne join tables with optional=true and OneToOne inverse mappings.
(cherry picked from commit 86fad51)
2016-06-15 17:21:31 -05:00
Chris Cranford be84fd83c4 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:38:06 -05:00
Chris Cranford f848e8e595 HHH-10734 - Fix envers creating unnecessary audit rows when array field types used. 2016-05-12 16:05:29 -05:00
Naros b2e7bee556 HHH-10706 - Correct native queries that fail when using a case-sensitive database dialect. 2016-05-06 20:18:09 -05:00
Steve Ebersole e79d5d4b39 HHH-10307 - JTA no longer transitively provided (HHH-10178) causes problems for apps not using JTA
(cherry picked from commit b1d1a3c143)
2016-01-08 11:13:40 -06:00
Jan Martiska 668b07222c HHH-10200 fix too long identifiers causing failures on Oracle databases 2015-12-16 13:10:47 -08:00
Sanne Grinovero eb16d3f838 HHH-10335 Upgrade to Hibernate Commons Annotations 5.0.1.Final 2015-11-25 23:01:05 +00:00
Steve Ebersole 682c0642e2 HHH-10178 - Move Geronimo JTA jar to provided configuration (non-transitive)
(cherry picked from commit 4793ca30a2)
2015-11-17 10:24:08 -06:00
Steve Ebersole fe6e2842fd HHH-9195 - Adding an entity at a given index in a list annotated with OrderColumn adds the entity at the end
(cherry picked from commit 5e87397902)
2015-11-16 22:06:44 -06:00
Steve Ebersole b2c9724905 HHH-9685 - Envers should do nothing when JTA transaction is already marked as rollback-only
(cherry picked from commit a6f3319eaf)
2015-09-30 00:35:45 -05:00
Andrea Boriero f7d9640848 HHH-10141 - Fix issue with ClassicQueryTranslatorFactory and revision parameter type detection 2015-09-28 21:30:22 +01:00
Andrea Boriero ab8e679f41 HHH-9996 - Finish Derby database profile 2015-09-28 21:29:49 +01:00
Andrea Boriero ff7644f722 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:42:08 +01:00
Steve Ebersole 38b3ed1ae9 HHH-10056 - Separate settings for notions of (1) disabling EnversService and (2) auto-registering Envers listeners
(cherry picked from commit 73c46e298c)
2015-09-02 09:08:06 -05:00
Steve Ebersole 5eb5ab4920 HHH-10056 - Separate settings for notions of (1) disabling EnversService and (2) auto-registering Envers listeners
(cherry picked from commit 29de3c87ab)
2015-09-02 08:59:59 -05:00
Steve Ebersole 336b548c1c HHH-10068 - Missing generated JPA static metamodel class for envers revision entity
(cherry picked from commit 518033eabe)
2015-09-02 08:23:57 -05:00
Gunnar Morling 9d071183a4 HHH-10073 Not propagating XML node names configured in mappings
(cherry picked from commit 1376b12ca9)
2015-09-01 11:37:43 -05:00
Kamil Szymanski c66dba9799 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 16:04:25 -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 650267077d HHH-9717 - Build script improvements - applied new standalone XJC and AnimalSniffer plugins 2015-04-10 11:58:22 -05: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
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
Felix Feisst a05460a23f Added regression test for HHH-8769 2015-03-22 00:49:40 -04:00