Mark Struberg
11863ed932
OPENJPA-2772 update list of h2 resorved words
2019-02-02 13:48:22 +01:00
Mark Struberg
4b88b80dc0
remove obsolete sql tracing
2019-02-02 13:47:53 +01:00
Mark Struberg
af39516fc8
OPENJPA-2713 add java8 time support for h2
2019-02-02 13:04:15 +01:00
Mark Struberg
25cde67172
test cleanup
...
* remove unused methods
* fix formatting
* delete entries owt we will randomly blow up
2019-02-02 12:08:57 +01:00
Mark Struberg
17ef63bbe4
Those 2 tests only work when running on Derby.
...
They hardcoded slurp in some derby driver via simple-ldap.
Thus they only work if the derby profile is activated.
In any other case those tests blow up with a CNFE.
2019-02-02 12:06:57 +01:00
Mark Struberg
43aa42ccb5
OPENJPA-2771 fix h2 'unlimited' LIMIT case
...
With h2 one should omit the LIMIT section to get all results.
Our old LIMIT 0 did effectively prune the whole result list to zero entries.
2019-02-02 12:02:58 +01:00
Mark Struberg
0cd523b1f5
move back to h2-1.4.196 due to a Time bug in h2 197
2019-02-01 14:58:23 +01:00
Mark Struberg
ad4ed02728
OPENJPA-2713 fix h2
2019-01-30 22:33:08 +01:00
Mark Struberg
e82d1ec2fb
OPENJPA-2713 remove left over in PostgresDictionary
2019-01-29 22:22:15 +01:00
Mark Struberg
be62c5a123
OPENJPA-2713 add LocalDate support for Oracle DB
...
Oracle does still not support native LocalDate, etc in their JDBC driver.
So we have to treat it like the old datatypes.
2019-01-29 13:02:05 +01:00
Mark Struberg
e908a9c293
formatting only
2019-01-28 13:01:16 +01:00
Mark Struberg
fffc74f0a7
OPENJPA-2713 improve MariaDB Dictionary
...
Seems like MariaDB does still have quite a few problems in their JDBC driver.
I at least tried to iron out new functionality.
2019-01-28 13:00:05 +01:00
Mark Struberg
9f0631bbf4
switch back to old mariadb connectorj due to a bug
...
MariaDB connectorj-2.3.0 has a bug with ESCAPE handling.
This leads to many tests blow up with Exceptions.
The respective bug is https://jira.mariadb.org/browse/CONJ-664
2.3.1 should be safe again, but is not yet out.
Thus switching back to 2.2.0.
2019-01-26 21:55:30 +01:00
Mark Struberg
362474e5c9
OPENJPA-2713 add java8 time support for MySQL and MariaDB
2019-01-25 21:37:16 +01:00
Mark Struberg
5079209823
Merge branch 'OPENJPA-2713'
2019-01-25 17:13:55 +01:00
Mark Struberg
6d2544f390
OPENJPA-2713 properly handle WITH TIME ZONE if supported by db
...
This includes handling the new java.sql.Types.TIME_WITH_ZONE
and DATE_WITH_ZONE.
2019-01-25 16:42:15 +01:00
Romain Manni-Bucau
9e222652df
OPENJPA-2770 ensure equal(xxx, literal(boolean)) works in criteria builder
2019-01-23 10:21:53 +01:00
Mark Struberg
dbfb360e85
OPENJPA-2713 add OffsetTime support
...
Works, but something is a bit fishy still.
2019-01-22 22:07:32 +01:00
Mark Struberg
e57fd518b3
OPENJPA-2713 implement native java8 types
...
Since some DBs (e.g. PostgreSQL) do support LocalDate, etc
in their JDBC drivers, it's probably the best to support it
on a way deeper level.
2019-01-20 23:51:10 +01:00
Mark Struberg
61b48040db
improve doc formatting
2019-01-20 14:49:52 +01:00
Mark Struberg
89335fd48c
OPENJPA-2713 add support for java.time.LocalDate
...
plus some cleanup
2019-01-20 14:49:20 +01:00
Mark Struberg
03ebe4fdd0
force cleaning of the table to have re-runnable tests
2019-01-15 09:24:19 +01:00
Mark Struberg
40d19ebc6c
OPENJPA-2768 delete xmlstore test db between runs.
...
This did lead to errors when running the tests multiple times.
2019-01-14 09:02:44 +01:00
Mark Struberg
aae0a95f6c
OPENJPA-2761 properly handle javax.sql.Types.SQLXML
2019-01-10 13:29:49 +01:00
Mark Struberg
d35ea4bb06
OPENJPA-2753 use an oracle12_xe docker container
...
It seems Oracle11 had really a problem with XMLType handling internally.
It did seemingly random return a 0x00 at position 4000 of a xmltype.
This got fixed in Oracle12
2019-01-10 13:27:42 +01:00
Mark Struberg
c1d9fd3c62
OPENJPA-2768 fix XMLStore xml handling
...
the SAXParser handler didn't properly distinguish between 'extent' and 'element'
2019-01-10 13:25:38 +01:00
Mark Struberg
08acaa4f55
OPENJPA-2753 add dbcp settings to Oracle Docker profile
...
This will fix the bug with the massive parallel test
2019-01-07 23:00:36 +01:00
Mark Struberg
bb6bad0702
OPENJPA-2753 add a profile for Oracle as Docker image
...
-Ptest-oracle-docker
as new profile to start Oracle 11_XE
2019-01-06 23:43:41 +01:00
Mark Struberg
a53744a744
fix missing space in readme
2019-01-03 21:28:04 +01:00
Mark Struberg
d25ed12902
OPENJPA-2753 improve postgresql docker setup
2019-01-03 00:17:03 +01:00
Mark Struberg
f7c89885e3
add missing port to postgresql config
2019-01-03 00:14:57 +01:00
Mark Struberg
6afab6486a
OPENJPA-2754 re-enable dbcp2 auto detection
2019-01-03 00:13:59 +01:00
Mark Struberg
d3790f70c7
OPENJPA-2754 also move postgres config to dbcp2 maxTotal
...
maxActive doesn't exist anymore. It is now maxTotal.
2019-01-02 13:18:52 +01:00
Mark Struberg
fa96d6df02
OPENJPA-2754 implement a workaround for the bug in commons-pool2
...
By setting maxIdle to > 0 we can work around the bug and
even pass your test with the old versions.
2019-01-02 11:17:38 +01:00
Mark Struberg
fe2709aab7
adding netbeans config files to ignore rules
2019-01-02 10:34:45 +01:00
Mark Struberg
260042ba51
OPENJPA-2764 fix tests with random behaviour
...
The behaviour was random due to the undefined order in which
real databases return data.
2019-01-02 09:58:03 +01:00
Mark Struberg
9cdd90d041
improve our initial README
...
It now contains more information about how to start hacking.
2019-01-02 09:33:28 +01:00
Maxim Solodovnik
7dde390be9
call of svnversion is removed from build
2018-12-14 17:46:19 +07:00
Francesco Chicchiriccò
73f3957240
Disabling doclint to allow Javadoc building on Oracle JDK
2018-12-07 16:49:44 +01:00
Francesco Chicchiriccò
5a502cce24
Disabling doclint to allow Javadoc building on Oracle JDK
2018-12-07 16:33:26 +01:00
Maxim Solodovnik
6947da342f
Doc build with OpenJdk should be fixed
2018-12-06 16:51:53 +07:00
Maxim Solodovnik
1e76dd4159
OpenJdk documentation build is partially fixed
2018-12-03 23:39:28 +07:00
Maxim Solodovnik
6fe8f101df
Documentation build is partially fixed
2018-12-03 18:20:37 +07:00
Mark Struberg
9eb7e2b145
OPENJPA-2753 add a profile test-mariadb-docker
2018-11-16 13:12:37 +01:00
Maxim Solodovnik
d874cbf6d3
[OPENJPA-2754] maxActive -> maxTotal ( #24 )
...
* [OPENJPA-2754] maxActive -> maxTotal
* commons-pool2 and commons-dbcp2 versions are updated, setMaxActive is deprecated with warn being logged
* DBCPDriverDataSource and AutoDriverDataSource are removed
* BasicDataSource is being loaded in case jdbc.DriverDataSource is set to 'dbcp'
* Normal call is replaced with reflection
2018-11-16 13:48:40 +07:00
Mark Struberg
7f4997b68a
fix SCM and release-plugin sections for GIT
2018-11-10 21:50:43 +01:00
Mark Struberg
39bde81aa2
OPENJPA-2757 upgrade to xbean-asm7 for Java7 support
2018-11-10 21:33:02 +01:00
Mark Struberg
db6f6b6422
OPENJPA-2756 escape search strings for all Postgres versions
...
Can be disabled via config by explicitly setting the
DBDictionary to requiresSearchStringEscapeForLike=false
via persistence.xml for example.
2018-11-10 20:47:09 +01:00
Mark Struberg
60ccac0e22
OPENJPA-2753 postgres doesn't know BLOG
...
have to use BYTEA instead.
2018-11-10 16:45:24 +01:00
Mark Struberg
7bc09297f8
OPENJPA-2753 fix schema creation with PostgreSQL
...
the test methods run random.
It doesn't make sense to create the other schemas only for a single of those tests.
Possibly the order was deterministic in junit3 which is a long time gone now.
2018-11-10 10:38:25 +01:00