Commit Graph

718 Commits

Author SHA1 Message Date
Christian Beikov 0fc59729da Get rid of the MVCC connection option for H2 2022-01-25 15:35:48 +00:00
Christian Beikov 60148a78cf Get rid of column names that are problematic on H2 2.0.202+ 2022-01-25 15:35:48 +00:00
Yoann Rodière 36b001221b HHH-14921 Always use SqlStringGenerationContext for generation of SQL strings involving table/sequence names 2021-12-07 08:25:03 +01:00
Yoann Rodière 5b83edfd49 HHH-14921 Delay generation of SQL strings by identifier generators until schema export or session factory creation 2021-12-07 08:25:03 +01:00
Yoann Rodière 0bd228a640 HHH-14921 Remove a few unused SQL generation methods in identifier generators
They are getting in the way of changes related to the default schema
2021-12-07 08:25:03 +01:00
Chris Cranford e155fc551e HHH-14540 Don't share session-scoped interceptors with temp session 2021-11-16 15:27:51 +00:00
Steve Ebersole 48068e0311 HHH-14857 Deprecations in preparation for 6 2021-10-11 19:36:23 +01:00
Christian Beikov 0af8755949 Backport of changes from 6314395edf on
wip/6.0 (Fix connection leaks by properly closing service registries)
2021-09-13 17:32:18 +02:00
Sanne Grinovero 9267c5e6a6 HHH-14792 Remove support for bytecode enhancement via Javassist 2021-08-26 15:22:30 +01:00
Andrea Boriero 8b02aaf5a8 HHH-14608 Merge causes StackOverflow when JPA proxy compliance is enabled 2021-07-15 21:01:09 -07:00
Christian Beikov 107849c3c8 Fix jakarta sources transformation issues 2021-06-16 08:37:14 +02:00
Yoann Rodière 07eca3883d HHH-14635 Upgrade to log4j 2 2021-05-26 09:05:56 +02:00
Christian Beikov ff9e9eebc9 HHH-13946 Create Jakarta artifacts for hibernate-core, hibernate-envers, hibernate-jpamodelgen and hibernate-testing 2021-04-30 11:41:05 +02:00
Yoann Rodière 4264bc55ac HHH-14563 Remove the DOM4J dependency from hibernate-core 2021-04-19 15:39:35 +02:00
Yoann Rodière b076216e84 HHH-14563 Remove XmlMappingOptions
We don't need that anymore: XML mapping is either enabled or disabled,
there are no other options. So a boolean will do.
2021-04-19 15:39:35 +02:00
Yoann Rodière 8ab3a2f7e9 HHH-14529 Configuration and wiring to prefer JAXB over DOM4J for orm.xml handling 2021-04-15 14:01:28 +02:00
Steve Ebersole 725faa258f HHH-14509 : Git master -> main branch renaming 2021-03-19 10:59:03 -05:00
Christian Beikov 15caff9cbc Fix PostgreSQL cleanup wrt extensions, fix Oracle cleanup wrt sys objects, always drop id tables in tests, fix global temp table tests, add on commit delete rows for hana dialects 2021-02-10 09:30:48 +01:00
Christian Beikov 1983123d72 Use a shared connection provider for most tests to reduce test time significantly 2021-02-03 17:03:47 +01:00
Christian Beikov 08d9fe1a3b Add cleaners for clearing a schema the first time before running a test 2021-02-03 17:03:47 +01:00
Christian Beikov d767d46d05 Fix most tests to work on all DBs and fix a bunch of connection leaks 2021-02-03 17:03:47 +01:00
Sanne Grinovero 92bca8f4f1 HHH-14356 Have Hibernate Envers produce a user friendly bootstrap exception if xml_mapping_enabled=false 2020-12-14 16:31:15 +00:00
Christian Beikov c3eaa7cf30 HHH-13945 Fix issues on PostgreSQL 2020-11-23 14:44:51 +01:00
Luke Chen e3a9ee61f2 HHH-13945: add debug log during exception thrown 2020-11-23 13:52:19 +01:00
Luke Chen 2404ff56ab HHH-13945: catch PersistenceException during envers unproxy the field value, and fallback to using proxy entity 2020-11-23 13:52:19 +01:00
Luke Chen 2228bd238e HHH-13945: fallback to call map if exception thrown 2020-11-23 13:52:19 +01:00
Sanne Grinovero 503c48cbc7 HHH-14290 Remove capability of loading classes by name from HCANN 2020-10-27 07:13:02 +00:00
Sanne Grinovero 8f1873121e HHH-10715 Use the more efficient iterators 2020-10-25 21:33:26 +00:00
Sanne Grinovero 6da11f4c2a HHH-14137 Some more string check performnance optimisations 2020-08-06 18:22:25 +02:00
Ihar Sadounikau 0ee25a416d HHH-14137 Empty String check performance improvements 2020-08-06 17:14:33 +02:00
Rafi Shamim 4655bdbe12 HHH-13724 Add CockroachDB dialects and configs for testing 2020-07-27 12:49:40 +01:00
Sanne Grinovero 629f847b7c HHH-14096 Transform the XMLHelper copy for Envers into a private internal utility 2020-07-07 09:37:47 +01:00
Sanne Grinovero 694b5ecaad HHH-14096 Adapt the Hibernate Envers module to use its private copy of XMLHelper 2020-07-07 09:37:47 +01:00
Andrea Boriero b897a36f2f Fix issue with generated pom missing project description 2020-04-06 18:21:11 +01:00
Chris Cranford e9f2c02140 HHH-13886 Revert behavior changes introduced by HHH-10844 2020-04-02 11:50:22 -04:00
Yoann Rodière 2f32169249 HHH-13689 Replace uses of the deprecated osgi plugin with the biz.aQute.bnd plugin
https://docs.gradle.org/5.0-milestone-1/release-notes.html#deprecated-osgi-plugin
2020-04-01 10:54:56 -05:00
Chris Cranford 38f0131160 HHH-10844 Resolve columnDefinition to appropriate sql-type for audit mappings 2020-01-27 13:18:16 +00:00
Chris Cranford c02a703b17 HHH-6615 Minor format changes 2020-01-27 12:53:27 +00:00
Chris Cranford f4abc09854 HHH-6615 Throw AuditException when generated revision number is negative. 2020-01-27 12:53:27 +00:00
Chris Cranford 8c52eb2eae HHH-13770 Fix modified columns being populated with null values 2020-01-27 12:33:59 +00:00
Chris Cranford b3ea1d67c4 HHH-13760 Code formatting changes & suggested logic simplification 2020-01-27 12:12:23 +00:00
Chris Cranford d1b32d2b65 HHH-13760 Code formatting changes & suggested logic simplification 2020-01-27 12:12:23 +00:00
Chris Cranford 92bd6f89dd HHH-13760 Fix ClassCastException when Envers inserts audit rows that use lazy many-to-one mappings 2020-01-27 12:12:23 +00:00
Davide D'Alto c4dc9b0d25 HHH-13704 Make javassist a compile time dependency again
This commit revert some of the changes so that we can release it in a micro
  without breaking application using Javassist.

  In the next minor it should be reverted.
2019-12-13 11:29:40 +00:00
Davide D'Alto 921b1fe67f HHH-13704 No need to exclude javassist in the envers module 2019-12-12 13:50:01 +00:00
Chris Cranford 72b81eebfe HHH-12965 Avoid creating foreign keys between audit and main tables
* Added test case
2019-10-28 14:21:56 +00: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
Yoann Rodière 250f569339 HHH-13666 Clarify that existing BeforeCompletion/AfterCompletion tests are about JTA only 2019-10-17 15:54:16 +02:00
Chris Cranford d95c16e9ab HHH-13655 Fix NullPointerException for audited MapKeyEnumerated collections with basic value types 2019-10-04 19:28:20 -04: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