Commit Graph

444 Commits

Author SHA1 Message Date
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 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
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
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 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 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 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 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
Mark Struberg 0f55f9d133 OPENJPA-2641 upgrade build poms
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1743262 13f79535-47bb-0310-9956-ffa450edef68
2016-05-10 21:36:15 +00:00
Heath Thomann 6955ddaea1 OPENJPA-2636: Updated a Map in Configurations to avoid a ClassLoader leak. Ported 2.2.x changes to trunk.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1737411 13f79535-47bb-0310-9956-ffa450edef68
2016-04-01 15:50:32 +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
Jody Grassel e98845758d OPENJPA-2605: DelegatingConnection.unwrap() doesn't adhere to java.sql.Wrapper.unwrap() contract
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1713509 13f79535-47bb-0310-9956-ffa450edef68
2015-11-09 18:54:51 +00:00
Mark Struberg a51d3c5c7b OPENJPA-2600 remove Classes which break Java8 functionality.
They are not used since quite some time anyway and have been marked
as deprecated in the past already.


git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1688402 13f79535-47bb-0310-9956-ffa450edef68
2015-06-30 08:49:04 +00:00
Romain Manni-Bucau fac15cf557 OPENJPA-2592 basic stored procedure impl import
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/openjpa_jpa-2.1@1683972 13f79535-47bb-0310-9956-ffa450edef68
2015-06-07 01:05:22 +00:00
Mark Struberg 5235008137 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1674605 13f79535-47bb-0310-9956-ffa450edef68
2015-04-19 11:22:11 +00:00
Mark Struberg 0c0c8dd2bf [maven-release-plugin] prepare release openjpa-parent-2.4.0
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1674603 13f79535-47bb-0310-9956-ffa450edef68
2015-04-19 11:20:57 +00:00
Mark Struberg 85556cb9ea OPENJPA-2576 remove @nonjava which is actually not a javadoc tag
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1671792 13f79535-47bb-0310-9956-ffa450edef68
2015-04-07 10:37:14 +00:00
Mark Struberg f1ad383f4f remove empty @return javadocs
just caused javadoc warnings...


git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1671694 13f79535-47bb-0310-9956-ffa450edef68
2015-04-06 20:57:11 +00:00
Mark Struberg 3b49efddcc remove unused imports
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1667123 13f79535-47bb-0310-9956-ffa450edef68
2015-03-16 20:34:29 +00:00
Richard G. Curtis b48106b072 OPENJPA-2542: Use bundle classloader AND PersistenceUnitInfo classloader when creating a BrokerFactory.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1644414 13f79535-47bb-0310-9956-ffa450edef68
2014-12-10 14:11:45 +00:00
Heath Thomann b6eee24112 OPENJPA-2535: Fixed issue with DBCS characters in identifiers - merged from 2.2.x commit.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1631860 13f79535-47bb-0310-9956-ffa450edef68
2014-10-14 19:57:44 +00:00
Jody Grassel 4f23e3fc95 OPENJPA-2368: Undo revert on trunk (Move www.apache.org/openjpa/ns/orm to openjpa.apache.org/ns/orm)
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1589852 13f79535-47bb-0310-9956-ffa450edef68
2014-04-24 19:48:02 +00:00
Richard G. Curtis 6d8a46e825 OPENJPA-2441: Remove usage of NullSafeConcurrentHashMap. Patch contributed by Dalia Abo Sheasha.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1570261 13f79535-47bb-0310-9956-ffa450edef68
2014-02-20 16:33:30 +00:00
Mark Struberg 08035c10ef OPENJPA-2200 remove unused imports
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1536637 13f79535-47bb-0310-9956-ffa450edef68
2013-10-29 10:11:46 +00:00
Mark Struberg 70f1188d19 release preparation upgrade trunk to 2.4.0-SNAPSHOT
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1535565 13f79535-47bb-0310-9956-ffa450edef68
2013-10-24 21:39:43 +00:00
Jody Grassel 6952aec464 OPENJPA-2368: Revert change to OpenJPA Extendable ORM Target NameSpace
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1512004 13f79535-47bb-0310-9956-ffa450edef68
2013-08-08 19:56:10 +00:00
Richard G. Curtis 4cf336fd95 OPENJPA-2410 : Detect SystemOut/Err in code at build time. Patch submitted by Di Wu Lau.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1504673 13f79535-47bb-0310-9956-ffa450edef68
2013-07-18 21:34:23 +00:00
Jeremy Bauer c6ee8caa41 Refrain from logging when verifying log factory plugin.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1481141 13f79535-47bb-0310-9956-ffa450edef68
2013-05-10 18:42:15 +00:00
Albert Lee e8a2932d4c OPENJPA-2368 extentable xsd updates
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1468233 13f79535-47bb-0310-9956-ffa450edef68
2013-04-15 21:35:41 +00:00
Jeremy Bauer 7f14c7df6b Disable logging during brokerfactory de-serialization. Added type checking of plugin values.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1461876 13f79535-47bb-0310-9956-ffa450edef68
2013-03-27 22:10:35 +00:00
Jody Grassel 3bdb0b95d8 OPENJPA-OpenJPA must support processing puRoot and jar-file URLs as jar-formatted InputStreams
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1446294 13f79535-47bb-0310-9956-ffa450edef68
2013-02-14 18:35:07 +00:00
Pinaki Poddar 5b21125f5e OPENJPA-2321: Remove synchrnization on output stream
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1431649 13f79535-47bb-0310-9956-ffa450edef68
2013-01-10 21:16:14 +00:00
Heath Thomann a2b07b18b4 OPENJPA-2257: Added additional changes (i.e. return a copy of _supportedKeys) to the code changes made previously by Albert Lee.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1426680 13f79535-47bb-0310-9956-ffa450edef68
2012-12-29 01:06:48 +00:00