Commit Graph

4728 Commits

Author SHA1 Message Date
Kevin W. Sutter 1cb2f10f6e OPENJPA-2123. Just check the value of db2ServerType instead of calling isDB2ZOSV8xOrLater().
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1292404 13f79535-47bb-0310-9956-ffa450edef68
2012-02-22 17:26:09 +00:00
Richard G. Curtis 1f3f320af3 OPENJPA-2137: Make some StateManagerImpl fields protected to allow for greater extensibility.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1292044 13f79535-47bb-0310-9956-ffa450edef68
2012-02-21 21:39:49 +00:00
Richard G. Curtis 6599b7b403 OPENJPA-2136: Fix NPE when using LiteAutoDetach.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1292034 13f79535-47bb-0310-9956-ffa450edef68
2012-02-21 21:14:57 +00:00
Kevin W. Sutter c55f8469f1 OPENJPA-2134. Do not close Connections during prepareForPooling if ConnectionRetainMode is set to "always".
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1291900 13f79535-47bb-0310-9956-ffa450edef68
2012-02-21 16:31:22 +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
Albert Lee 2d42a79c58 [maven-release-plugin] prepare branch 2.2.x
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1244805 13f79535-47bb-0310-9956-ffa450edef68
2012-02-16 00:30:16 +00:00
Albert Lee 777a1f6ba8 Documents update preparing for 2.2.0 release
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1244602 13f79535-47bb-0310-9956-ffa450edef68
2012-02-15 17:25:51 +00:00
Albert Lee a47e0b7798 Remove the assumption that the user id used in <site.deploy.url> to be env.user.name. i.e the log-in user id in the release system. Replace ${user.name} to ${site.deploy.user.name} which needs to be set in settings.xml.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1244538 13f79535-47bb-0310-9956-ffa450edef68
2012-02-15 15:34:23 +00:00
Albert Lee 0b55b3bc7c Documents update preparing for 2.2.0 release
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1244062 13f79535-47bb-0310-9956-ffa450edef68
2012-02-14 16:05:51 +00:00
Albert Lee bb9fd6f65c OPENJPA-2130 - Introduce properties (<compile.class.source>, </compile.class.target>,<compile.testclass.source> and <compile.testclass.target>) allowing user to specify source and target class versions for code and test.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1244001 13f79535-47bb-0310-9956-ffa450edef68
2012-02-14 15:37:52 +00:00
Albert Lee b1e7cb3a70 Fix checkstyle typos.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1243987 13f79535-47bb-0310-9956-ffa450edef68
2012-02-14 15:16:57 +00:00
Pinaki Poddar 5680616fcc A sample finder target policy
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1243932 13f79535-47bb-0310-9956-ffa450edef68
2012-02-14 14:18:11 +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
Kevin W. Sutter e6d667e6db OPENJPA-2076. Too many newline characters in this one message...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1243537 13f79535-47bb-0310-9956-ffa450edef68
2012-02-13 14:43:56 +00:00
Jeremy Bauer f9cf3b7919 OPENJPA-2124 Committing patch contributed by Helen Xu. Test covered by existing jUnit.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1242547 13f79535-47bb-0310-9956-ffa450edef68
2012-02-09 21:52:28 +00:00
Albert Lee 0f17510c5c Documents change preparing for 2.2.0 release
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1242395 13f79535-47bb-0310-9956-ffa450edef68
2012-02-09 16:51:24 +00:00
Richard G. Curtis 98859e2006 OPENJPA-2119: Fix checkstyle error.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1242163 13f79535-47bb-0310-9956-ffa450edef68
2012-02-08 22:58:33 +00:00
Richard G. Curtis 824753b36c OPENJPA-2119: Added support for generating a constructor and greater support for tabbing. Also fixed a number of bugs.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1242154 13f79535-47bb-0310-9956-ffa450edef68
2012-02-08 22:38:07 +00:00
Kevin W. Sutter 91eb9d4792 OPENJPA-2122. The conditional to check for the proper Java 7 major version (51) was incorrect. I also updated how we invoked the ASM hook so that the Trace message in the finally block would output the correct number of bytes.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1241719 13f79535-47bb-0310-9956-ffa450edef68
2012-02-08 00:52:32 +00:00
Pinaki Poddar 647ab63101 OPENJPA-2099: doc for openjpa.jdbc.CachesSelect option
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1241509 13f79535-47bb-0310-9956-ffa450edef68
2012-02-07 16:23:51 +00:00
Kevin W. Sutter e5a7710d6b OPENJPA-2099. Temporarily disabling openjpa.CachesSelect property while cutting the 2.2.0 release.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1241492 13f79535-47bb-0310-9956-ffa450edef68
2012-02-07 15:44:28 +00:00
Jeremy Bauer e14af5d7ab OPENJPA-2120 Add option for optimizing copy operations for qualifying id classes.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1241207 13f79535-47bb-0310-9956-ffa450edef68
2012-02-06 22:03:02 +00:00
Kevin W. Sutter e8aaaccf9c OPENJPA-2076. The ASL message that is inserted into the generated metamodel code should not be translated. Added a comment to indicate this.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1241052 13f79535-47bb-0310-9956-ffa450edef68
2012-02-06 15:57:41 +00:00
Pinaki Poddar 3a5fce3e33 OPENJPA-2099: checkstyle error
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1240589 13f79535-47bb-0310-9956-ffa450edef68
2012-02-04 18:46:47 +00:00
Pinaki Poddar b0536597ae OPENJPA-2099: account for detached state manager
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1240572 13f79535-47bb-0310-9956-ffa450edef68
2012-02-04 18:09:57 +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 64c8d56e9a OPENJPA-2099: Remove generics
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1240419 13f79535-47bb-0310-9956-ffa450edef68
2012-02-04 00:44:27 +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 ba3f74e8be OPENJPA-2099: disable the feature temporarily
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1240416 13f79535-47bb-0310-9956-ffa450edef68
2012-02-04 00:34:59 +00:00
Pinaki Poddar 65f9e59265 OPENJPA-2099: Rollback toString() because DB2 error not investigated
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1240304 13f79535-47bb-0310-9956-ffa450edef68
2012-02-03 19:13:59 +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
Jody Grassel 52ea95686b OPENJPA-1901: QueryCacheStoreQuery CachedObjectId is not Serializable
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1240284 13f79535-47bb-0310-9956-ffa450edef68
2012-02-03 18:34:30 +00:00
Pinaki Poddar a666c1d14b OPENJPA-2099: Added toString() for debugging
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1240240 13f79535-47bb-0310-9956-ffa450edef68
2012-02-03 16:44:28 +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
Albert Lee ad41647b99 OPENJPA-2117 - Fix formatting problem
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1236732 13f79535-47bb-0310-9956-ffa450edef68
2012-01-27 16:23:33 +00:00
Albert Lee 11dc47c80a OPENJPA-2117 - change setColumn gated on isSerialized not isElementCollection
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1236731 13f79535-47bb-0310-9956-ffa450edef68
2012-01-27 16:20:05 +00:00
Albert Lee 1de07a52ec Remove left-over System.out.println("++++ INDEX")
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1236416 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 22:22:36 +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 3929e28cda OPENJPA-1050: Use generics
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1236282 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 16:37:54 +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 ccdcf9b3fd OPENJPA-1050: Use generics
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1236278 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 16:35:16 +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 ade97ac4d4 OPENJPA-2099: Silly checkstyl error
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1235604 13f79535-47bb-0310-9956-ffa450edef68
2012-01-25 02:39:38 +00:00
Pinaki Poddar 816280b17b OPENJPA-2099: Align Slice threading model and Select reuse threading model
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1235594 13f79535-47bb-0310-9956-ffa450edef68
2012-01-25 02:01:30 +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
Richard G. Curtis dc95a8a2e6 OPENJPA-2068: Update test Entities.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1233509 13f79535-47bb-0310-9956-ffa450edef68
2012-01-19 18:16:56 +00:00