Commit Graph

505 Commits

Author SHA1 Message Date
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
Pinaki Poddar 2e9e9e2973 OPENJPA-2057:remove wrong import
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1426575 13f79535-47bb-0310-9956-ffa450edef68
2012-12-28 16:48:19 +00:00
Pinaki Poddar 0a8d89da00 OPENJPA-2057: Add additional class loader to configuration to load custom plugins
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1425072 13f79535-47bb-0310-9956-ffa450edef68
2012-12-21 18:29:38 +00:00
Heath Thomann 9fa9ef4fe8 OPENJPA-2244: Applied Helen's patch to trunk.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1415486 13f79535-47bb-0310-9956-ffa450edef68
2012-11-30 03:14:37 +00:00
Richard G. Curtis 60b97e307f OPENJPA-2292: Pool CancelPreparedStatements to reduce object allocations.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1405929 13f79535-47bb-0310-9956-ffa450edef68
2012-11-05 19:55:44 +00:00
Albert Lee 512520f7fb OPENJPA-2257 Properly synchronized _supportedKeys in ConigurationImpl. Test case contributed by Stephan Hagedorn.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1381326 13f79535-47bb-0310-9956-ffa450edef68
2012-09-05 19:53:52 +00:00
Albert Lee 4f930b1c29 OPENJPA-428 - Remove Id property from remaining map in Configurations
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1370866 13f79535-47bb-0310-9956-ffa450edef68
2012-08-08 18:02:44 +00:00
Albert Lee 0abd271b3c OPENJPA-2243 - Add synchronized that matches the signatures in superclass.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1366437 13f79535-47bb-0310-9956-ffa450edef68
2012-07-27 16:30:39 +00:00
Dianne E. Richards 4659638a1d OPENJPA-2207 Fix single numeric db identifier problem
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1348076 13f79535-47bb-0310-9956-ffa450edef68
2012-06-08 13:58:36 +00:00
Albert Lee c47085e32f OPENJPA-2208 Add getProtectionDomain doPriv function
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1346624 13f79535-47bb-0310-9956-ffa450edef68
2012-06-05 22:06:18 +00:00
Heath Thomann e6a8d377bc OPENJPA-2067: Added code, gated by the new DBDictionary.useJDBC4SetBinaryStream prop, to use a JDBC 4.0 version of setBinaryStream.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1338494 13f79535-47bb-0310-9956-ffa450edef68
2012-05-15 00:42:09 +00:00
Heath Thomann e07b3ce3cf OPENJPA-2055: Added code to account for IPv6 addresses.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1295698 13f79535-47bb-0310-9956-ffa450edef68
2012-03-01 17:43:03 +00:00
Kevin W. Sutter cecd73b6ee OPENJPA-2123. Only format parameters for printing if logging is turned on.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1291899 13f79535-47bb-0310-9956-ffa450edef68
2012-02-21 16:29:56 +00:00
Albert Lee 408d8b4463 Update pom.xml version to 2.3.0-SNAPSHOTS in trunk after 2.2.0 is released.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1291435 13f79535-47bb-0310-9956-ffa450edef68
2012-02-20 20:37:05 +00:00
Albert Lee 4d1e1bc8df [maven-release-plugin] prepare release 2.2.x
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1244808 13f79535-47bb-0310-9956-ffa450edef68
2012-02-16 00:30:29 +00:00
Kevin W. Sutter 2bbbcc9d73 OPENJPA-2099. With Pinaki's green light, we're going to back out the changes for OpenJPA-2099 and OpenJPA-2111 so that we can make progress on the OpenJPA 2.2.0 release.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1243702 13f79535-47bb-0310-9956-ffa450edef68
2012-02-13 21:23:54 +00:00
Pinaki Poddar 4d0917c551 OPENJPA-2099: Remove hard references from thread local
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1240448 13f79535-47bb-0310-9956-ffa450edef68
2012-02-04 03:06:46 +00:00
Pinaki Poddar 5aa9a573c5 OPENJPA-2099: Test for immutable value
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1240417 13f79535-47bb-0310-9956-ffa450edef68
2012-02-04 00:35:26 +00:00
Pinaki Poddar 2988ebaf2a OPENJPA-2099: relax thread and bind parameter affinity. allow immutable value at construction
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1240302 13f79535-47bb-0310-9956-ffa450edef68
2012-02-03 19:09:30 +00:00
Pinaki Poddar 7b2d6ea89d OPENJPA-2099: correct test error
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1236868 13f79535-47bb-0310-9956-ffa450edef68
2012-01-27 20:15:57 +00:00
Pinaki Poddar fc1ea49c38 OPENJPA-2116: Optimize frequent operations a) field denotes a relation and b) schema name needs conversion.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1236326 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 17:56:12 +00:00
Pinaki Poddar 7def6f8a67 OPENJPA-2099: simple doc change
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1236281 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 16:37:16 +00:00
Pinaki Poddar e37a589072 OPENJPA:1050: Use generics
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1236280 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 16:36:38 +00:00
Pinaki Poddar f31e4ba507 OPENJPA-2099: Introduce flexible ThreadLocal
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1235624 13f79535-47bb-0310-9956-ffa450edef68
2012-01-25 04:00:11 +00:00
Pinaki Poddar 49adef7c61 OPENJPA-2099: Use thread gate for reused select. Guard parameter binding
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1235533 13f79535-47bb-0310-9956-ffa450edef68
2012-01-24 22:26:27 +00:00
Pinaki Poddar 736221d100 OPENJPA-2099: Create thread gateto protect Select
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1235298 13f79535-47bb-0310-9956-ffa450edef68
2012-01-24 15:31:35 +00:00
Pinaki Poddar 1a50b5fe76 OPENJPA:2099: Cacheing select construct with class/field strategy. Adding configuration
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1232415 13f79535-47bb-0310-9956-ffa450edef68
2012-01-17 14:04:07 +00:00
Mark Struberg 3beb74571a switch back trunk to 2.2.0-SNAPSHOT
we wil restart the 2.2.x after a few important fixes on trunk


