Commit Graph

4850 Commits

Author SHA1 Message Date
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 4068d5ccb2 OPENJPA-2674 properly closing JarFile
txs to Kaloyan Spiridonov for the catch!


git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1768201 13f79535-47bb-0310-9956-ffa450edef68
2016-11-05 11:50:59 +00:00
Mark Struberg 701a4e7d27 OPENJPA-2675 implement null-check for CriteriaQueryImpl#equals
txs to Kaloyan Spiridonov for the catch!


git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1768191 13f79535-47bb-0310-9956-ffa450edef68
2016-11-05 11:25:29 +00:00
Mark Struberg 3d905e17a7 OPENJPA-2677 upgrade to BVal-1.1.2
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1768081 13f79535-47bb-0310-9956-ffa450edef68
2016-11-04 19:12:11 +00:00
Mark Struberg 6b8d4b9bcd OPENJPA-2677 prepare upgrade to BVal-1.1.2
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1766814 13f79535-47bb-0310-9956-ffa450edef68
2016-10-27 13:15:29 +00:00
Jody Grassel be71987b9c OPENJPA-2672: ConfigurationImpl.loadGlobals() has java.util.ConcurrentModificationException vulnerability
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1764316 13f79535-47bb-0310-9956-ffa450edef68
2016-10-11 18:30:19 +00:00
Francesco Chicchiriccò a99daf8f47 Updating Database Support page with MariaDB
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1763715 13f79535-47bb-0310-9956-ffa450edef68
2016-10-07 09:51:50 +00:00
Francesco Chicchiriccò fe7659fb01 It's 2016 and OpenJPA 3.0 babe
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1763705 13f79535-47bb-0310-9956-ffa450edef68
2016-10-07 09:08:59 +00:00
Mark Struberg 88a998eced OPENJPA-2669 add OSGi Karaf feature
Thanks to Christian Schneider (cschneider) for the contribution!


git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1763517 13f79535-47bb-0310-9956-ffa450edef68
2016-10-06 08:33:09 +00:00
Mark Struberg e0c03c5fc9 OPENJPA-2670 improve support for createEnittyManager with SynchronizationType
Currently we support the 'old' SynchronizationType.SYNCHRONIZED behaviour at least.
UNSYNCHRONIZED still needs to be implemented.


git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1763471 13f79535-47bb-0310-9956-ffa450edef68
2016-10-05 17:20:39 +00:00
Mark Struberg 19a59684f0 OPENJPA-2667 upgrade to BVal-1.1
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1761771 13f79535-47bb-0310-9956-ffa450edef68
2016-09-21 15:43:11 +00:00
Mark Struberg 5cf5442d19 OPENJPA-2666 prepare for Java9
* remove ianal-maven-plugin This plugin is unmaintained and we are covered with RAT already.
* remove MaxPermSize as this will blow up with Java9. People should set JAVA_OPTS and MAVEN_OPTS instead.


git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1761526 13f79535-47bb-0310-9956-ffa450edef68
2016-09-20 06:30:42 +00:00
Mark Struberg 8d208ebdbe OPENJPA-2666 jdk.internal.* are classes generated by Java9
we need to delegate through for them as well.


git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1761415 13f79535-47bb-0310-9956-ffa450edef68
2016-09-19 10:16:35 +00:00
Mark Struberg 02330ad212 OPENJPA-2665 move to StringBuilder to improve performance
Only locally used StringBuffer, so guaranteed no concurrency.


git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1759947 13f79535-47bb-0310-9956-ffa450edef68
2016-09-09 08:04:41 +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 f979ae1cfe OPENJPA-2665 use Objects.equals instead of prorietary impl
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1759614 13f79535-47bb-0310-9956-ffa450edef68
2016-09-07 13:55:30 +00:00
Mark Struberg 10110aadf0 OPENJPA-2662 get rid of serp.util.Strings.parse
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1759518 13f79535-47bb-0310-9956-ffa450edef68
2016-09-06 22:04:01 +00:00
Mark Struberg c4323ac563 OPENJPA-2662 remove serp.util.Strings.join
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1759362 13f79535-47bb-0310-9956-ffa450edef68
2016-09-06 05:14: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 da6ea0f708 OPENJPA-2662 get rid of serp.util.Strings#replace
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1759273 13f79535-47bb-0310-9956-ffa450edef68
2016-09-05 14:10:33 +00:00
Mark Struberg 6855468187 remove unecessary compiler plugin
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1759272 13f79535-47bb-0310-9956-ffa450edef68
2016-09-05 14:09:35 +00:00
Mark Struberg 58baa13eb2 upgrade to jar-plugin 3.0.0 for Java9 support
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1759257 13f79535-47bb-0310-9956-ffa450edef68
2016-09-05 12:35:43 +00:00
Mark Struberg 66ad16fd85 OPENJPA-2662 remove serp.util.Strings#split
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1759033 13f79535-47bb-0310-9956-ffa450edef68
2016-09-02 20:23:32 +00:00
Mark Struberg 0096a0ebd3 move line length to 150 characters
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1759032 13f79535-47bb-0310-9956-ffa450edef68
2016-09-02 20:22:31 +00:00
Mark Struberg e647db2ee0 OPENJPA-2662 intern Strings.toClass
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1758851 13f79535-47bb-0310-9956-ffa450edef68
2016-09-01 20:20: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
Mark Struberg 0859873510 PWB-2663 remove factually unused ConcreteClassGenerator
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1758685 13f79535-47bb-0310-9956-ffa450edef68
2016-08-31 22:02:14 +00:00
Mark Struberg 4ce78c4e7f OPENJPA-2663 remove unused methods
code no one uses you not to migrate you have! 


git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1758666 13f79535-47bb-0310-9956-ffa450edef68
2016-08-31 19:12:23 +00:00
Mark Struberg 4452e34d58 upgrade pom description to reflect we are JPA-2.1
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1757898 13f79535-47bb-0310-9956-ffa450edef68
2016-08-26 17:27:23 +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
Francesco Chicchiriccò b2bf5d1149 [OPENJPA-2660] Maven warnings resolved
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1757352 13f79535-47bb-0310-9956-ffa450edef68
2016-08-23 10:38:54 +00:00
Romain Manni-Bucau 5faf53c036 OPENJPA-2300 avoid warnings due to annotation processor
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1757320 13f79535-47bb-0310-9956-ffa450edef68
2016-08-23 07:57:38 +00:00
Romain Manni-Bucau f85e0347d6 ensure checkstyle uses UNIx EOL to have a portable build on windows
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1757319 13f79535-47bb-0310-9956-ffa450edef68
2016-08-23 07:57:16 +00:00
Francesco Chicchiriccò 91ab1f089e Attempt to get cleaner test output
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1757317 13f79535-47bb-0310-9956-ffa450edef68
2016-08-23 07:19:56 +00:00
Mark Struberg 4108566a70 OPENJPA-2659 upgrade to apache-parent-18
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1757179 13f79535-47bb-0310-9956-ffa450edef68
2016-08-22 14:09:47 +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 fa7f6e9f2e OPENJPA-2654 use released 1.0-alpha-1 jpa 2.1 spec API jar
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1756851 13f79535-47bb-0310-9956-ffa450edef68
2016-08-18 20:58:29 +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 5c2bab9cb1 add idea ids files to ignore rules
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1743857 13f79535-47bb-0310-9956-ffa450edef68
2016-05-14 20:38:36 +00:00