746 Commits

Author SHA1 Message Date
Marc Prud'hommeaux
bc0c353ef0 OPENJPA-148 Fixed incorrect import of non-existent ClassLoaderMetaDataIterator in patched file
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@540301 13f79535-47bb-0310-9956-ffa450edef68
2007-05-21 21:17:02 +00:00
Marc Prud'hommeaux
04397f562e OPENJPA-148 Applied follow-up patch that resolved potential NPEs
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@540283 13f79535-47bb-0310-9956-ffa450edef68
2007-05-21 20:45:09 +00:00
Marc Prud'hommeaux
e041fe0d4d OPENJPA-237 Copy aliases array so it can't get modified by reference
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@540199 13f79535-47bb-0310-9956-ffa450edef68
2007-05-21 16:35:28 +00:00
Marc Prud'hommeaux
81e89bcd80 Formatting fix.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@539813 13f79535-47bb-0310-9956-ffa450edef68
2007-05-20 01:25:52 +00:00
Marc Prud'hommeaux
f98ecf4d22 OPENJPA-235 Reverted patch since it was causing TCK failur
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@539630 13f79535-47bb-0310-9956-ffa450edef68
2007-05-18 23:31:55 +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
Patrick Linskey
add6a29be4 OPENJPA-230. Fixed dependency on not-yet-checked-in class.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@537227 13f79535-47bb-0310-9956-ffa450edef68
2007-05-11 16:37:15 +00:00
Patrick Linskey
15b0b59f25 OPENJPA-230. Updated patch based on an out-of-band patch from Vishal. This version avoids interrupts while still handling guaranteed delivery of messages in the queue.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@537221 13f79535-47bb-0310-9956-ffa450edef68
2007-05-11 16:12:07 +00:00
David J. Wisneski
9eaec94118 OpenJPA 168 testcase
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@537213 13f79535-47bb-0310-9956-ffa450edef68
2007-05-11 15:44:13 +00:00
Marc Prud'hommeaux
a461910160 Make sure the examples directory exists when we run the integration-test.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@536724 13f79535-47bb-0310-9956-ffa450edef68
2007-05-10 00:35:18 +00:00
Michael Dick
59bd5b0d3f OPENJPA-51 removing testcases
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@536706 13f79535-47bb-0310-9956-ffa450edef68
2007-05-09 23:05:16 +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
d9fbb9cc11 Propagate the provided classloader further into the PCEnhancer call stack.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@536001 13f79535-47bb-0310-9956-ffa450edef68
2007-05-07 21:38:20 +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
Craig Russell
33aa3cb59f ran mvn install; seems to work
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@535378 13f79535-47bb-0310-9956-ffa450edef68
2007-05-04 20:50:24 +00:00
Patrick Linskey
2f07532f22 added clarifying comment to persistence.xml
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@535359 13f79535-47bb-0310-9956-ffa450edef68
2007-05-04 19:22:50 +00:00
Marc Prud'hommeaux
e422a7d179 OPENJPA-148 Applied the rest of the patch for this bug.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@535321 13f79535-47bb-0310-9956-ffa450edef68
2007-05-04 16:36:15 +00:00
Marc Prud'hommeaux
2f4cafdcfb OPENJPA-148 Fix for scanning directories for persistent types.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@535139 13f79535-47bb-0310-9956-ffa450edef68
2007-05-04 09:31:17 +00:00
David J. Wisneski
d7d400b818 fix build break, class list is removed.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@535041 13f79535-47bb-0310-9956-ffa450edef68
2007-05-04 00:39:55 +00:00
David J. Wisneski
bcc3b67223 add query test for OPENJPA-51, queries with subselects with correlated/non-correlated aliases
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@535003 13f79535-47bb-0310-9956-ffa450edef68
2007-05-03 22:49: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
Patrick Linskey
43c931014a OPENJPA-226
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@533218 13f79535-47bb-0310-9956-ffa450edef68
2007-04-27 20:46:03 +00:00
Patrick Linskey
a99763cf63 Updated recently-added files to meet Apache's latest header syntax.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@532833 13f79535-47bb-0310-9956-ffa450edef68
2007-04-26 18:28:18 +00:00
Patrick Linskey
7d7e303f84 OPENJPA-229. Not sure how these didn't get committed in the first commit.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@532808 13f79535-47bb-0310-9956-ffa450edef68
2007-04-26 17:24:40 +00:00
Patrick Linskey
b2beaec634 OPENJPA-229
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@532805 13f79535-47bb-0310-9956-ffa450edef68
2007-04-26 17:17:10 +00:00
Marc Prud'hommeaux
0819749391 Fixed MetaDataException to take a nested Throwable argument (which is the common case) instead of a FailedObject Object argument (which many of the existing constructions of MetaDataException are erronously using with a nested Throwable argument)
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@532524 13f79535-47bb-0310-9956-ffa450edef68
2007-04-25 23:13:12 +00:00
Patrick Linskey
f7770883a4 Usability improvements discovered while working on OPENJPA-228. When loading enumerated types in the enhancer, pass them to serp as strings rather than as classes. This permits the use case where a subclass and superclass are both compiled and enhanced, and then the superclass is recompiled, and the subclass and superclass are both listed in persistence.xml, and the enhancer is then invoked.
Similarly, treat NoSuchMethodErrors that contain the string '.pc' as warnings rather than errors in MetaDataRepository.classForName().

