Commit Graph

240 Commits

Author SHA1 Message Date
David J. Wisneski c70b70b30f OPENJPA-240 XMLMapping Query - rename XMLMapping interface to XMLMetaData
Help Catalina committing changes for renaming classes, part 2.

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@559179 13f79535-47bb-0310-9956-ffa450edef68
2007-07-24 19:51:19 +00:00
David J. Wisneski 126ed03a3b OPENJPA-266 process dbdictionaryPlugin values for vendor specific DB Dictionary.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@558881 13f79535-47bb-0310-9956-ffa450edef68
2007-07-23 22:19:28 +00:00
Michael Dick a5d1acd44e OPENJPA-284 committing on behalf of Teresa
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@558097 13f79535-47bb-0310-9956-ffa450edef68
2007-07-20 19:17:19 +00:00
Michael Dick 99950ad3ff OPENJPA-288 committing on behalf of Teresa
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@558073 13f79535-47bb-0310-9956-ffa450edef68
2007-07-20 17:50:56 +00:00
David J. Wisneski a275b7aefb OPENJPA-240 XMLMapping Query support for persistent field maps to XML column.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@557437 13f79535-47bb-0310-9956-ffa450edef68
2007-07-19 00:45:51 +00:00
Craig Russell b8bb8404a9 OPENJPA-235 break-nullable-patch contributed by Markus Fuchs
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@557089 13f79535-47bb-0310-9956-ffa450edef68
2007-07-17 23:56:45 +00:00
Kevin W. Sutter 62ae83f3b5 Minor updates to help with translation and formatting of messages. Items like removing contractions like "can't" and "doesn't". Also, ensuring there are two single quotes for possive like "Provider's".
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@556926 13f79535-47bb-0310-9956-ffa450edef68
2007-07-17 13:43:40 +00:00
David J. Wisneski 6b6a4b57e4 Add product version checking for DB2 UDB ISeries V6R1
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@555361 13f79535-47bb-0310-9956-ffa450edef68
2007-07-11 18:39:08 +00:00
David J. Wisneski dfba4dff7d OPENJPA-266, extensibility for platform specific version column
Passed TCK with Derby

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@554803 13f79535-47bb-0310-9956-ffa450edef68
2007-07-10 02:28:11 +00:00
Michael Dick 0826b7a717 OPENJPA-279
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@553978 13f79535-47bb-0310-9956-ffa450edef68
2007-07-06 18:08:06 +00:00
Patrick Linskey 774e7b5b8c OPENJPA-274, OPENJPA-275. Improved our bulk update support to automatically increment version counters as necessary if an UPDATE query does not maintain the version fields itself. Also fixed a bug with all queries involving version fields by changing FieldMappings representing version fields to return their owning ClassMapping's Version's columns from a getColumns() call.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@553912 13f79535-47bb-0310-9956-ffa450edef68
2007-07-06 14:49:52 +00:00
Marc Prud'hommeaux 8b5a7f68a0 OPENJPA-244 Fixed some formatting inconsistencies with the patch for OPENJPA-244
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@553010 13f79535-47bb-0310-9956-ffa450edef68
2007-07-03 22:42:39 +00:00
Michael Dick 0c517d163e OPENJPA-244 committing on behalf of Albert
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@552996 13f79535-47bb-0310-9956-ffa450edef68
2007-07-03 21:55:29 +00:00
Marc Prud'hommeaux 85b2e766ca OPENJPA-239 Patch to support the generation of annotation mappings using the reverse mapping tool
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@552358 13f79535-47bb-0310-9956-ffa450edef68
2007-07-01 19:37:04 +00:00
David J. Wisneski 0b356dfc0d OPENJPA-271, add DB2 JDBC driver 2 support, add message key/text
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@552095 13f79535-47bb-0310-9956-ffa450edef68
2007-06-30 03:52:46 +00:00
David J. Wisneski 9975362f1f OPENJPA-271, add DB2 JDBC driver 2 support
- datePrecision set to MICRO, (Timesptamp in micro-second in DB2)
- save version strategy in Column (needed for specialized TimestampVersionStrategy)
- set storeCharsAsNumbers to false (DB2 default - store chars as chars)

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@552078 13f79535-47bb-0310-9956-ffa450edef68
2007-06-30 02:33:35 +00:00
David J. Wisneski 7db9a7fae5 OPENJPA-266, committing the patch.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@552039 13f79535-47bb-0310-9956-ffa450edef68
2007-06-29 21:22:01 +00:00
Michael Dick 058c174bef OPENJPA-269 Updating InformixDBDictionary
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@551263 13f79535-47bb-0310-9956-ffa450edef68
2007-06-27 18:36:38 +00:00
Michael Dick c1c32b4d8c OPENJPA-266 Allowing PreparedStatementManagerImpl to be extendable
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@550977 13f79535-47bb-0310-9956-ffa450edef68
2007-06-26 22:43:25 +00:00
Marc Prud'hommeaux cbb7bded12 Remove use of JDK 1.5-only method String.contains().
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@550158 13f79535-47bb-0310-9956-ffa450edef68
2007-06-24 03:30:26 +00:00
Patrick Linskey be91d228c5 OPENJPA-51. Committing Catalina's patch. It passes against Derby in my environment as well.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@549882 13f79535-47bb-0310-9956-ffa450edef68
2007-06-22 17:08:28 +00:00
Marc Prud'hommeaux cc8ac0bc64 Changed the parsing of the driver name to not use the JDK 1.5-specific method String.contains() and String.split().
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@549508 13f79535-47bb-0310-9956-ffa450edef68
2007-06-21 15:17:24 +00:00
David J. Wisneski 1921d6cc59 OPENJPA-240 fix JAXB dependency and move XMLValueHandler to openjpa-jdbc-5.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@548860 13f79535-47bb-0310-9956-ffa450edef68
2007-06-19 21:53:55 +00:00
David J. Wisneski 8bf89a655a OPENJPA-240, packaging/renaming/JAXB dependency cleanups
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@548834 13f79535-47bb-0310-9956-ffa450edef68
2007-06-19 19:44:58 +00:00
David J. Wisneski f026af58cd OPENJPA-240 Feature:Persistent field mapping support for XML column type.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@547831 13f79535-47bb-0310-9956-ffa450edef68
2007-06-15 23:44:47 +00:00
David J. Wisneski d384dcb8fd OPENJPA-240 Feature:Persistent field mapping support for XML column type.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@547830 13f79535-47bb-0310-9956-ffa450edef68
2007-06-15 23:44:31 +00:00
Marc Prud'hommeaux 0091bcabe3 Added a 'java14.jar' property that can be used to specify the location of the JDK 1.4 runtime jar, against which we will compile the JDK 1.4-specific modules. This can be used to ensure that JDK 1.5-specific methods and classes don't slip into the JDK 1.4 modules.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@546768 13f79535-47bb-0310-9956-ffa450edef68
2007-06-13 07:50:11 +00:00
Marc Prud'hommeaux d72a5ad309 Fixed JDK-1.5-specific Array.toString() call.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@546743 13f79535-47bb-0310-9956-ffa450edef68
2007-06-13 05:41:16 +00:00
Marc Prud'hommeaux 43eb43898a Removed JDK1.5-specific construct.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@546742 13f79535-47bb-0310-9956-ffa450edef68
2007-06-13 05:34:31 +00:00
Pinaki Poddar 2e8b28c4c2 Replace usage of String.contains() by JDK1.4 compliant method
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@546567 13f79535-47bb-0310-9956-ffa450edef68
2007-06-12 16:43:10 +00:00
Patrick Linskey 5463700d6c OPENJPA-235
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@544918 13f79535-47bb-0310-9956-ffa450edef68
2007-06-06 18:49:30 +00:00
Marc Prud'hommeaux 3599a48964 Moving version to 1.0.0-SNAPSHOT as a result of mailing list vote
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@541929 13f79535-47bb-0310-9956-ffa450edef68
2007-05-26 19:18:37 +00:00
Marc Prud'hommeaux 0e19b714ac Changed version from 0.9.8-incubating-SNAPSHOT to 0.9.8-SNAPSHOT to reflect move from incubation to TLP
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@540829 13f79535-47bb-0310-9956-ffa450edef68
2007-05-23 03:36:05 +00:00
Marc Prud'hommeaux 4a15b9c39e OPENJPA-235 Reverted patch since it was causing TCK failures
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@539627 13f79535-47bb-0310-9956-ffa450edef68
2007-05-18 23:22:10 +00:00
Marc Prud'hommeaux a92785fea6 OPENJPA-194 Changed openjpa-all-VERSION.jar to be just openjpa-VERSION.jar, and changes openjpa-project-VERSION.zip to be apache-openjpa-VERSION.zip
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@536693 13f79535-47bb-0310-9956-ffa450edef68
2007-05-09 22:23:54 +00:00
David J. Wisneski 23beb964c5 undo patch for OPENJPA-51, revert back to r52881
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@536692 13f79535-47bb-0310-9956-ffa450edef68
2007-05-09 22:23:16 +00:00
Patrick Linskey 80671afcbf OPENJPA-235. Reformatted code to meet OpenJPA conventions; widened some type arguments that seemed unnecessarily narrow.
This passes all the OpenJPA tests in my environment, and the logic seems sound. I think that we could adjust the algorithm to require less collection copying, but I don't think that we should hold up the commit for that type of optimization.

