Commit Graph

1808 Commits

Author SHA1 Message Date
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 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 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 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 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
Maxim Solodovnik 9a5096308c [OPENJPA-2752] libraries are updated to most recent versions 2018-10-18 12:38:31 +07: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
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
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
Will Dazey 8be86a6903 OPENJPA-2646: Sporadic NullPointerException and ClassCastException caused by query cache misses in multithreaded environments.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1831596 13f79535-47bb-0310-9956-ffa450edef68
2018-05-14 22:25:05 +00:00
Mark Struberg 7be184d451 cleanup import minor
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1831459 13f79535-47bb-0310-9956-ffa450edef68
2018-05-12 09:37:30 +00:00
Jody Grassel 5c94a7ff67 OPENJPA-2705: ArrayOutOfBoundsException occurs with an @EmbeddedId (commit on wdazeys behalf)
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1802529 13f79535-47bb-0310-9956-ffa450edef68
2017-07-20 20:11:40 +00:00
Francesco Chicchiriccò 8f1f9a1af7 [OPENJPA-2698] Applying the provided patch
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1793617 13f79535-47bb-0310-9956-ffa450edef68
2017-05-03 06:45:58 +00:00
Romain Manni-Bucau af8ea38f87 OPENJPA-2554 JPA 2.1 - Schema Generation, patch from Roberto Cortez, doc to update still
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1770509 13f79535-47bb-0310-9956-ffa450edef68
2016-11-19 18:08:44 +00:00
Mark Struberg bdc1da9423 OPENJPA use Locale.ENGLISH for toLowerCase and toUperCase where possible
* we now use fixed english Locale for 'framework parts' which are by spec portable
* we do NOT yet use a fixed Locale for anything related to column or table names!

txs to Kaloyan Spiridonov for the catch!



git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1768216 13f79535-47bb-0310-9956-ffa450edef68
2016-11-05 13:46:23 +00:00
Mark Struberg 9cacf08c7a OPENJPA-2662 remove unused imports
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1759916 13f79535-47bb-0310-9956-ffa450edef68
2016-09-08 22:03:41 +00:00
Mark Struberg f0286a268e OPENJPA-2665 refactor StringUtils
We now got rid of commons-lang. Makes 400kB less dependencies 
And guaranteed no classpath conflicts.


git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1759663 13f79535-47bb-0310-9956-ffa450edef68
2016-09-07 19:04:18 +00:00
Mark Struberg 209adb6fc8 OPENJPA-2662 remove serp.util.Strings.getPackageName
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1759356 13f79535-47bb-0310-9956-ffa450edef68
2016-09-05 21:11:01 +00:00
Mark Struberg 297190a43a OPENJPA-2662 reimplement serp.util.Strings#getClassName
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1759355 13f79535-47bb-0310-9956-ffa450edef68
2016-09-05 20:35:11 +00:00
Mark Struberg 305758fc96 OPENJPA-2664 move to commons-lang3
And also clean up ancient code parts.


git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1758808 13f79535-47bb-0310-9956-ffa450edef68
2016-09-01 16:27:51 +00:00
Heath Thomann 843398ede4 OPENJPA-2650: Made a very simple test update to the test created for this JIRA.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1757894 13f79535-47bb-0310-9956-ffa450edef68
2016-08-26 17:09:54 +00:00
Mark Struberg 13cdb6fd47 explicit table names for all the Entity1 to better understand what exactly blows up on Jenkins
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1757650 13f79535-47bb-0310-9956-ffa450edef68
2016-08-25 10:07:50 +00:00
Mark Struberg 3d4f675038 fix serializable exception
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1757131 13f79535-47bb-0310-9956-ffa450edef68
2016-08-22 10:00:11 +00:00
Mark Struberg cdfd6e274e OPENJPA-2654 fix broken stored procedure test
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1757064 13f79535-47bb-0310-9956-ffa450edef68
2016-08-21 16:20:32 +00:00
Mark Struberg 98b7a4f9ea OPENJPA-2658 also drop trigger T1 which prevents dropping of the function
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1757057 13f79535-47bb-0310-9956-ffa450edef68
2016-08-21 13:16:28 +00:00
Mark Struberg 9d2963fc05 reactivate tests
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1756882 13f79535-47bb-0310-9956-ffa450edef68
2016-08-19 08:38:26 +00:00
Mark Struberg 64e9f3868f OPENJPA-2592 OPENJPA-2654 merge JPA-2.1 work originally done by rmannibucau in the openjpa-jpa-2.1 branch
Thanks to Romain for all the hard work!


git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1756850 13f79535-47bb-0310-9956-ffa450edef68
2016-08-18 20:47:20 +00:00
Mark Struberg 41febbaab0 OPENJPA-2652 transition trunk to OpenJPA-3.0.0
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1756771 13f79535-47bb-0310-9956-ffa450edef68
2016-08-18 12:44:03 +00:00
Heath Thomann 68fea1a51c OPENJPA-2650: When SchemaFactory and useSchemaName=false is set, a schema name is incorrectly used. Merged 2.2.x commit to trunk.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1756539 13f79535-47bb-0310-9956-ffa450edef68
2016-08-16 18:08:54 +00:00
Heath Thomann 4afdb07042 OPENJPA-2651: Fix for issue where @SqlResultSetMapping is used with inheritance and a ManyToOne relationship. Merged 2.2.x commit to trunk.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1756047 13f79535-47bb-0310-9956-ffa450edef68
2016-08-11 20:43:27 +00:00
Heath Thomann 41827d794d OPENJPA-2631: Fix for CriteriaBuilder issue with an @EmbeddedId that contains more than one field. Ported 2.1.x commit to trunk
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1750038 13f79535-47bb-0310-9956-ffa450edef68
2016-06-24 03:32:58 +00:00
Mark Struberg 55e8a82558 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1730419 13f79535-47bb-0310-9956-ffa450edef68
2016-02-14 22:23:47 +00:00
Mark Struberg c3d950747a [maven-release-plugin] prepare release 2.4.1
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1730417 13f79535-47bb-0310-9956-ffa450edef68
2016-02-14 22:22:38 +00:00
asf-sync-process 7aed5ecf48 [maven-release-plugin] rollback the release of 2.4.2-SNAPSHOT
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1730401 13f79535-47bb-0310-9956-ffa450edef68
2016-02-14 20:48:55 +00:00
Mark Struberg 3396a59061 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1730341 13f79535-47bb-0310-9956-ffa450edef68
2016-02-14 14:02:04 +00:00
Mark Struberg d7bcf2670e [maven-release-plugin] prepare release 2.4.1-SNAPSHOT
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1730338 13f79535-47bb-0310-9956-ffa450edef68
2016-02-14 14:00:52 +00:00
Romain Manni-Bucau 715b9b086f OPENJPA-2618 pevent Tuple to pass through in createXQuery methods since we dont support it yet
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1716891 13f79535-47bb-0310-9956-ffa450edef68
2015-11-27 15:52:13 +00:00