Christian Beikov
4931c7e69f
Merge remote-tracking branch 'upstream/master' into wip/6.0
2021-02-10 12:00:37 +01:00
Christian Beikov
de1524df68
Merge remote-tracking branch 'upstream/master' into wip/6.0
2021-02-10 11:28:58 +01: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
Andrea Boriero
6d124a7c6d
Merge remote-tracking branch 'upstream/master' into wip/6.0
2021-01-14 11:34:06 +01:00
Christian Beikov
4de1870785
HHH-14318 Introduce column mapping abstract to support formulas easily
2020-12-17 17:44:25 +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
Andrea Boriero
bb4c4d0767
Merge remote-tracking branch 'upstream/master' into wip/6.0
2020-11-24 12:33:51 +01: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
Andrea Boriero
4d8c89920a
Merge remote-tracking branch 'upstream/master' into wip/6.0
2020-10-27 14:24:37 +00:00
Sanne Grinovero
503c48cbc7
HHH-14290 Remove capability of loading classes by name from HCANN
2020-10-27 07:13:02 +00:00
Andrea Boriero
9cf4edfbee
Merge remote-tracking branch 'upstream/master' into wip/6.0
2020-10-26 08:14:01 +00:00
Sanne Grinovero
8f1873121e
HHH-10715 Use the more efficient iterators
2020-10-25 21:33:26 +00:00
Andrea Boriero
283c3fefb5
Merge remote-tracking branch 'upstream/master' into wip/6.0
2020-08-07 11:23:44 +01: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
Andrea Boriero
798f327f68
Revert "fix issue with not compiling tests"
...
This reverts commit fc914ea647
.
2020-07-30 18:32:38 +01:00
Andrea Boriero
fc914ea647
fix issue with not compiling tests
2020-07-30 18:08:35 +01:00
Nathan Xu
61cd51a4c8
get rid of javassist
2020-07-30 10:15:26 -05:00
Rafi Shamim
4655bdbe12
HHH-13724 Add CockroachDB dialects and configs for testing
2020-07-27 12:49:40 +01:00
Andrea Boriero
9ba18b8c5d
Merge remote-tracking branch 'upstream/master' into wip/6.0_merge_46
2020-07-07 15:43:17 +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
9297522a2c
Fix envers compilation error
2020-04-29 08:05:09 +01:00
Steve Ebersole
96f4a350e0
* HBM mappings
...
* dynamic models
* initial non-aggregated cid support
2020-04-27 15:21:09 -05:00
Andrea Boriero
5c86c4a805
Merge remote-tracking branch 'upstream/master' into wip/6.0_merge_29
2020-04-09 07:37:11 +01:00
Chris Cranford
e9f2c02140
HHH-13886 Revert behavior changes introduced by HHH-10844
2020-04-02 11:50:22 -04:00
The Geeky Asian
e808041477
HHH-13856 - Long-awaited TODOs done as an improvement
...
1. TODO: Remove duplicate method from ConstraintConstaint.java currently has two duplicate methods. 1. getColumnIterator()2. columnIterator()
Both the methods return the same value i.e. column.iterator().
One of them needs to be removed in order to reduce and clean the duplication.
2. TODO: Change method name for getXmlFiles in BaseCoreFunctionalTestCaseCurrently, in BaseCoreFunctionalTestCase a method named getXmlFiles()has a TODO placed that suggests the method name to be changed to getOrmXmlFiles().
Since the method has a protected scope, there is a possibility it is being used by other clients. Hence, changing the method name in minor versions might break the code for clients.
2020-02-20 10:54:50 -06:00
Andrea Boriero
eb43734658
Fix compilation errors after merge
2020-02-05 12:16:41 +00:00
Andrea Boriero
f77fb75639
Merge remote-tracking branch 'upstream/master' into wip/6.0_merge_23
2020-02-05 11:37:36 +00:00
gavinking
4f5b37c9c4
Use SequenceSupport everywhere instead of deprecated methods of Dialect
2020-01-30 14:01:34 -06:00
gavinking
992b390fce
Get type-specific column length/precision/scale defaulting working again
...
And fix resulting breakage to envers
2020-01-30 14:01:34 -06: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
Andrea Boriero
4b0da2444b
Merge remote-tracking branch 'upstream5/master' into wip/6.0_merged_11
2019-11-08 14:24:48 +00:00
Steve Ebersole
92391ec3e6
change expected type of entity identifier values from Serializable to Object - fixed all related compile problems in all modules
2019-11-07 13:42:57 -06:00
Steve Ebersole
5b3c6c4884
continued work on replacing LoadPlan with SQL AST approach - cleanup;
...
change expected type of entity identifier values from Serializable to Object
2019-11-07 13:42:57 -06: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
Andrea Boriero
8b500acc1d
Merge remote-tracking branch 'upstream5/master' into wip/6.0_merged_9
2019-10-17 16:02:43 +01:00