Commit Graph

4543 Commits

Author SHA1 Message Date
Richard G. Curtis 47e402ce90 OPENJPA-2353: Reduce BitSet object allocations in StateManagerImpl.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1457966 13f79535-47bb-0310-9956-ffa450edef68
2013-03-18 20:13:10 +00:00
Pinaki Poddar 70a201a55d OPENJPA-2305: Downcast the attribute, if necessary, while navigating a path
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1456614 13f79535-47bb-0310-9956-ffa450edef68
2013-03-14 19:04:44 +00:00
Pinaki Poddar e617abd086 Simple change to stringify a collection of values with proper spaces
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1456576 13f79535-47bb-0310-9956-ffa450edef68
2013-03-14 17:59:17 +00:00
Pinaki Poddar 0f4459fcb4 OPENJPA-2305: Revert to previous style of generated metamodel as flattening inherited variables violate the spec
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1456574 13f79535-47bb-0310-9956-ffa450edef68
2013-03-14 17:57:48 +00:00
Richard G. Curtis 9f0f92fc07 OPENJPA-2285: Revert prior changes.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1455204 13f79535-47bb-0310-9956-ffa450edef68
2013-03-11 16:01:42 +00:00
Richard G. Curtis e0bb4cd7c7 OPENJPA-2348: Revert prior commit.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1453928 13f79535-47bb-0310-9956-ffa450edef68
2013-03-07 15:50:36 +00:00
Richard G. Curtis 1e2b753afa OPENJPA-2348: Cache calculated hashcode in OpenJPAId.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1452884 13f79535-47bb-0310-9956-ffa450edef68
2013-03-05 16:25:55 +00:00
Richard G. Curtis 8c23eb3f48 OPENJPA-2347: Make StateManagerImpl more extensibile.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1452874 13f79535-47bb-0310-9956-ffa450edef68
2013-03-05 16:13:14 +00:00
Richard G. Curtis 80d1fddb75 OPENJPA-2346: Minor performance improvement to MetaDataRepository.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1452872 13f79535-47bb-0310-9956-ffa450edef68
2013-03-05 16:09:21 +00:00
Pinaki Poddar ecd1246c80 OPENJPA-2305: Restore the inheritance hierarchy of the generated canonical metamodel to that of the domain model due to spec compliance, but flatten the attributes so that an inherited attribute uses generic parameter of owning class type instead of the declared supertype
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1451369 13f79535-47bb-0310-9956-ffa450edef68
2013-02-28 21:46:54 +00:00
Richard G. Curtis 326fcd7a4c OPENJPA-2330: Change test Entity names.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1448796 13f79535-47bb-0310-9956-ffa450edef68
2013-02-21 20:46:22 +00:00
Richard G. Curtis 5632d5ab0a OPENJPA-2330: Fix StackoverflowError when checking if a field is loaded. Test contributed by Guillaume Chauvet.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1448662 13f79535-47bb-0310-9956-ffa450edef68
2013-02-21 14:39:07 +00:00
Richard G. Curtis fd5cc0436c OPENJPA-2328: Fix NoSuchElementException when using HandlerRelationMapTableFieldStrategy. Patch contributed by Guillaume Chauvet.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1447955 13f79535-47bb-0310-9956-ffa450edef68
2013-02-19 22:54:35 +00:00
Pinaki Poddar 4fbf3fc1f0 OPENJPA-2336: Consider database dictionary schema case while matching join column name
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1447945 13f79535-47bb-0310-9956-ffa450edef68
2013-02-19 22:30:34 +00:00
Pinaki Poddar 7ce7e55620 OPENJPA-2335: Set non-default value to a foreign key contrained column
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1447906 13f79535-47bb-0310-9956-ffa450edef68
2013-02-19 20:33:15 +00:00
Albert Lee 05b41094b8 OPENJPA-2332 - Update "no-driver" message content for clarity.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1446687 13f79535-47bb-0310-9956-ffa450edef68
2013-02-15 16:57:26 +00:00
Jody Grassel 3bdb0b95d8 OPENJPA-OpenJPA must support processing puRoot and jar-file URLs as jar-formatted InputStreams
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1446294 13f79535-47bb-0310-9956-ffa450edef68
2013-02-14 18:35:07 +00:00
Albert Lee cbc0301a72 OPENJPA-2326 - Fixed StoreCharAsInteger property for DB2.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1445653 13f79535-47bb-0310-9956-ffa450edef68
2013-02-13 15:14:09 +00:00
Kevin W. Sutter aad999df89 OPENJPA-2332. Updated the "no-driver" message and added a couple of additional Trace statements to help with debugging Datasource configuration issues.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1445220 13f79535-47bb-0310-9956-ffa450edef68
2013-02-12 16:02:12 +00:00
Albert Lee 862b0f5229 OPENJPA-2326 - Enable 21x and 221x running TCK 2 against databases other then Derby. Fixed a few configuration problems.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1445202 13f79535-47bb-0310-9956-ffa450edef68
2013-02-12 15:40:40 +00:00
Kevin W. Sutter 7f71656cf4 OPENJPA-2326. Just some cosmetic updates to pom.xml to help differentiate between the TCK 2.0 setup and the TCK 1.0 setup configurations.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1444821 13f79535-47bb-0310-9956-ffa450edef68
2013-02-11 15:14:58 +00:00
Albert Lee c0413aad9e OPENJPA-2326: remove ant-nodeps package dependency.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1444323 13f79535-47bb-0310-9956-ffa450edef68
2013-02-09 04:12:55 +00:00
Albert Lee cb309e75a8 OPENJPA-2326: Update TCK build.xml to use the correct property name for the pluggability tests.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1444230 13f79535-47bb-0310-9956-ffa450edef68
2013-02-08 20:47:00 +00:00
Albert Lee 4985e62f9b OPENJPA-2326: Remove table PROJECT in create.sql; add dictionary property Decimal(18,2) and minor fixes.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1443753 13f79535-47bb-0310-9956-ffa450edef68
2013-02-07 22:10:43 +00:00
Kevin W. Sutter 2facc84154 OPENJPA-2326. Found an errant trace statement that is not needed. Left over from a previous commit cleanup. Too much trace is generated...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1443682 13f79535-47bb-0310-9956-ffa450edef68
2013-02-07 19:37:47 +00:00
Albert Lee c8dd4fc32d OPENJPA-2326 - Remove duplicate <macrodef>.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1443582 13f79535-47bb-0310-9956-ffa450edef68
2013-02-07 15:59:54 +00:00
Albert Lee 35421424b5 OPENJPA-2326 - Enable running TCK 2 against databases other then Derby. Fixed a few configuration problems.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1443246 13f79535-47bb-0310-9956-ffa450edef68
2013-02-06 22:30:09 +00:00
Albert Lee 150755864c OPENJPA-2264 - restore deleted logSQLWarning(PreparedStatement) method to maintain binary backward compatibility.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1438133 13f79535-47bb-0310-9956-ffa450edef68
2013-01-24 19:27:12 +00:00
Kevin W. Sutter 52fb78cc24 OPENJPA-2326. A couple of updates to pom.xml and tck2-20110815.xml to make execution of the TCK more straight forward. I'm still experiencing some hiccups, but we're getting closer...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1437236 13f79535-47bb-0310-9956-ffa450edef68
2013-01-22 23:36:10 +00:00
Helen Xu e12dcddc38 OPENJPA-2295 restore the old method to be compatible.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1437190 13f79535-47bb-0310-9956-ffa450edef68
2013-01-22 21:38:21 +00:00
Pinaki Poddar e63abd92a7 OPENJPA-2325: Test cases for Mapped Super Class without identity field
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1436960 13f79535-47bb-0310-9956-ffa450edef68
2013-01-22 14:37:21 +00:00
Pinaki Poddar 01cae73832 OPENJPA-2325: Correct evaluation of identity type for MappedSuperclass without an identity field
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1436957 13f79535-47bb-0310-9956-ffa450edef68
2013-01-22 14:35:32 +00:00
Heath Thomann 2c3ec95860 OPENJPA-2324: Option to express literal in query string directly into generate SQL - applied Albert's patch to trunk.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1436543 13f79535-47bb-0310-9956-ffa450edef68
2013-01-21 18:41:30 +00:00
Pinaki Poddar 5b21125f5e OPENJPA-2321: Remove synchrnization on output stream
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1431649 13f79535-47bb-0310-9956-ffa450edef68
2013-01-10 21:16:14 +00:00
Albert Lee 5c3070f571 Revert switch to use www.apache.org/dist/openjpa/nightly.builds changes.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1431565 13f79535-47bb-0310-9956-ffa450edef68
2013-01-10 19:15:10 +00:00
Albert Lee 114ffd7d11 Switch to use www.apache.org/dist/openjpa/nightly.builds.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1431468 13f79535-47bb-0310-9956-ffa450edef68
2013-01-10 16:15:53 +00:00
Pinaki Poddar 0ca38be727 OPENJPA-2320: Remove static initializers because recursive Predicate constructor deadlocks
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1430117 13f79535-47bb-0310-9956-ffa450edef68
2013-01-08 02:40:07 +00:00
Albert Lee 58f24badcc Update nightly build documentation upload location.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1430094 13f79535-47bb-0310-9956-ffa450edef68
2013-01-07 23:52:40 +00:00
Pinaki Poddar efef270907 OPENJPA-2057:remove wrong import
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1428108 13f79535-47bb-0310-9956-ffa450edef68
2013-01-02 23:23:12 +00:00
Heath Thomann a2b07b18b4 OPENJPA-2257: Added additional changes (i.e. return a copy of _supportedKeys) to the code changes made previously by Albert Lee.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1426680 13f79535-47bb-0310-9956-ffa450edef68
2012-12-29 01:06:48 +00:00
Pinaki Poddar 2e9e9e2973 OPENJPA-2057:remove wrong import
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1426575 13f79535-47bb-0310-9956-ffa450edef68
2012-12-28 16:48:19 +00:00
Heath Thomann 56925f515f OPENJPA-2235: Updated TestIsolationFecthHint test to fix build failure.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1426530 13f79535-47bb-0310-9956-ffa450edef68
2012-12-28 14:49:56 +00:00
Heath Thomann bded0a42b6 OPENJPA-2235: READ_UNCOMMITTED setting for the fetch plan isolation level is ignored in DB2Dictionary - applied Helen Xu's patch to trunk.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1426352 13f79535-47bb-0310-9956-ffa450edef68
2012-12-27 22:21:52 +00:00
Pinaki Poddar dc02973a19 Add javadoc comments
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1425073 13f79535-47bb-0310-9956-ffa450edef68
2012-12-21 18:31:40 +00:00
Pinaki Poddar 0a8d89da00 OPENJPA-2057: Add additional class loader to configuration to load custom plugins
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1425072 13f79535-47bb-0310-9956-ffa450edef68
2012-12-21 18:29:38 +00:00
Pinaki Poddar 56107fc73c OPENJPA-2305: Change inheritance hierarchy of generated canonical metamodel
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1420324 13f79535-47bb-0310-9956-ffa450edef68
2012-12-11 18:23:50 +00:00
Pinaki Poddar f17a08fee4 OPENJPA-2304: Protect the expressin list for concurrent access
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1420321 13f79535-47bb-0310-9956-ffa450edef68
2012-12-11 18:22:15 +00:00
Pinaki Poddar 88cc847a1c OPENJPA-2284: Save NPE while parsing cascade
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1416742 13f79535-47bb-0310-9956-ffa450edef68
2012-12-04 01:41:24 +00:00
Heath Thomann 2d5ab5c862 OPENJPA-2289: Applied Albert's patch to trunk
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1415702 13f79535-47bb-0310-9956-ffa450edef68
2012-11-30 15:39:17 +00:00
Heath Thomann 9fa9ef4fe8 OPENJPA-2244: Applied Helen's patch to trunk.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1415486 13f79535-47bb-0310-9956-ffa450edef68
2012-11-30 03:14:37 +00:00