Commit Graph

340 Commits

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