Commit Graph

4542 Commits

Author SHA1 Message Date
Albert Lee 8c2527215d OPENJPA-2231 - introduce replace method using Reader for input stream.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1366475 13f79535-47bb-0310-9956-ffa450edef68
2012-07-27 18:12:44 +00:00
Albert Lee a7b90fd9ed OPENJPA-2232 - Disable TestAudit temporarily until problem is resolved.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1366474 13f79535-47bb-0310-9956-ffa450edef68
2012-07-27 18:09:26 +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
Albert Lee 654f835222 OPENJPA-2196 - Commit contribution by Scott Parkerson.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1365688 13f79535-47bb-0310-9956-ffa450edef68
2012-07-25 18:30:31 +00:00
Richard G. Curtis 5afd4e851b OPENJPA-2238: Don't create custom proxies for default scoped classes.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1364683 13f79535-47bb-0310-9956-ffa450edef68
2012-07-23 15:35:01 +00:00
Jeremy Bauer 0506e9f0b5 OPENJPA-2236 put try/catch around connection info trace in DBDictionary
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1363627 13f79535-47bb-0310-9956-ffa450edef68
2012-07-20 02:51:52 +00:00
Richard G. Curtis 4b04ef53cf OPENJPA-2228: Fix SQLBuffer when using an Entity with an EmbeddedId that has multiple pks and QuerySQLCache is enabled. Patch contributed by Helen Xu.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1362679 13f79535-47bb-0310-9956-ffa450edef68
2012-07-17 21:59:10 +00:00
Richard G. Curtis a42c9c280a OPENJPA-2229: Add support for JBoss vfs when process Entities.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1361564 13f79535-47bb-0310-9956-ffa450edef68
2012-07-14 17:17:54 +00:00
Richard G. Curtis 90032dc954 Update svn:ignore for openjpa-tools modules.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1361562 13f79535-47bb-0310-9956-ffa450edef68
2012-07-14 17:02:09 +00:00
Kevin W. Sutter 5eb13dbde9 OPENJPA-2230. Set the _activated flag when processing EventListeners in super classes.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1361354 13f79535-47bb-0310-9956-ffa450edef68
2012-07-13 19:46:41 +00:00
Albert Lee f30d74802d OPENJPA-2199 - Guard null pc value.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1361285 13f79535-47bb-0310-9956-ffa450edef68
2012-07-13 16:22:16 +00:00
Richard G. Curtis b04dee5ad2 OPENJPA-2220: Update pom.xml to use the shaded jar rather than the default jar.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1360411 13f79535-47bb-0310-9956-ffa450edef68
2012-07-11 21:27:12 +00:00
Richard G. Curtis e4d72a7983 OPENJPA-2220: Update pom.xml to publish shaded jar.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1360382 13f79535-47bb-0310-9956-ffa450edef68
2012-07-11 20:22:49 +00:00
Richard G. Curtis d586739ae3 OPENJPA-2220: Break fetch statistics apart into multiple dependent modules.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1359941 13f79535-47bb-0310-9956-ffa450edef68
2012-07-10 22:50:24 +00:00
Albert Lee b5c83f05f9 Change TestId class name to IdTestClass to avoid JUnit 4 detects TestId is a test case and generates "java.lang.Exception: No runnable methods" failures.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1359936 13f79535-47bb-0310-9956-ffa450edef68
2012-07-10 22:24:16 +00:00
Richard G. Curtis 1246de0774 OPENJPA-2220: Update pom.xml(s)
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1359431 13f79535-47bb-0310-9956-ffa450edef68
2012-07-09 22:23:05 +00:00
Richard G. Curtis 1de868af05 OPENJPA-2220: Commit fetch statistic tool. Patch contributed by Helen Xu.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1356860 13f79535-47bb-0310-9956-ffa450edef68
2012-07-03 18:21:24 +00:00
Pinaki Poddar dc339a98bc Reduce log level when meta class not found
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1356544 13f79535-47bb-0310-9956-ffa450edef68
2012-07-03 02:18:03 +00:00
Richard G. Curtis 60c94ad412 OPENJPA-2030: Fix erroneous test commit.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1356259 13f79535-47bb-0310-9956-ffa450edef68
2012-07-02 14:31:22 +00:00
Richard G. Curtis f5d06d7330 OPENJPA-2030: Fix line length.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1354597 13f79535-47bb-0310-9956-ffa450edef68
2012-06-27 15:57:18 +00:00
Pinaki Poddar cbffb40022 OPENJPA-2030: Missing license
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1354484 13f79535-47bb-0310-9956-ffa450edef68
2012-06-27 13:30:21 +00:00
Pinaki Poddar 1fe219eeae save circular serialization error
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1354283 13f79535-47bb-0310-9956-ffa450edef68
2012-06-26 22:54:23 +00:00
Pinaki Poddar 56bd02449a OPENJPA-2030: Add a test for audit
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1354266 13f79535-47bb-0310-9956-ffa450edef68
2012-06-26 22:16:03 +00:00
Pinaki Poddar 318642931b OPENJPA-2030: Collect dirty fields with a smarter loop
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1354265 13f79535-47bb-0310-9956-ffa450edef68
2012-06-26 22:11:49 +00:00
Pinaki Poddar 325c7a2f2f OPENJPA-2030: Add support to detect dirty outside transaction
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1354233 13f79535-47bb-0310-9956-ffa450edef68
2012-06-26 21:04:12 +00:00
Pinaki Poddar 91c9e23478 Put an entity manager as the user object in a broker
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1354226 13f79535-47bb-0310-9956-ffa450edef68
2012-06-26 20:56:43 +00:00
Pinaki Poddar 11b8035ace add a test with entity with separate Id class
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1354225 13f79535-47bb-0310-9956-ffa450edef68
2012-06-26 20:55:03 +00:00
Pinaki Poddar f3e64797b2 Check not only select but update as well
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1354210 13f79535-47bb-0310-9956-ffa450edef68
2012-06-26 20:27:44 +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 d1306467c3 OPENJPA-2183 - enable missing openjpa.hint.RelaxParameterTypeChecking
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1347017 13f79535-47bb-0310-9956-ffa450edef68
2012-06-06 18:13:14 +00:00
Richard G. Curtis 3f03f91eb8 OPENJPA-2209: Add comment to AbstractBrokerFactory.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1346896 13f79535-47bb-0310-9956-ffa450edef68
2012-06-06 14:00:05 +00:00
Richard G. Curtis c120b18eb9 OPENJPA-2209: Allow configuration of MetaDataRepository preloading with a lowercase property.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1346874 13f79535-47bb-0310-9956-ffa450edef68
2012-06-06 13:10:51 +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
Kevin W. Sutter dde88d592c OPENJPA-2204. Detect a potential null value before blindly outputting a trace string.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1346213 13f79535-47bb-0310-9956-ffa450edef68
2012-06-05 02:23:03 +00:00
Dianne E. Richards 4f479a9887 OPENJPA-2175 Fix problem with multiple foreign keys of the same type
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1346073 13f79535-47bb-0310-9956-ffa450edef68
2012-06-04 18:18:04 +00:00
Heath Thomann e6129051c2 OPENJPA-2095: Applied Helen Xu's patch to trunk with Albert's test case changes.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1345263 13f79535-47bb-0310-9956-ffa450edef68
2012-06-01 16:02:31 +00:00
Heath Thomann 5fb9e71726 OPENJPA-2072: Applied Helen Xu's patch to trunk, and applied test case changes as Albert had done in JIRA OPENJPA-2095 for issue with using Test* in entity name.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1344914 13f79535-47bb-0310-9956-ffa450edef68
2012-05-31 21:17:41 +00:00
Heath Thomann ebe06fdf35 OPENJPA-2174: Applied Helen Xu's patch to trunk
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1344721 13f79535-47bb-0310-9956-ffa450edef68
2012-05-31 13:39:52 +00:00
Heath Thomann 11cd0d5fd4 OPENJPA-2118: Provide fix to avoid possible 'division by zero' error.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1344498 13f79535-47bb-0310-9956-ffa450edef68
2012-05-30 23:09:15 +00:00
Jeremy Bauer 8200a351a7 OPENJPA-2120 documentation for OptimizeIdCopy property
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1343753 13f79535-47bb-0310-9956-ffa450edef68
2012-05-29 14:41:11 +00:00
Richard G. Curtis 7cee19d3be OPENJPA-2151: Fix NPE in ClassMetaData.hasInverseManagedFields.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1342747 13f79535-47bb-0310-9956-ffa450edef68
2012-05-25 17:58:06 +00:00
Mark Struberg 908e0f6935 OPENJPA-2200 remove unused imports
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1340856 13f79535-47bb-0310-9956-ffa450edef68
2012-05-20 22:04:16 +00:00
Mark Struberg fe1a099bcf OPENJPA-2179 use other ways to disable the test
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1340840 13f79535-47bb-0310-9956-ffa450edef68
2012-05-20 21:02:19 +00:00
Mark Struberg ac9466b460 OPENJPA-2179 provide unit test (disabled)
please remove the 'disabled' from the disabledtestJoinOnly
test method to verify the bug. 


