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
Mark Struberg
8d41f3da9c
OPENJPA-2753 fix testBatchLimit test for PostgreSQL
2018-11-09 09:04:59 +01:00
Mark Struberg
c42aff8fff
OPENJPA-2753 add a profile test-postgresql-docker
2018-11-03 22:54:12 +01:00
Mark Struberg
eaecedf328
fix more broken tests due to lazy Id generation
2018-11-03 14:25:23 +01:00
Mark Struberg
ba7b8493ca
fix weird equals error.
...
most probably happens on subclassing when access to _id
doesn't getnerate the sequence. Happened randomly though.
So not 100% sure to have fixed it that way :(
2018-11-03 12:19:36 +01:00
Mark Struberg
34c99b342a
OPENJPA-2554 fix TestSchemaGenerationProperties on MySQL
...
MySQL on unix has case sensitive table names...
2018-11-02 22:23:28 +01:00
Mark Struberg
f7a4445e68
OPENJPA-2753 downgade to 5.1.x MySQL jdbc driver
...
mysql-jdbc-8.0.13 has a nasty bug in handling DATE columns.
from 1978-04-26-00:00:00+1 the JDBC driver adopts to the server TZ (GMT)
-> 1978-04-25-23:00:00GMT
then cuts off the hour
-> 1978-04-25 and stores this in the DB
When reading back we get:
1978-04-25 expanded to 1978-04-25-00:00:00GMT
-> adopted to locale timezone: 1978-04-25-01:00:00CET
which is then on the wrong day :(
2018-11-02 13:42:25 +01:00
Mark Struberg
4bb1caa36d
OPENJPA-2567 @Lob on String results in TEXT not BLOB
2018-11-02 10:38:53 +01:00
Mark Struberg
0530b5b72b
OPENJPA-2755 OPENJPA-2555 support fractions of a second
...
For now just in MySQL. Should also get added to PostgreSQL.
Txs also to Ancoron Luciferis for a patch which also
gave some important input!
2018-11-01 21:06:41 +01:00
Mark Struberg
3b4c2e6f42
OPENJPA-2755 OPENJPA-2555 use scale to set Date fractions
2018-11-01 14:20:49 +01:00
Mark Struberg
9461ffdfcd
OPENJPA-2775 OPENJPA-2555 fraction of seconds in MySQL
...
This is a first fix for supporting fractions of a second in MySQL.
2018-10-31 20:51:31 +01:00
Mark Struberg
165279436c
use local connection without SSL for MySQL in Docker
2018-10-30 13:45:57 +01:00
Mark Struberg
7ece63de3c
replace tabs with spaces - no functional change!
...
Space indention is what we use in most of OpenJPA.
2018-10-28 13:07:42 +01:00
Mark Struberg
5c38bfaa49
OPENJPA-2754 update to latest dbcp2 SNAPSHOT
...
This also requires us to update to apache commons-pool-2.6.1-SNAPSHOT
and commons-dbcp2-2.6.0-SNAPSHOT.
Both are NOT yet released, but important to solve a deadlock which kills
our unit tests and has already hit me in production as well.
2018-10-28 13:05:08 +01:00
Mark Struberg
9d4b2ece3b
OPENJPA-2753 deduplicate database configurations
...
various DB configs got moved to the parent pom to have it
available in all modules without the need to copy them through.
2018-10-23 10:33:25 +02:00
Mark Struberg
3bd73ab7d8
OPENJPA-2753 introduce Docker for mysql
2018-10-22 21:06:43 +02:00
Mark Struberg
73582cc780
move tests to junit4 style
2018-10-22 13:25:07 +02:00
Maxim Solodovnik
b3edd42ee8
Merge pull request #23 from apache/OPENJPA-2751-library-update
...
[OPENJPA-2752] libraries are updated to most recent versions
2018-10-22 10:20:53 +07:00
Maxim Solodovnik
9a5096308c
[OPENJPA-2752] libraries are updated to most recent versions
2018-10-18 12:38:31 +07:00
Mark Struberg
1413c369be
move README to asciidoc
2018-10-15 22:32:54 +02:00
Mark Struberg
3fa4380b47
move openjpa-persistence tests to junit4
2018-10-15 21:51:51 +02:00
Mark Struberg
08bb3a5a0e
move openjpa-lib tests to junit4 style
...
No more junit3 extends TestCase stuff ^^
2018-10-14 21:12:52 +02:00
Mark Struberg
12ec80cd8c
move openjpa-kernel to junit4 style
2018-10-13 23:11:45 +02:00
Mark Struberg
02eaa9363a
add .idea to gitignore
2018-10-13 21:15:31 +02:00
Maxim Solodovnik
e25438a174
[OPENJPA-2751] imports, @Overrides and @Deprecated are organized, redundant type arguments and unnecessary casts are removed
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1842686 13f79535-47bb-0310-9956-ffa450edef68
2018-10-03 08:11:59 +00:00
Maxim Solodovnik
f2fc98031e
[OPENJPA-2751] trailing white-spaces were removed
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1842614 13f79535-47bb-0310-9956-ffa450edef68
2018-10-02 12:32:32 +00:00
Maxim Solodovnik
4709f38ba2
[OPENJPA-2748] commons-collection is updated to most recent version
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1841941 13f79535-47bb-0310-9956-ffa450edef68
2018-09-25 15:16:54 +00:00
Francesco Chicchiriccò
f399f912cf
[OPENJPA-2750] Commons dbcp is updated to latest version - thx @solomax - This closes #22
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1841800 13f79535-47bb-0310-9956-ffa450edef68
2018-09-24 06:41:20 +00:00
Francesco Chicchiriccò
9a98d6a2bf
[OPENJPA-2567] various MySql and MariaDB text types support is added - thanks @solomax - This closes #18
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1839940 13f79535-47bb-0310-9956-ffa450edef68
2018-09-03 11:41:07 +00:00
Francesco Chicchiriccò
6c4c77aa78
[OPENJPA-2744] commons-pool is updated to the most recent version - thanks @solomax - This closes #19
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1839885 13f79535-47bb-0310-9956-ffa450edef68
2018-09-02 13:59:07 +00:00
Francesco Chicchiriccò
8107dfbfa0
[OPENJPA-1993] Backport the fix to trunk
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1838154 13f79535-47bb-0310-9956-ffa450edef68
2018-08-16 06:51:36 +00:00
Romain Manni-Bucau
18b101228f
OPENJPA-2746 patch from jbonofre, OpenJPA Karaf feature is not complete, missing xbean asm 6 and provider capabilities
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1838151 13f79535-47bb-0310-9956-ffa450edef68
2018-08-16 06:35:24 +00:00
Will Dazey
ae4b742527
OPENJPA-2646: Performance Regression Fix
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1838027 13f79535-47bb-0310-9956-ffa450edef68
2018-08-14 15:09:27 +00:00
Will Dazey
c79c09ac39
OPENJPA-2745: Clean up try-catch implementation for DB2Dictionary
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1837662 13f79535-47bb-0310-9956-ffa450edef68
2018-08-08 16:59:04 +00:00
Will Dazey
4477ace6fd
OPENJPA-2704: The openjpa.jdbc.Schema no longer overrides orm.xml default
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1834900 13f79535-47bb-0310-9956-ffa450edef68
2018-07-02 21:07:29 +00:00
Francesco Chicchiriccò
0303fb28f8
[OPENPJA-2742] Rollback before DDL can be disabled - default behavior is kept
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1834818 13f79535-47bb-0310-9956-ffa450edef68
2018-07-02 06:06:45 +00:00
Francesco Chicchiriccò
e5f3551a81
Setting explicit versions of karaf-maven-plugin and build-helper-maven-plugin
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1834617 13f79535-47bb-0310-9956-ffa450edef68
2018-06-28 15:08:58 +00:00
Francesco Chicchiriccò
3a0875f393
Fix javadocs links (missing file)
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1834591 13f79535-47bb-0310-9956-ffa450edef68
2018-06-28 09:35:51 +00:00
Francesco Chicchiriccò
e368468da2
Fix javadocs links (missing file)
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1834588 13f79535-47bb-0310-9956-ffa450edef68
2018-06-28 09:33:59 +00:00
Francesco Chicchiriccò
66a0a1499c
Fix javadocs links
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1834587 13f79535-47bb-0310-9956-ffa450edef68
2018-06-28 09:32:40 +00:00
Mark Struberg
74c5980a94
pin down the tag name to just the version
...
this is what we used to have historically
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1834504 13f79535-47bb-0310-9956-ffa450edef68
2018-06-27 14:09:40 +00:00
Mark Struberg
ffe3fe4a50
[maven-release-plugin] prepare for next development iteration
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1833210 13f79535-47bb-0310-9956-ffa450edef68
2018-06-08 20:34:53 +00:00
Mark Struberg
101ee9946a
[maven-release-plugin] prepare release openjpa-parent-3.0.0
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1833208 13f79535-47bb-0310-9956-ffa450edef68
2018-06-08 20:34:24 +00:00
Mark Struberg
627fb6e74c
fixing overly strict Java8 JavaDoc
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1833202 13f79535-47bb-0310-9956-ffa450edef68
2018-06-08 19:54:43 +00:00