Commit Graph

4363 Commits

Author SHA1 Message Date
Kevin W. Sutter c5d2d2c217 OPENJPA-2151. Optimizations to StateManagerImpl.initialize and FieldMetaData access.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1307622 13f79535-47bb-0310-9956-ffa450edef68
2012-03-30 21:26:31 +00:00
Kevin W. Sutter 83916ff986 OPENJPA-2164. If the field being requested is already loaded, then skip the overhead and just return the field value.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1307608 13f79535-47bb-0310-9956-ffa450edef68
2012-03-30 20:56:44 +00:00
Kevin W. Sutter 461471d174 OPENJPA-2164. Change the Savepoints testcase to be more consistent with the expectations of savepoints.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1307595 13f79535-47bb-0310-9956-ffa450edef68
2012-03-30 20:20:04 +00:00
Albert Lee e9ab0d7cec OPENJPA-2163 Update migration documentation.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1307457 13f79535-47bb-0310-9956-ffa450edef68
2012-03-30 15:01:38 +00:00
Kevin W. Sutter b897fe50cc OPENJPA-2167. Allow "none" setting for AutoDetach for debug purposes.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1307425 13f79535-47bb-0310-9956-ffa450edef68
2012-03-30 13:57:29 +00:00
Kevin W. Sutter 90fcd9623d OPENJPA-2167. Only attempt to fire TransactionEvents if the TransactionEventManager is not empty.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1307219 13f79535-47bb-0310-9956-ffa450edef68
2012-03-30 02:19:45 +00:00
Kevin W. Sutter 208be279f9 OPENJPA-2167. Only reload the proxy fields if the field is loaded and dirty.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1307217 13f79535-47bb-0310-9956-ffa450edef68
2012-03-30 02:02:50 +00:00
Kevin W. Sutter 0354b057c9 OPENJPA-2162. Allow the setting of the DBDictionary property supportsDelimitedIdentifiers to "false" to skip the extra overhead of processing delimited identifiers when they will not exist for a given application or usage.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1307157 13f79535-47bb-0310-9956-ffa450edef68
2012-03-29 23:06:42 +00:00
Albert Lee 42372cf609 OPENJPA-2163 Simplify configuration: move SingletonLifecycleEventManager from property to Compatibility option.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1307018 13f79535-47bb-0310-9956-ffa450edef68
2012-03-29 17:50:19 +00:00
Albert Lee 284b6e5ced OPENJPA-2163 Add SingletonLifecycleEventManager property to interface and documentation.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1306636 13f79535-47bb-0310-9956-ffa450edef68
2012-03-28 23:01:42 +00:00
Albert Lee f506835fa8 OPENJPA-2163 Change LifecycleEventManager PluginValue's singleton default value from true to false. Add SingletonLifecycleEventManager property allow previous property to switch singleton value back to true. Since LifecycleEventManager is a internal property for BeanValidation support, the SingletonLifecycleEventManager property will be kept as internal property as well.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1306592 13f79535-47bb-0310-9956-ffa450edef68
2012-03-28 20:52:08 +00:00
Richard G. Curtis b2cc17c135 OPENJPA-2161: Refactor storing ClassMetaData in StateManagerImpl.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1306530 13f79535-47bb-0310-9956-ffa450edef68
2012-03-28 18:41:57 +00:00
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