Commit Graph

352 Commits

Author SHA1 Message Date
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