Commit Graph

4543 Commits

Author SHA1 Message Date
Albert Lee b68cf1d0fb OPENJPA-2153 Mark DBCPDriverDataSource non-abstract so that DBCPDriverDataSource.class.newinstance is used to instantiate for property configuration.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1299276 13f79535-47bb-0310-9956-ffa450edef68
2012-03-10 21:26:31 +00:00
Kevin W. Sutter cc4f6264ba OPENJPA-2152. Don't submit and process an extra query hint if the desired LockModeType is NONE (the default).
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1299042 13f79535-47bb-0310-9956-ffa450edef68
2012-03-09 21:02:18 +00:00
Albert Lee a7f8af893c Update User Guide version, copyright year and upload build problems.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1299001 13f79535-47bb-0310-9956-ffa450edef68
2012-03-09 19:33:00 +00:00
Dianne E. Richards f94fb7f727 OPENJPA-2132 Fix empty List for OneToMany with InheritanceType.JOINED or SINGLE_TABLE
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1298856 13f79535-47bb-0310-9956-ffa450edef68
2012-03-09 14:46:44 +00:00
Dianne E. Richards e1c4c92888 OPENJPA-2142 test case
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1298490 13f79535-47bb-0310-9956-ffa450edef68
2012-03-08 18:02:40 +00:00
Jeremy Bauer ecf492ac46 OPENJPA-2143 reverting back to previous revision
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1297989 13f79535-47bb-0310-9956-ffa450edef68
2012-03-07 15:20:04 +00:00
Albert Lee b98289edbc Update tck 2 configuration in tck2-20110815.xml and enable pluggability test.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1296752 13f79535-47bb-0310-9956-ffa450edef68
2012-03-04 05:47:37 +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
Jody Grassel 8971fda1aa OPENJPA-2146: StateManager for Embeddable may throw Exception while initializing
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1294791 13f79535-47bb-0310-9956-ffa450edef68
2012-02-28 19:08:03 +00:00
Albert Lee 5f5b20f523 OPENJPA-2145 Assemble asm-3.2.jar into binary zip file for distribution.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1294352 13f79535-47bb-0310-9956-ffa450edef68
2012-02-27 21:56:51 +00:00
Jeremy Bauer ce44b7ddcd OPENJPA-2143 reduce lock contention on LifecycleEventManager
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1293402 13f79535-47bb-0310-9956-ffa450edef68
2012-02-24 20:35:02 +00:00
Dianne E. Richards c275da64ab OPENJPA-2142 Handle merge of new object with Entity Id field
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1293315 13f79535-47bb-0310-9956-ffa450edef68
2012-02-24 16:09:31 +00:00
Jeremy Bauer d03434b557 OPENJPA-2141 fix and test for lazy embedded fields
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1293250 13f79535-47bb-0310-9956-ffa450edef68
2012-02-24 13:53:01 +00:00
Kevin W. Sutter fdda697583 OPENJPA-2123. Introduce a new DBDictionary property (trimStringColumns) that allows for trimming of String columns when retrieved from the ResultSet.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1292574 13f79535-47bb-0310-9956-ffa450edef68
2012-02-22 23:09:39 +00:00
Jeremy Bauer 103aa4ffc0 OPENJPA-2140 Update locking tests to use a unique pu name
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1292564 13f79535-47bb-0310-9956-ffa450edef68
2012-02-22 22:46:51 +00:00
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