git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1340835 13f79535-47bb-0310-9956-ffa450edef68
2012-05-20 20:41:56 +00:00
Mark Struberg 6be44b2e40 remove tabs
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1340834 13f79535-47bb-0310-9956-ffa450edef68
2012-05-20 20:40:42 +00:00
Mark Struberg 2889520be9 fix codestyle only
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1340833 13f79535-47bb-0310-9956-ffa450edef68
2012-05-20 20:40:09 +00:00
Mark Struberg 8a7ce9df2e OPENJPA-2179 improve test and move to general
Sadly I experienced that this not only happens with Oracle
but also on hsqldb, mysql and most probably any other.


git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1340808 13f79535-47bb-0310-9956-ffa450edef68
2012-05-20 19:26:21 +00:00
Mark Struberg 122f5fe92d remove unused import and fix JavaDoc
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1340705 13f79535-47bb-0310-9956-ffa450edef68
2012-05-20 12:58:04 +00:00
Jeremy Bauer f617557bc3 OPENJPA-2165 provide setters for element validation and tracker in new delayed proxy types
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1340217 13f79535-47bb-0310-9956-ffa450edef68
2012-05-18 19:27:41 +00:00
Albert Lee 901c70e1d6 OPENJPA-2199 - If inverse relation is removed (nulled out) when commit, attempt to find the target type from initialized object in the state manager to complete the update graph for foreign key constraint detection between the relationships.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1340123 13f79535-47bb-0310-9956-ffa450edef68
2012-05-18 15:08:50 +00:00