Commit Graph

734 Commits

Author SHA1 Message Date
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
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 1af9d83d1b Changed dependence mechanism to be inclusion-based rather than exclusion-based.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@530110 13f79535-47bb-0310-9956-ffa450edef68
2007-04-18 18:06:13 +00:00
Marc Prud'hommeaux 022abc1b4e Added docbook:docbook-xsl to the list of dependencies to exclude from the binary.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@530094 13f79535-47bb-0310-9956-ffa450edef68
2007-04-18 17:16:47 +00:00
Michael Dick 47ffcea019 adding license info to readme
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@529615 13f79535-47bb-0310-9956-ffa450edef68
2007-04-17 14:11:52 +00:00
Michael Dick b0ba394a57 adding license
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@529597 13f79535-47bb-0310-9956-ffa450edef68
2007-04-17 13:38:34 +00:00
Michael Dick 09dad99722 moving derby.log file to target directory
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@529415 13f79535-47bb-0310-9956-ffa450edef68
2007-04-16 21:55:03 +00:00
Michael Dick aec27a30bf fixing typos in RELEASE-NOTES.html in trunk
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@528909 13f79535-47bb-0310-9956-ffa450edef68
2007-04-15 02:32:50 +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 7713ecf104 rewording statement re Java6
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@528067 13f79535-47bb-0310-9956-ffa450edef68
2007-04-12 18:03:24 +00:00
Michael Dick 794ca05eed update release docs
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@527943 13f79535-47bb-0310-9956-ffa450edef68
2007-04-12 13:55:32 +00:00