git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@535379 13f79535-47bb-0310-9956-ffa450edef68
2007-05-04 20:58:49 +00:00
David J. Wisneski a044af3287 Fix for issue OPENJPA-51. It should also resolve issue OPENJPA-173.
Change to use BitSet.

git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@534647 13f79535-47bb-0310-9956-ffa450edef68
2007-05-02 22:53:39 +00:00
David J. Wisneski d5d214c182 Fix for issue OPENJPA-51. It should also resolve issue OPENJPA-173.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@534623 13f79535-47bb-0310-9956-ffa450edef68
2007-05-02 21:35:55 +00:00
Marc Prud'hommeaux 6bad8ff715 Removed use of JDK 1.5+ String.contains() method
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@532101 13f79535-47bb-0310-9956-ffa450edef68
2007-04-24 21:50:49 +00:00
David J. Wisneski 129360ace9 OPENJPA-222 clean up
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@530860 13f79535-47bb-0310-9956-ffa450edef68
2007-04-20 17:24:32 +00:00
David J. Wisneski 0f66458d4c OPENJPA-222 testcases for DB2
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@530554 13f79535-47bb-0310-9956-ffa450edef68
2007-04-19 21:33:23 +00:00
David J. Wisneski 30f2042510 further clean up for OPENJPA-222
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@530174 13f79535-47bb-0310-9956-ffa450edef68
2007-04-18 21:58:16 +00:00
David J. Wisneski 0df6a69703 fix for OPENJPA-222 .Update the getForUpdateClause, instead of overriding the toSelect
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@530163 13f79535-47bb-0310-9956-ffa450edef68
2007-04-18 21:26:20 +00:00
Marc Prud'hommeaux 640cddad04 Updated license headers to be in accordance with http://www.apache.org/legal/src-headers.html
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@528881 13f79535-47bb-0310-9956-ffa450edef68
2007-04-14 21:50:17 +00:00
Michael Dick 4ea1c3f738 adding license to java files
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@527728 13f79535-47bb-0310-9956-ffa450edef68
2007-04-11 23:52:54 +00:00
A. Abram White b4a3a77840 OPENJPA-134 : When we're performing eager fetches and we can detect that we're
already fetching the owning side of a bidi relation, cut off eager selecting 
and loading when we come across the back-ptr to the owner again.



git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@527565 13f79535-47bb-0310-9956-ffa450edef68
2007-04-11 16:21:13 +00:00
Michael Dick 7fd119e840 updating trunk version
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@526476 13f79535-47bb-0310-9956-ffa450edef68
2007-04-07 19:54:18 +00:00
Patrick Linskey 840644fcc5 OPENJPA-182. Changed JDBCFetchPlan.setIsolation() to use enums; added logic to handle enum hints to QueryImpl; moved from IllegalArgumentException to InvalidArgumentException to unify exception processing for both queries and find calls.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@526316 13f79535-47bb-0310-9956-ffa450edef68
2007-04-06 23:22:06 +00:00
Patrick Linskey bd93bfa284 OPENJPA-182. forUpdateClause is now used even if forUpdate is false, to allow for read-only optimizations. Changed JDBCFetchPlan.setIsolationLevel and JDBCFetchConfiguration.setIsolationLevel to just JDBCFetchXXX.setIsolation.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@526266 13f79535-47bb-0310-9956-ffa450edef68
2007-04-06 19:50:53 +00:00