Commit Graph

5119 Commits

Author SHA1 Message Date
Mark Struberg 6a47c4c033 OPENJPA-1303 ColumnDefIdentifierRule did not use invalidColumnWordSet 2021-03-31 00:29:51 +02:00
Mark Struberg 80a16896f1 disable MSSQL from LOB stream tests
From the MS SQL Server documentation, it looks like JDBC4 drivers changed the behaviour.
"The next call to a getter method implicitly closes the stream".
Thus storing the InputStream in an entity will always result in a closed stream.
Since JDBC4 all drivers should behave that way actually.
And this is a sane way to prevent file handle leaks.
2021-03-30 21:44:43 +02:00
Mark Struberg d48f439bc8 OPENJPA-2182 fix invalidColumnWordSet handling
invalidColumnWordSet should get populated with the list of reserved words
if not explicitly configured otherwise.
2021-03-30 20:52:31 +02:00
Mark Struberg 1a8bcfb6b1 OPENJPA-2849 fix UnaryOp to use DBDictionary
UnaryOps should use the DBDictionary to resolve the requested data whenever possible.
Previously we always have been requesting JDBC native types when doing max(), min(), etc.
But this returns values of types which we potentially cannot handle.
2021-03-30 14:38:14 +02:00
Mark Struberg 8283ea0fb2 OPENJPA-2850 use VARBINARY(MAX) instead BLOB column type 2021-03-30 09:19:57 +02:00
Mark Struberg 9c9138603d OPENJPA-2814 fix mem leak in ForeignKey
detected by Gregory Jevardat, thanks!
2021-03-29 18:26:35 +02:00
Mark Struberg c7c13d3e8b OPENJPA-2848 duplicate DROP SEQUENCE stmt
txs to Christian Tu for the patch!
2021-03-28 19:58:28 +02:00
Mark Struberg 72df0228ca OPENJPA-2849 coerc native java.sql types to java.time
Many JDBC driver support old java.sql types for select max, min, etc.
Those need to get converted to java.time.* on demand.
2021-03-28 19:36:32 +02:00
Mark Struberg aeb333fb3a add an explicit lifecycle id
This now allows to invoke the antrun plugin via
$> mvn antrun:run@enhance
2021-01-14 13:55:50 +01:00
Mark Struberg 00bd91cc2c OPENJPA-2788 fix anynomous Criteria Parameters 2020-12-14 14:13:32 +01:00
Mark Struberg b29976342c OPENJPA-2843 fix signature of runUnderUOW method 2020-12-02 14:27:01 +01:00
Mark Struberg eef64ccd69 OPENJPA-2843 remove ibm specific dependencies
We now hav a single interface which I've implemented clean-room from the bytecode.
This class will NOT get packaged into the jar but will be excluded.
2020-12-02 12:12:13 +01:00
Mark Struberg 939f754e37 update various copyrights
we are shy of 2021, so use that already.
2020-12-01 11:45:43 +01:00
Mark Struberg 61b30777d4 OPENJPA-2842 log4j vs log4j2 logging fixed
* introduce new 'log4j2' LogFactory
* switch back old 'log4j' LogFactory to log4j-1.x
2020-12-01 11:35:29 +01:00
Romain Manni-Bucau 0d7816290e [OPENJPA-2840] light abstraction for asm 2020-11-20 09:43:42 +01:00
Romain Manni-Bucau 440cdb3771 [OPENJPA-2838] jul log factory 2020-11-16 14:11:14 +01:00
Romain Manni-Bucau aabbc255e7
Merge pull request #76 from eolivelli/OPENJPA-2836-herddb-dict-enhance
OPENJPA-2836 HerdDBDictionary: enable ForeignKeys and Unique Indexes
2020-10-29 22:45:14 +01:00
Enrico Olivelli 117f75ce0b fix checkstyle 2020-10-28 11:09:58 +01:00
Enrico Olivelli a998255a1e add test cases 2020-10-28 09:45:49 +01:00
Enrico Olivelli bb35ca7129 add test case and set supportsCascadeUpdateAction=false 2020-10-27 17:10:33 +01:00
Romain Manni-Bucau 6f2692228f [OPENJPA-2834] invalid properties cache when a propery changes 2020-10-27 15:43:24 +01:00
Enrico Olivelli 02e91440e5 OPENJPA-2836 HerdDBDictionary: enable ForeignKeys and Unique Indexes 2020-10-27 14:51:18 +01:00
Mark Struberg 548e00f919 OPENJPA-2835 update to xbean-asm9 for Java16 support 2020-10-20 13:47:33 +02:00
Mark Struberg 4a7d6d72f5 re-activate reporting section
this is needed to render the actual mojo pages
2020-10-20 13:47:32 +02:00
Romain Manni-Bucau 629ebaefce useless import 2020-10-01 10:52:41 +02:00
Romain Manni-Bucau 574e226ba0 [OPENJPA-2834] also cache properties in the em - even if less useful, but no need to recompute it again and again 2020-10-01 09:49:00 +02:00
Romain Manni-Bucau 0b68db6ba1 [OPENJPA-2834] enable to bypass synchronizeMappings when calling getProperties 2020-10-01 09:45:50 +02:00
Romain Manni-Bucau 9fa619f94e [OPENJPA-2834] ensure getProperties does not fail with xmlstore 2020-09-30 15:34:44 +02:00
Romain Manni-Bucau 4a546f759c [OPENJPA-2834] ensure setProperty invalid properties cache in em 2020-09-30 13:43:55 +02:00
Romain Manni-Bucau 758b866706
Merge pull request #75 from eolivelli/fix/OPENJPA-2832
OPENJPA-2832 DROP COLUMN does not use delimiters and always add double quotes
2020-09-30 12:25:03 +02:00
Romain Manni-Bucau 049c2ef163
Merge pull request #71 from eolivelli/fix/OPENJPA-2820-delim
OPENJPA-2820 Track when a DBIdentifier is already delimited in order to save memory allocations and cpu
2020-09-30 12:24:21 +02:00
Romain Manni-Bucau bd015d02e9 [OPENJPA-2834] cache EMF#properties 2020-09-30 12:14:35 +02:00
Romain Manni-Bucau 910a812a15 [OPENJPA-2833] asm 9 2020-09-29 16:57:20 +02:00
Enrico Olivelli 61f11a7088 add test 2020-09-28 18:12:03 +02:00
Enrico Olivelli b24a6a239c OPENJPA-2832 DROP COLUMN does not use delimiters and always add double quotes 2020-09-28 17:50:54 +02:00
Romain Manni-Bucau 4c624c0acc
Merge pull request #74 from eolivelli/fix/herddb-delimitall-real
OPENJPA-2816 Add HerdDB DBDictionary - more fixes
2020-09-26 19:10:48 +02:00
Simone f93ea15745
[OPENJPA-2828] Fix method equals() (#72) 2020-09-22 15:11:24 +02:00
Enrico Olivelli e95dbc8a0b add tests 2020-09-21 13:28:56 +02:00
Enrico Olivelli 963ed59ad4 remove useless conversion and extension point 2020-09-18 16:35:14 +02:00
Enrico Olivelli dd9bce0cc9 OPENJPA-2816 Add HerdDB DBDictionary - more fixes 2020-09-18 16:26:51 +02:00
Romain Manni-Bucau 33fc72ac85 [OPENJPA-2831] import [collections4] used classes and drop the dependency 2020-09-16 12:17:13 +02:00
PoojaChandak 325af83965
Update README.adoc (#73)
minor grammatical/typo changes
2020-09-16 10:32:40 +02:00
Romain Manni-Bucau 1862e2bad5 dropping java < 8 asm test since we require java >= 8 2020-09-16 10:32:04 +02:00
Romain Manni-Bucau a38684b323 [OPENJPA-2830] ensure we don't drop a SQL statement when running action executeScript 2020-09-15 17:57:24 +02:00
Romain Manni-Bucau 8dbdc14321 [OPENJPA-2829] ensure empty lines are ignored for executeScript action 2020-09-15 16:57:43 +02:00
Mark Struberg 06ee81dc0b update maven-assembly plugin to fix reactor behaviour for site 2020-09-06 13:38:13 +02:00
Mark Struberg 3dfaba893a add all logs to ignore 2020-09-06 13:37:58 +02:00
Mark Struberg 8f3e1bc21a make derby Driver optional
Skip this test if the class is not on the classpath.
This basically happens with every profile other than test-derby
2020-09-05 19:28:28 +02:00
Mark Struberg 4dfabc8b6e remove bookstore from our official samples list for now.
The whole ant part breaks our CI builds as it requires
to run a full install of openjpa before building the site
2020-09-05 16:25:29 +02:00
Mark Struberg 4dd64cc6b3 update build.properties to the last released openjpa version 2020-09-05 15:24:55 +02:00