Commit Graph

4351 Commits

Author SHA1 Message Date
Jeremy Bauer 3e1de6c8e3 OPENJPA-2165 Added support for non-db-ordered list proxies that provide the ability to do non-indexed add or remove operations without loading the collection from the database. Testcases and documentation will follow in future commits.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1306449 13f79535-47bb-0310-9956-ffa450edef68
2012-03-28 16:10:35 +00:00
Richard G. Curtis 3d04bdd463 OPENJPA-2161: Make StateManagerId public to allow for greater extensibility.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1305055 13f79535-47bb-0310-9956-ffa450edef68
2012-03-25 15:01:54 +00:00
Dianne E. Richards 83b432a46f OPENJPA-2159 Provide dictionary option for Date rounding
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1304349 13f79535-47bb-0310-9956-ffa450edef68
2012-03-23 13:59:13 +00:00
Richard G. Curtis 1925881f5d OPENJPA-2158: Null out StateManager when lite auto detaching proxies.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1303507 13f79535-47bb-0310-9956-ffa450edef68
2012-03-21 19:06:42 +00:00
Richard G. Curtis 1d71976c8f OPENJPA-2156: Add support for generating a final class.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1303496 13f79535-47bb-0310-9956-ffa450edef68
2012-03-21 18:41:42 +00:00
Richard G. Curtis 7063dd5296 OPENJPA-2156: Correctly generate imports when using classes in java.util packages.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1301641 13f79535-47bb-0310-9956-ffa450edef68
2012-03-16 16:43:34 +00:00
Jeremy Bauer f4e1d195bb OPENJPA-2120 add optimization to methods that use a field manager
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1300380 13f79535-47bb-0310-9956-ffa450edef68
2012-03-13 22:10:24 +00:00
Albert Lee ca7918e88c OPENJPA-2154 Fix path to load security policy file for test-dynamic-enhancer profile.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1299561 13f79535-47bb-0310-9956-ffa450edef68
2012-03-12 05:02:37 +00:00
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