git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1230495 13f79535-47bb-0310-9956-ffa450edef68
2012-01-12 11:28:50 +00:00
Mark Struberg 6289157f9c release preparation. Move trunk to 2.3.0-SNAPSHOT
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1229557 13f79535-47bb-0310-9956-ffa450edef68
2012-01-10 14:29:08 +00:00
Kevin W. Sutter 9cc9b97c97 OPENJPA-2087. Adding "missing" methods on the concrete JDBC classes to allow building with Java 7. Committing this change on behalf of Jacob Nowosatka.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1226933 13f79535-47bb-0310-9956-ffa450edef68
2012-01-03 20:04:38 +00:00
Kevin W. Sutter 12e33c9af3 OPENJPA-2087. Removing the use of the ConcreteClassGenerator. Committing this change on behalf of Jacob Nowosatka.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1214975 13f79535-47bb-0310-9956-ffa450edef68
2011-12-15 22:28:29 +00:00
Jody Grassel b2af30891d OPENJPA-2094: Metadata processing needs to support jar:file URLs that address Jar directories
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1214326 13f79535-47bb-0310-9956-ffa450edef68
2011-12-14 16:33:39 +00:00
Jody Grassel 1a383857ff OPENJPA-2094: Metadata processing needs to support jar:file URLs that address Jar directories
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1213958 13f79535-47bb-0310-9956-ffa450edef68
2011-12-13 22:05:28 +00:00
Albert Lee 9fdf242b40 OPENJPA-2085 Use ASM to reconstruct the missing StackMapTable attribute in class file after entity enhancement. BCClassWriter is contributed by Brett Kail.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1209373 13f79535-47bb-0310-9956-ffa450edef68
2011-12-02 06:42:55 +00:00
Dianne E. Richards 3f8d02190d OPENJPA-2081 XML support for about 26 annotations
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1207320 13f79535-47bb-0310-9956-ffa450edef68
2011-11-28 15:44:58 +00:00
Richard G. Curtis 3d5b44956d OPENJPA-2057: Reverting previous commits.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1197994 13f79535-47bb-0310-9956-ffa450edef68
2011-11-05 17:17:26 +00:00
Pinaki Poddar 2bee63d702 OPENJPA-2057: Change classloading scheme
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1194905 13f79535-47bb-0310-9956-ffa450edef68
2011-10-29 15:26:44 +00:00
Pinaki Poddar 3494fab794 OPENJPA-2057: Change classloading scheme
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1190716 13f79535-47bb-0310-9956-ffa450edef68
2011-10-29 00:44:11 +00:00
Albert Lee 548375287a Fixed message format errors.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1190050 13f79535-47bb-0310-9956-ffa450edef68
2011-10-27 21:50:38 +00:00
Jody Grassel e400abcef5 OPENJPA-1993: Deadlock Potential with ORM XML Processing
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1166880 13f79535-47bb-0310-9956-ffa450edef68
2011-09-08 20:07:16 +00:00
Michael Dick 67d00f4fca Add quotes for for literal curly braces in message text
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1155475 13f79535-47bb-0310-9956-ffa450edef68
2011-08-09 18:46:04 +00:00
Michael Dick 8d032a0d62 OPENJPA-1875: Add generics to graph code.
Submitted By: Guy Korland

