Commit Graph

4462 Commits

Author SHA1 Message Date
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
Richard G. Curtis 2c65619be4 OPENJPA-2068: Fixing a bug where we were incorrectly removing LRS proxy fields while loading the proxy.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1233434 13f79535-47bb-0310-9956-ffa450edef68
2012-01-19 15:33:01 +00:00
Pinaki Poddar 6bed19c848 OPENJPA-2099: cached select for handler strategy
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1233094 13f79535-47bb-0310-9956-ffa450edef68
2012-01-18 22:20:14 +00:00
Pinaki Poddar 024ff20a8c OPENJPA-2099: Guard cached select
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1233026 13f79535-47bb-0310-9956-ffa450edef68
2012-01-18 19:58:59 +00:00
Pinaki Poddar 3dee2ca176 Use typed list when possible
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1233023 13f79535-47bb-0310-9956-ffa450edef68
2012-01-18 19:57:47 +00:00
Pinaki Poddar c2e11e7f13 Let PCEhancer report the class it is enhancing
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1233021 13f79535-47bb-0310-9956-ffa450edef68
2012-01-18 19:57:22 +00:00
Pinaki Poddar 6430d8eb92 OPENJPA-2111: Optimize lookup when possible
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1232650 13f79535-47bb-0310-9956-ffa450edef68
2012-01-17 23:37:39 +00:00
Pinaki Poddar 3c1a262106 OPENJPA-2108: Allow configuration for SQL termination character in Mapping Tool
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1232449 13f79535-47bb-0310-9956-ffa450edef68
2012-01-17 15:52:17 +00:00
Pinaki Poddar 1a50b5fe76 OPENJPA:2099: Cacheing select construct with class/field strategy. Adding configuration
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1232415 13f79535-47bb-0310-9956-ffa450edef68
2012-01-17 14:04:07 +00:00
Albert Lee 5bb79b9309 Add 5-Aug-2011 version of JPA TCK 2.0 launch script.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1231524 13f79535-47bb-0310-9956-ffa450edef68
2012-01-14 16:44:12 +00:00
Richard G. Curtis d354f7cf84 OPENJPA-2107: Only reset Broker.flushed flag if initializing a new Statemanager.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1231375 13f79535-47bb-0310-9956-ffa450edef68
2012-01-13 22:59:33 +00:00
Albert Lee e267cdd562 Replace hard-coded tck runtime timeout (7200000) to system property jpatck.run.tmo (default to 7200000).
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1230597 13f79535-47bb-0310-9956-ffa450edef68
2012-01-12 15:39:46 +00:00
Albert Lee 0ec5ae0c92 Replace hard-coded tck runtime timeout (7200000) to system property jpatck.run.tmo (default to 7200000).
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1230581 13f79535-47bb-0310-9956-ffa450edef68
2012-01-12 15:12:58 +00:00
Mark Struberg 3beb74571a switch back trunk to 2.2.0-SNAPSHOT
we wil restart the 2.2.x after a few important fixes on trunk


git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1230495 13f79535-47bb-0310-9956-ffa450edef68
2012-01-12 11:28:50 +00:00
Albert Lee 162e98d5b3 Increase TCK run time limit for slower system.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1230135 13f79535-47bb-0310-9956-ffa450edef68
2012-01-11 16:40:57 +00:00
Pinaki Poddar 2846f873c2 OPENJPA-2099: Reuse internal select by parameter rebinding
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1229690 13f79535-47bb-0310-9956-ffa450edef68
2012-01-10 19:08:31 +00:00
Mark Struberg 6289157f9c release preparation. Move trunk to 2.3.0-SNAPSHOT
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1229557 13f79535-47bb-0310-9956-ffa450edef68
2012-01-10 14:29:08 +00:00