Finally, changed MetaDataRepository errors to stringify internal data sets eagerly, to avoid leaking incorrect information into error messages.

git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@532273 13f79535-47bb-0310-9956-ffa450edef68
2007-04-25 09:19:51 +00:00
Patrick Linskey
14ba7eed94 Added OpenJPAVersion.RELEASE_STATUS to log messages to more completely encapsulate version data.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@532151 13f79535-47bb-0310-9956-ffa450edef68
2007-04-25 00:17:23 +00:00
Patrick Linskey
0e7feca04a OPENJPA-219. Avoid Class.getDeclaredField() / Class.getDeclaredMethod() in Reflection, since they throw exceptions as a side-effect. Also contains assorted clean-up in ClassMetaData.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@532137 13f79535-47bb-0310-9956-ffa450edef68
2007-04-24 23:34:46 +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
A. Abram White
9e044de7a7 Fix broken functionality in allowing users to construct a custom application
oid from its stringified form.



git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@532057 13f79535-47bb-0310-9956-ffa450edef68
2007-04-24 19:53:37 +00:00
A. Abram White
44c97873fb Fix bytecode generation to use new FetchConfiguration.requiresFetch signature.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@532039 13f79535-47bb-0310-9956-ffa450edef68
2007-04-24 18:43:43 +00:00
Marc Prud'hommeaux
9b05b6305d Added the ability to use the YDoc UML doclet by enabling the "ydoc-profile" when bulding docs.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@531262 13f79535-47bb-0310-9956-ffa450edef68
2007-04-22 20:11:11 +00:00
Marc Prud'hommeaux
ce3abf8a7b Added the ability to use the YDoc UML doclet by enabling the "ydoc-profile" when bulding docs.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@531242 13f79535-47bb-0310-9956-ffa450edef68
2007-04-22 18:02:43 +00:00
Marc Prud'hommeaux
24dc0c7f7e Added "Apache" to the title of the guide.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@531221 13f79535-47bb-0310-9956-ffa450edef68
2007-04-22 16:35:19 +00:00
Marc Prud'hommeaux
68d9b38133 Changed docbook processing to use the docbkx-maven-plugin, which enables us to easily also generate PDF documentation
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@531128 13f79535-47bb-0310-9956-ffa450edef68
2007-04-22 00:03:29 +00:00
Marc Prud'hommeaux
0460c1113b Output multi-page manual as well as single manual page.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@531100 13f79535-47bb-0310-9956-ffa450edef68
2007-04-21 20:06:19 +00:00
Marc Prud'hommeaux
78a8f126a1 Changed link tag to xref since there is no enclosed describing text.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@531095 13f79535-47bb-0310-9956-ffa450edef68
2007-04-21 20:05:42 +00:00
Marc Prud'hommeaux
5d8c645682 Cleaned up doc building so that images and css are copied to the target folder so that the docs can be built and previewed without needing to build the entire package.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@531079 13f79535-47bb-0310-9956-ffa450edef68
2007-04-21 18:43:55 +00:00
Marc Prud'hommeaux
9b43b9d308 Specify that we should only include org.apache.openjpa packages in the javadoc so we don't accidentally include an of the example code.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@531077 13f79535-47bb-0310-9956-ffa450edef68
2007-04-21 18:28:12 +00:00
Marc Prud'hommeaux
c1486499a4 Use absolute path for derby database to ensure that the database is always places with the example code.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@531075 13f79535-47bb-0310-9956-ffa450edef68
2007-04-21 18:20:45 +00:00
Marc Prud'hommeaux
149011a3df Fixed directory issues to ensure that this build file can be run from a different directory (such as when running the integration-test).
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@531074 13f79535-47bb-0310-9956-ffa450edef68
2007-04-21 18:19:10 +00:00
Marc Prud'hommeaux
42f0d50d02 Fixed to be more lenient when looking for artifact to expand.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@531070 13f79535-47bb-0310-9956-ffa450edef68
2007-04-21 17:43:47 +00:00
Marc Prud'hommeaux
3f48eca25a Exclude reversemapping/Main.java from the test compile, since it is dependant on classes that are only generated when running the reverse mapping demo.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@530942 13f79535-47bb-0310-9956-ffa450edef68
2007-04-20 23:02:24 +00:00
Marc Prud'hommeaux
b74ad208bd Added example for using the reverse mapping tool
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@530939 13f79535-47bb-0310-9956-ffa450edef68
2007-04-20 22:52:37 +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
0bc9685aa7 OPENJPA 222 fix for test case
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@530574 13f79535-47bb-0310-9956-ffa450edef68
2007-04-19 22:21:36 +00:00
David J. Wisneski
c816683d08 OPENJPA 222 fix for the testcases for DB2
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@530563 13f79535-47bb-0310-9956-ffa450edef68
2007-04-19 21:58:46 +00:00