M    openjpa-lib/src/main/java/org/apache/openjpa/lib/graph/BreadthFirstWalk.java
M    openjpa-lib/src/main/java/org/apache/openjpa/lib/graph/DepthFirstAnalysis.java
M    openjpa-lib/src/main/java/org/apache/openjpa/lib/graph/Graph.java
M    openjpa-lib/src/main/java/org/apache/openjpa/lib/graph/Edge.java


git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1138467 13f79535-47bb-0310-9956-ffa450edef68
2011-06-22 13:54:05 +00:00
Jody Grassel 6fc7d55a09 OPENJPA-1993: Deadlock Potential with XML ORM Processing
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1100363 13f79535-47bb-0310-9956-ffa450edef68
2011-05-06 20:22:23 +00:00
Pinaki Poddar 84e66b1d84 Add exception message for configuration error
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1063867 13f79535-47bb-0310-9956-ffa450edef68
2011-01-26 20:50:23 +00:00
Pinaki Poddar d91475d506 Add exception message for configuration error
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1063823 13f79535-47bb-0310-9956-ffa450edef68
2011-01-26 18:43:06 +00:00
Jeremy Bauer 502a5996b7 Cleanup message text
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1041927 13f79535-47bb-0310-9956-ffa450edef68
2010-12-03 17:43:15 +00:00
Michael Dick 2cc69063aa [maven-release-plugin] prepare release 2.1.x
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1040584 13f79535-47bb-0310-9956-ffa450edef68
2010-11-30 15:30:48 +00:00
Michael Dick 3bf5a1a252 [maven-release-plugin] prepare branch 2.1.x
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1040582 13f79535-47bb-0310-9956-ffa450edef68
2010-11-30 15:31:53 +00:00
Albert Lee 2700d1681d OPENJPA-1895 add doPriv to setAccessible call.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1039414 13f79535-47bb-0310-9956-ffa450edef68
2010-11-26 15:27:56 +00:00
Albert Lee f4b14e18b7 OPENJPA-1895 add doPriv to setAccessible call.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1039246 13f79535-47bb-0310-9956-ffa450edef68
2010-11-26 03:55:51 +00:00
Richard G. Curtis 06f8dc4c96 OPENJPA-1895: Minor performance improvement.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1037873 13f79535-47bb-0310-9956-ffa450edef68
2010-11-22 20:44:49 +00:00
Richard G. Curtis c5748ffde1 OPENJPA-1871: Fix FindBugs reported performance problem in XMLMetaDataSerializer. Patch contributed by Guy Korland.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1030932 13f79535-47bb-0310-9956-ffa450edef68
2010-11-04 13:17:10 +00:00
Richard G. Curtis f8179d7282 OPENJPA-1868: Miscellaneous FindBugs suggested performance improvement..
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1030173 13f79535-47bb-0310-9956-ffa450edef68
2010-11-02 18:53:14 +00:00
Richard G. Curtis b24d729deb OPENJPA-1868: Miscellaneous FindBugs suggested performance improvements for lib, persistence, and persistence-jdbc.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1030172 13f79535-47bb-0310-9956-ffa450edef68
2010-11-02 18:50:13 +00:00
Donald Woods 900304d3c3 OPENJPA-1861 build updates to support using Maven 3.0
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1028748 13f79535-47bb-0310-9956-ffa450edef68
2010-10-29 14:00:35 +00:00
Donald Woods 739ee54c19 OPENJPA-1830 Deserialization of EMF causes openjpa.connectionPassword to be overwritten with Value.INVISIBLE
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1021488 13f79535-47bb-0310-9956-ffa450edef68
2010-10-11 20:00:17 +00:00
Donald Woods ed85f020fd OPENJPA-1764 Automatically enable connection pooling in unmanaged environments when Commons DBCP is available
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1002321 13f79535-47bb-0310-9956-ffa450edef68
2010-09-28 18:56:51 +00:00
Milosz Tylenda 7569f437db OPENJPA-6: Implement JDBC 3 and JDBC 4 methods in delegates.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@990349 13f79535-47bb-0310-9956-ffa450edef68
2010-08-28 11:52:47 +00:00
Donald Woods f80e2398fa OPENJPA-6 fix line length, which must be <=120 for checkstyle
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@990231 13f79535-47bb-0310-9956-ffa450edef68
2010-08-27 19:14:38 +00:00
Milosz Tylenda 96ee7d32e9 OPENJPA-6: Implement JDBC 4 methods in delegates.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@990218 13f79535-47bb-0310-9956-ffa450edef68
2010-08-27 18:05:34 +00:00
Milosz Tylenda 3ba73bc59f OPENJPA-6: Replace JDBC 3 reflection with direct method calls.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@990081 13f79535-47bb-0310-9956-ffa450edef68
2010-08-27 10:06:52 +00:00
Milosz Tylenda 2c188f1113 OPENJPA-6: Implement JDBC 4 methods in delegates.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@987778 13f79535-47bb-0310-9956-ffa450edef68
2010-08-21 16:10:31 +00:00
Donald Woods 560afb7df4 OPENJPA-1712 Merge in build updates from 2.0.x branch
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@987238 13f79535-47bb-0310-9956-ffa450edef68
2010-08-19 17:31:55 +00:00
Jeremy Bauer 0b3f1b2d2a OPENJPA-735 Updated DBIdentifier to allow case insensitive compares for databases that do not support mixed case identifiers.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@986166 13f79535-47bb-0310-9956-ffa450edef68
2010-08-17 01:57:22 +00:00
Jeremy Bauer 25ccc95d6c OPENJPA-1739 Added basic stats tracking to query result cache. Updates to JMX provider. Added tests to jmx module for query cache and prepared SQL cache instruments.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@984633 13f79535-47bb-0310-9956-ffa450edef68
2010-08-12 02:40:23 +00:00
Richard G. Curtis eeeca1cedb OPENJPA-1707: Update pom.xml to write the revision of PCEnhancer to org.apache.openjpa.revision.properties.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@984522 13f79535-47bb-0310-9956-ffa450edef68
2010-08-11 18:33:29 +00:00
Donald Woods bcfadcff1b OPENJPA-1712 Fix creation of test artifacts, so they get signed during -Papache-release deploys to nexus repo
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@983040 13f79535-47bb-0310-9956-ffa450edef68
2010-08-06 16:22:21 +00:00
Jeremy Bauer 733adeb47b OPENJPA-1739 Rev 1 of pluggable instrumentation for OpenJPA. Includes an test provider and portions of a JMX platform MBean based provider.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@981719 13f79535-47bb-0310-9956-ffa450edef68
2010-08-03 01:55:02 +00:00
Patrick Linskey 1b07ef0bc7 resolve OPENJPA-1756.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@981340 13f79535-47bb-0310-9956-ffa450edef68
2010-08-01 23:21:42 +00:00
Donald Woods 459dddcd59 OPENJPA-1743: anchors in mappingtool config invocation. Patch from Patrick Linskey.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@966759 13f79535-47bb-0310-9956-ffa450edef68
2010-07-22 17:15:51 +00:00
Donald Woods 982b643868 OPENJPA-1735 Mark commons-logging as provided in the build to remove transient maven dependency
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@966020 13f79535-47bb-0310-9956-ffa450edef68
2010-07-20 21:40:05 +00:00
Donald Woods de0e36d39b OPENJPA-1732 LogFactory adapter for SLF4J
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@965965 13f79535-47bb-0310-9956-ffa450edef68
2010-07-20 19:17:57 +00:00
Richard G. Curtis c3a7417e24 OPENJPA-1734: Refactor JavaVendors into an Enum and fix exception reported in JIRA.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@965864 13f79535-47bb-0310-9956-ffa450edef68
2010-07-20 14:40:23 +00:00
Richard G. Curtis 9225c60a74 OPENJPA-1734: Add support for the DynamicEnhancer on IBM jvm.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@965633 13f79535-47bb-0310-9956-ffa450edef68
2010-07-19 21:02:36 +00:00
Donald Woods 64181e58ad OPENJPA-1724 Allow MappingTool to generate SQL files in a different encoding than the local JVM
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@964921 13f79535-47bb-0310-9956-ffa450edef68
2010-07-16 19:38:27 +00:00
Fay Wang 99eef9d018 OPENJPA-1726: fix test case failures (TestInputStreamLob) for PostgreSQL
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@964265 13f79535-47bb-0310-9956-ffa450edef68
2010-07-15 00:06:57 +00:00
Richard G. Curtis 2400bacd05 OPENJPA-1707: Log a warning message when a down level Entity is encountered.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@960981 13f79535-47bb-0310-9956-ffa450edef68
2010-07-06 18:53:59 +00:00
Milosz Tylenda 2f10cd4520 OPENJPA-6: Implement JDBC 3 methods in delegates.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@958120 13f79535-47bb-0310-9956-ffa450edef68
2010-06-25 21:34:46 +00:00
Donald Woods 2230521c78 OPENJPA-1700 FindBugs - Exception is caught when Exception is not thrown. This method uses a try-catch block that catches Exception objects, which could mask potential bugs.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@954697 13f79535-47bb-0310-9956-ffa450edef68
2010-06-15 02:38:42 +00:00
Donald Woods 4d5d2fb2bf OPENJPA-1700 FindBugs - A null pointer is dereferenced here. This will lead to a NullPointerException when the code is executed.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@954696 13f79535-47bb-0310-9956-ffa450edef68
2010-06-15 02:16:27 +00:00
Donald Woods 73692a6d32 OPENJPA-1700 FindBugs - This method might drop an exception. In general, exceptions should be handled or reported in some way, or they should be thrown out of the method.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@954695 13f79535-47bb-0310-9956-ffa450edef68
2010-06-15 02:15:13 +00:00
Donald Woods 72ddd27a00 OPENJPA-1700 FindBugs - Suspicious reference comparison of Boolean values
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@954694 13f79535-47bb-0310-9956-ffa450edef68
2010-06-15 02:09:06 +00:00
Donald Woods bc6c92ca64 OPENJPA-1700 Findbugs - The initial value of this parameter is ignored, and the parameter is overwritten here. This often indicates a mistaken belief that the write to the parameter will be conveyed back to the caller.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@954689 13f79535-47bb-0310-9956-ffa450edef68
2010-06-15 01:29:53 +00:00
Pinaki Poddar 3865aedfaa OPENJPA-1686: Upgrade to Java runtime version 5. Remove reflection.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@954678 13f79535-47bb-0310-9956-ffa450edef68
2010-06-15 00:09:17 +00:00
Pinaki Poddar 2d21d726ab OPENJPA-1686: Support when a parameterized type has parameterized type arguments
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@954667 13f79535-47bb-0310-9956-ffa450edef68
2010-06-14 23:10:55 +00:00
Pinaki Poddar 59c7001e09 OPENJPA-1686: Support when a parameterized type has parameterized type arguments
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@953717 13f79535-47bb-0310-9956-ffa450edef68
2010-06-11 15:14:24 +00:00
Michael Dick 323ebee840 OPENJPA-1678: add printParameters property to prevent SQL parameter values from being logged in exceptions or trace
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@953169 13f79535-47bb-0310-9956-ffa450edef68
2010-06-09 21:48:44 +00:00
Pinaki Poddar a873065db7 OPENJPA-1686: A first draft of support for generic graph. Correct mapping strategy on MappedSuperClass (they are not Embeddables)
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@952893 13f79535-47bb-0310-9956-ffa450edef68
2010-06-09 02:43:46 +00:00
Pinaki Poddar 4c24a47a8e OPENJPA-1649: Share metadata/mapping repository across slices.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@941515 13f79535-47bb-0310-9956-ffa450edef68
2010-05-05 22:11:51 +00:00
Michael Dick 666ec6c6de OPENJPA-1550:
Set failedObject on RollbackException.
Submitted By: Heath Thomann

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@927267 13f79535-47bb-0310-9956-ffa450edef68
2010-03-25 03:55:43 +00:00
Donald Woods b5b65a7d4b [maven-release-plugin] prepare release 2.0.x
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@926437 13f79535-47bb-0310-9956-ffa450edef68
2010-03-23 02:27:40 +00:00
Richard G. Curtis 1c0abb5207 OPENJPA-1591: Refactor/rename DataCacheScheduler to allow for greater extensibility.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@926249 13f79535-47bb-0310-9956-ffa450edef68
2010-03-22 18:29:15 +00:00
Donald Woods 695bd9c4bf OPENJPA-1550 When batchLimit=-1 or >1 and an exception is caused, the params and failedObject are missing from the resultant exception. Original patch contributed by Heath Thomann.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@921174 13f79535-47bb-0310-9956-ffa450edef68
2010-03-09 22:29:18 +00:00
Michael Dick c58af533fb OPENJPA-1178:
Remove uneeded imports

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@920540 13f79535-47bb-0310-9956-ffa450edef68
2010-03-08 22:07:27 +00:00
Michael Dick 62092d763a OPENJPA-1118:
Remove Numbers.valueOf() - prefer autoboxing

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@920503 13f79535-47bb-0310-9956-ffa450edef68
2010-03-08 20:43:37 +00:00
Donald Woods 045eb544de OPENJPA-1121 add ref to JIRA
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@920434 13f79535-47bb-0310-9956-ffa450edef68
2010-03-08 18:26:20 +00:00
Donald Woods 0befad7051 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@915979 13f79535-47bb-0310-9956-ffa450edef68
2010-02-24 21:04:54 +00:00
Donald Woods 099d18901e [maven-release-plugin] prepare release 2.0.0-beta2
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@915977 13f79535-47bb-0310-9956-ffa450edef68
2010-02-24 21:04:42 +00:00
Pinaki Poddar 2f3da18be0 Throw informative error messages on bad enum field
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@911530 13f79535-47bb-0310-9956-ffa450edef68
2010-02-18 19:11:36 +00:00
Albert Lee 80d6c79b52 OPENJPA-1506 - Fix ConfigurationImpl.equals() to support derived provider.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@909058 13f79535-47bb-0310-9956-ffa450edef68
2010-02-11 16:22:58 +00:00
Donald Woods 9c90ca5506 merged in r902968 from beta branch
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@902988 13f79535-47bb-0310-9956-ffa450edef68
2010-01-25 21:50:14 +00:00
Jeremy Bauer f4d0966de5 OPENJPA-1115 Enabled delimited id test on MySQL and fix identifier conversion related bugs.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@901362 13f79535-47bb-0310-9956-ffa450edef68
2010-01-20 20:14:19 +00:00
Jeremy Bauer 9e73688412 OPENJPA-1115 Eliminate alias conversion on configurations that do not require conversion.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@900985 13f79535-47bb-0310-9956-ffa450edef68
2010-01-19 22:33:11 +00:00
Jeremy Bauer 8e0e9cfbd2 OPENJPA-1115 Base identifier support
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@899738 13f79535-47bb-0310-9956-ffa450edef68
2010-01-15 18:05:14 +00:00
Fay Wang 2331d20522 OPENJPA-1458: fix named parameter problem
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@898936 13f79535-47bb-0310-9956-ffa450edef68
2010-01-13 20:49:01 +00:00
Donald Woods 55bf86a4c8 OPENJPA-1456 Replace StringBuffer usage with StringBuilder for minor performance/scalability improvement
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@898168 13f79535-47bb-0310-9956-ffa450edef68
2010-01-12 03:31:11 +00:00
Richard G. Curtis 0efea474f2 OPENJPA-250: Committing to trunk. Submitted by Patrick Linskey, Simon Droscher, and Rick Curtis.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@898024 13f79535-47bb-0310-9956-ffa450edef68
2010-01-11 19:34:23 +00:00
Donald Woods 3065f2febb OPENJPA-1452 Configurations attempts to modiy an umodifiable map. Add null checks back in to match 1.2/1.3 branches.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@897284 13f79535-47bb-0310-9956-ffa450edef68
2010-01-08 18:23:07 +00:00
Donald Woods 6710465b7c OPENJPA-1452 Configurations attempts to modiy an umodifiable map. Patch contributed by JIRA uid baboune.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@897269 13f79535-47bb-0310-9956-ffa450edef68
2010-01-08 17:23:24 +00:00
Fay Wang 5d9f08e728 OPENJPA-1432: preserve Compatibility flags set in compliance with the Specification.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@892397 13f79535-47bb-0310-9956-ffa450edef68
2009-12-18 23:24:23 +00:00
Pinaki Poddar 4715cc737b OPENJPA-1050: Use generic types whenever possible. Replace ordered map with native implementation wrapper.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@889800 13f79535-47bb-0310-9956-ffa450edef68
2009-12-11 20:32:16 +00:00
Fay Wang d1feecbc9e OPENJPA-1371: wrong commit. Revert it to the previous version
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@831627 13f79535-47bb-0310-9956-ffa450edef68
2009-11-01 00:52:48 +00:00
Fay Wang eabd0c9454 OPENJPA-1371: fail to extract correct id from an entity during merge when this entity has compound primary key using IdClass, and some field in the IdClass is a derived identity from a not-yet-managed toOne relation.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@831626 13f79535-47bb-0310-9956-ffa450edef68
2009-11-01 00:50:15 +00:00
Pinaki Poddar 5e73ca14ed Consolidate property key-value processings for javax.persistence.* keys. They have been accumulating in OpenJPAConf and now moving to where they belong i.e. PersistenceProductDerivation. The value processing from String/integer/enums for these properties have also been spread across many places and now being localized.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@830806 13f79535-47bb-0310-9956-ffa450edef68
2009-10-29 00:22:27 +00:00
Pinaki Poddar 3ec0fbf66f OPENJPA-1354: DBCP getConnection with user/password
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@830426 13f79535-47bb-0310-9956-ffa450edef68
2009-10-28 03:00:17 +00:00
Pinaki Poddar 59c81b98aa OPENJPA-1121: Load user-defined Enums.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@826959 13f79535-47bb-0310-9956-ffa450edef68
2009-10-20 05:40:40 +00:00
Pinaki Poddar 60491eb4d8 Recognize javax.persistence as a valid property prefix
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@823328 13f79535-47bb-0310-9956-ffa450edef68
2009-10-08 21:17:47 +00:00
Pinaki Poddar 1ff5810e9e OPENJPA-250: Correct MetaDataRepository plug-in configuration.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@820804 13f79535-47bb-0310-9956-ffa450edef68
2009-10-01 21:30:39 +00:00
Pinaki Poddar 99844b6b1f OPENJPA-1332: Make some Value "private".
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@820712 13f79535-47bb-0310-9956-ffa450edef68
2009-10-01 16:43:19 +00:00
Pinaki Poddar baf800f3b0 OPENJPA-1050: Use generics for BrokerFactory
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@819800 13f79535-47bb-0310-9956-ffa450edef68
2009-09-29 02:43:32 +00:00
Richard G. Curtis eded0dd8fa OPENJPA-1302: Use ContextClassloader in addition to the ProductDeivation's ClassLoader to find/load product derivations. Patch contributed by Rick Curtis.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@815447 13f79535-47bb-0310-9956-ffa450edef68
2009-09-15 18:56:55 +00:00
Pinaki Poddar 81065fea3c OPENJPA-703: process RangeResultObjectProvider
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@814071 13f79535-47bb-0310-9956-ffa450edef68
2009-09-11 22:51:19 +00:00
Pinaki Poddar dc5c7f487a OPENJPA-1285: Use tighter method signature
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@813982 13f79535-47bb-0310-9956-ffa450edef68
2009-09-11 18:53:34 +00:00
Pinaki Poddar a8640cc5d2 OPENJPA-1285: Dynamic JDBC 4 Wrappers use constructor to save reflection cost
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@813149 13f79535-47bb-0310-9956-ffa450edef68
2009-09-09 22:43:49 +00:00
Michael Dick b32bf1b730 remove errant TODO
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@810228 13f79535-47bb-0310-9956-ffa450edef68
2009-09-01 20:47:33 +00:00
Pinaki Poddar 4e6a98f634 OPENJPA-849,OPENJPA-1251: Property management, hidden values
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@805567 13f79535-47bb-0310-9956-ffa450edef68
2009-08-18 20:27:30 +00:00
Pinaki Poddar 814341420d OPENJPA-849, OPENJPA-1251: property management, hidden values
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@805565 13f79535-47bb-0310-9956-ffa450edef68
2009-08-18 20:20:26 +00:00
Michael Dick 17da1c9a7e OPENJPA-1089:
Adding EncryptionProvider configuration option.
Submitted By : Rick Curtis

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@800504 13f79535-47bb-0310-9956-ffa450edef68
2009-08-03 19:25:44 +00:00
Albert Lee d35e668190 OENJPA-1206 - Enable Java 2 security on BV buildDefaultValidatorFactory call.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@799155 13f79535-47bb-0310-9956-ffa450edef68
2009-07-30 02:09:02 +00:00
Albert Lee ba84a115bc OENJPA-1206 - Enable Java 2 security on BV validate call.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@799013 13f79535-47bb-0310-9956-ffa450edef68
2009-07-29 18:58:00 +00:00
Michael Dick f6413764d5 OPENJPA-1168:
Improved checking for type1 UUID generator is initialized. Reducing
timing window which could result in a NPE.
Submitted by: Rick Curtis
	modified:   openjpa-lib/src/main/java/org/apache/openjpa/lib/util/UUIDGenerator.java
	modified:   openjpa-lib/src/test/java/org/apache/openjpa/lib/util/TestUUIDGenerator.java

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@792592 13f79535-47bb-0310-9956-ffa450edef68
2009-07-09 16:01:48 +00:00
Donald Woods 8613683843 OPENJPA-1000 Consistent usage of serialVersionUID. Remove all serialVersionUID values that have been added since 1.2.1 as requested by Pinaki to keep the usage consistant (ie. very little use of serialVersionUID in the existing code.)
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@792312 13f79535-47bb-0310-9956-ffa450edef68
2009-07-08 20:48:46 +00:00
Jeremy Bauer ac12bb4ade OPENJPA-1135 Correct access type related issue with multi-level parsing
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@790151 13f79535-47bb-0310-9956-ffa450edef68
2009-07-01 12:53:39 +00:00
Jeremy Bauer 62be4544b3 OPENJPA-1135 Apply overrides to deferred embeddable attributes
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@783966 13f79535-47bb-0310-9956-ffa450edef68
2009-06-12 02:40:14 +00:00
Albert Lee 7b06c5cfbf OPENJPA-932 - Enable test case to be Java 2 security compliance.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@783440 13f79535-47bb-0310-9956-ffa450edef68
2009-06-10 18:15:01 +00:00
Pinaki Poddar b961b8baa2 OPENJPA-1013: Aliasing for query nodes, single attribute join support, reorganization of test harness
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@783166 13f79535-47bb-0310-9956-ffa450edef68
2009-06-10 00:41:35 +00:00
Donald Woods 549115f77c fix missing license header problems found by rat plugin during EA2 creation
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@781462 13f79535-47bb-0310-9956-ffa450edef68
2009-06-03 16:26:16 +00:00
Albert Lee 35d97a14d3 OPENJPA-5 - Add doPriv around "new BCClassLoader" and "project.loadClass()"
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@780879 13f79535-47bb-0310-9956-ffa450edef68
2009-06-01 23:23:45 +00:00
Milosz Tylenda e80110bdd1 OPENJPA-847: Enable JDBC 3 way of retrieving generated keys
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@780258 13f79535-47bb-0310-9956-ffa450edef68
2009-05-30 13:11:24 +00:00
Donald Woods c9e74d4c7a update pom names to better match the module name and add descriptions where missing
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@779579 13f79535-47bb-0310-9956-ffa450edef68
2009-05-28 12:10:45 +00:00