716 Commits

Author SHA1 Message Date
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
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
Michael Dick
8b20d692e7 adding -project back into the zip files names
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@527724 13f79535-47bb-0310-9956-ffa450edef68
2007-04-11 23:41:42 +00:00
A. Abram White
3885031a89 OPENJPA-214 : Support float and double fields as single-field identity primary
keys.



git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@527648 13f79535-47bb-0310-9956-ffa450edef68
2007-04-11 20:25:11 +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
Marc Prud'hommeaux
0806fd5b44 OPENJPA-208 Added NoResultException and NonUniqueResultException to kernel to allow the identification of the case where a unique result was selected by either none or too many were found
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@526834 13f79535-47bb-0310-9956-ffa450edef68
2007-04-09 17:06:23 +00:00
Patrick Linskey
82c71f6dce removed some os-dependent code from integration test pom
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@526607 13f79535-47bb-0310-9956-ffa450edef68
2007-04-08 22:27:35 +00:00
Patrick Linskey
d86ba0eed3 Broaden exception check to consume all LinkageErrors rather than just ClassCircularityErrors.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@526599 13f79535-47bb-0310-9956-ffa450edef68
2007-04-08 20:51:49 +00:00
Patrick Linskey
24299b365e more attempts at fixing things for the tck
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@526595 13f79535-47bb-0310-9956-ffa450edef68
2007-04-08 19:15:05 +00:00
Patrick Linskey
f041ba0959 fixed some issues with our TCK-running framework to hopefully get it running on Windows
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@526588 13f79535-47bb-0310-9956-ffa450edef68
2007-04-08 18:11:21 +00:00
Patrick Linskey
89b0cf69b1 decoupling running of the examples and the tck, so that examples-related need not be addressed in order to run the TCK.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@526512 13f79535-47bb-0310-9956-ffa450edef68
2007-04-08 02:59:44 +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
Michael Dick
d62996fd2f updating release notes and changes
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@526443 13f79535-47bb-0310-9956-ffa450edef68
2007-04-07 15:44:08 +00:00
Marc Prud'hommeaux
4b6bade66a Use the authoritative JPA API jar for running the TCK to get around incompatibilities with the Geronimo JPA API.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@526347 13f79535-47bb-0310-9956-ffa450edef68
2007-04-07 02:10:20 +00:00
Marc Prud'hommeaux
af2550bb05 OPENJPA-208 Throw NoResultException and NonUniqueResultException when expected
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@526322 13f79535-47bb-0310-9956-ffa450edef68
2007-04-06 23:52:03 +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
Marc Prud'hommeaux
82d274abd6 Redirect TCK output to a openjpa-tck.log file.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@526305 13f79535-47bb-0310-9956-ffa450edef68
2007-04-06 22:40:38 +00:00
Michael Dick
0570f6b3bc adding OpenJPA-202 to changes and release-notes.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@526297 13f79535-47bb-0310-9956-ffa450edef68
2007-04-06 22:14:46 +00:00
Marc Prud'hommeaux
15e1289b95 OPENJPA-193 Added 'tck-profile' profile flag that enables running the JPA TCK as part of the integration-test phase
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@526287 13f79535-47bb-0310-9956-ffa450edef68
2007-04-06 21:19:53 +00:00