Commit Graph

495 Commits

Author SHA1 Message Date
Kevin W. Sutter 10a9e2e7ba Incorrect "spelling" of jta-data-source and non-jta-data-source in Section 6 of the manual.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@469154 13f79535-47bb-0310-9956-ffa450edef68
2006-10-30 14:48:43 +00:00
Marc Prud'hommeaux d54ad1c46b Added Apache license headers
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@469085 13f79535-47bb-0310-9956-ffa450edef68
2006-10-30 07:58:53 +00:00
Marc Prud'hommeaux 971c846c10 Added very simple openjpa-examples package that contains a helloworld example (which will be included in the distribtion zip file)
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@468629 13f79535-47bb-0310-9956-ffa450edef68
2006-10-28 04:06:11 +00:00
A. Abram White 2ed7c2db2a Move build logic for adding an interface to WASManagedRuntime's inner class to
WASManagedRuntime itself.  Move caching in WASManagedRuntime to 
endConfiguration() callback to avoid threading issues.



git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@468504 13f79535-47bb-0310-9956-ffa450edef68
2006-10-27 19:17:32 +00:00
A. Abram White ba1d289735 Fix OPENJPA-68.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@468455 13f79535-47bb-0310-9956-ffa450edef68
2006-10-27 17:04:24 +00:00
Kevin W. Sutter 753468d8a1 Resolving OPENJPA-67. The sql statement for selecting the next value in a sequence was not correct in the DB2 Dictionary.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@468440 13f79535-47bb-0310-9956-ffa450edef68
2006-10-27 16:16:59 +00:00
Kevin W. Sutter 228bee2043 Seems like we have some differences in how Sun and IBM (and maybe other) JDK's process the messages returned in a NoClassDefFoundError exception. To simplify this testcase and make it pass in any environment, I'm just going to test just for the Interface Name (minus the package).
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@468434 13f79535-47bb-0310-9956-ffa450edef68
2006-10-27 16:06:34 +00:00
Patrick Linskey 1af459a496 changed test case to convert . to / when doing class name searches. This test now passes in my environment.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@468284 13f79535-47bb-0310-9956-ffa450edef68
2006-10-27 05:52:34 +00:00
Patrick Linskey ea81e82435 changed test case to include more debug info in failures. This test case does not pass on my machine.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@468283 13f79535-47bb-0310-9956-ffa450edef68
2006-10-27 05:41:03 +00:00
Kevin W. Sutter 27563987ef First step in resolving OPENJPA-63. This change removes the usage of internal WebSphere transaction-related APIs and replaces it with the public ExtendedJTATransaction interface usage.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@468064 13f79535-47bb-0310-9956-ffa450edef68
2006-10-26 17:08:05 +00:00
Marc Prud'hommeaux 5bb9249ee1 Added target for signing the release.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@465942 13f79535-47bb-0310-9956-ffa450edef68
2006-10-20 00:57:35 +00:00
Marc Prud'hommeaux e7fae8f659 Added target for signing the release.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@465941 13f79535-47bb-0310-9956-ffa450edef68
2006-10-20 00:55:47 +00:00
Marc Prud'hommeaux ad0c622080 Removed wildcard for README* and changed it to both README and README.txt (so we don't inadvertently include emacs backup files).
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@465940 13f79535-47bb-0310-9956-ffa450edef68
2006-10-20 00:26:01 +00:00
Marc Prud'hommeaux 697ca0ce66 Added NOTICE.txt and DISCLAIMER.txt files as per the ASF rules
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@465758 13f79535-47bb-0310-9956-ffa450edef68
2006-10-19 20:15:56 +00:00
Marc Prud'hommeaux 8898d53176 Added "STATUS" file to appear in the assembly.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@465754 13f79535-47bb-0310-9956-ffa450edef68
2006-10-19 20:02:28 +00:00
Marc Prud'hommeaux d1554f3d54 Delete the sun.misc.Perf class before it is packaged in the jar.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@465740 13f79535-47bb-0310-9956-ffa450edef68
2006-10-19 19:17:49 +00:00
Kevin W. Sutter ca7a599c96 Modified TestGenerationType testcase to check whether the current
DBDictionary supports AutoAssign(ment) of column values.

git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@465733 13f79535-47bb-0310-9956-ffa450edef68
2006-10-19 19:07:02 +00:00
Kevin W. Sutter c000408cce Removed the extra $ (dollar sign) in the openjpa-project pom.xml file.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@465709 13f79535-47bb-0310-9956-ffa450edef68
2006-10-19 18:08:28 +00:00
Kevin W. Sutter e6647fcc34 Testcase for a problem similar to the one described in OPENJPA-13.
Revision 453016 resolved both of these problems.  We can use this
testcase for regression purposes.

git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@465623 13f79535-47bb-0310-9956-ffa450edef68
2006-10-19 13:38:57 +00:00
Marc Prud'hommeaux e2f38567a1 Upgraded to version '0.9.6-incubating-SNAPSHOT'
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@464753 13f79535-47bb-0310-9956-ffa450edef68
2006-10-17 00:05:01 +00:00
Marc Prud'hommeaux fb00d685bd Upgraded to version '0.9.5-incubating'
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@464711 13f79535-47bb-0310-9956-ffa450edef68
2006-10-16 23:00:34 +00:00
Marc Prud'hommeaux 0d902a68d3 Added "findbugs" report.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@464709 13f79535-47bb-0310-9956-ffa450edef68
2006-10-16 22:58:09 +00:00
A. Abram White fe3fac6750 Remove author tag; I think someone (Steve K?) copied a class I wrote and left
the author tag intact, because I don't think I wrote this class.



git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@464612 13f79535-47bb-0310-9956-ffa450edef68
2006-10-16 18:30:48 +00:00
A. Abram White 907647550c git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@464586 13f79535-47bb-0310-9956-ffa450edef68 2006-10-16 17:52:44 +00:00
A. Abram White c8b5b2746e Validate product derivations before caching them so we don't end up with runtime
errors when clients use JPA without jdo.jar or JDO without jpa.jar.  Give a 
more succinct warning when some product derivations are uninstantiable, with
more detailed information available via the ProductDerivations class's main().



git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@463829 13f79535-47bb-0310-9956-ffa450edef68
2006-10-13 21:07:17 +00:00
A. Abram White 72594b2ac8 Remove some bad vert inheritance logic.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@462846 13f79535-47bb-0310-9956-ffa450edef68
2006-10-11 16:43:17 +00:00
A. Abram White 6937856e2b Optimize queries of the form "select e from ... where e.rel.id = :x" to not join
across "rel" for std fk->pk joins. 



git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@462646 13f79535-47bb-0310-9956-ffa450edef68
2006-10-11 00:16:53 +00:00
A. Abram White f27898f280 Take advantage StringUtils where appropriate.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@462617 13f79535-47bb-0310-9956-ffa450edef68
2006-10-10 22:39:15 +00:00
A. Abram White 08d69d15a7 Vertical inheritance with eager fetching fixes.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@462560 13f79535-47bb-0310-9956-ffa450edef68
2006-10-10 20:56:32 +00:00
Kevin W. Sutter b42c74b6cb Getting rid of the "-all" suffix per OPENJPA-65 on the .zip and embedded .jar file. Also, removed the modules
directory and the embedded individual project (openjpa-*) jar files.

git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@454580 13f79535-47bb-0310-9956-ffa450edef68
2006-10-10 01:30:54 +00:00
Marc Prud'hommeaux 0c58bedbb6 Updated version to be openjpa-0.9.5-incubating-SNAPSHOT
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@454516 13f79535-47bb-0310-9956-ffa450edef68
2006-10-09 21:16:48 +00:00
Marc Prud'hommeaux 2fbc438887 Updated to final 0.9.0-incubating release number
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@454452 13f79535-47bb-0310-9956-ffa450edef68
2006-10-09 18:40:10 +00:00
A. Abram White f54e9dcfd9 Doc fixes.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@454204 13f79535-47bb-0310-9956-ffa450edef68
2006-10-08 20:36:15 +00:00
A. Abram White d86e2fb29d Typo.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@454192 13f79535-47bb-0310-9956-ffa450edef68
2006-10-08 19:11:45 +00:00
A. Abram White 0bc4acc2af Always use a ConfigurationProvider that supplies a spec.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@454191 13f79535-47bb-0310-9956-ffa450edef68
2006-10-08 19:05:15 +00:00
A. Abram White d490f545c4 Make the inability to instantiate an auxiliary enhancer non-fatal. Also cache
auxiliary enhancers statically to speed up enhancement.



git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@454184 13f79535-47bb-0310-9956-ffa450edef68
2006-10-08 18:17:28 +00:00
A. Abram White dcf691a727 Get rid of warning for product derivations that use an unsupported class
version.  Minor API changes.



git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@454072 13f79535-47bb-0310-9956-ffa450edef68
2006-10-08 04:03:06 +00:00
Patrick Linskey 28910a7374 Changed OpenJPAProductDerivation to have a proper lifecycle callback for BrokerFactoryValue initialization; added supporting infrastructure as needed.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@454064 13f79535-47bb-0310-9956-ffa450edef68
2006-10-08 02:05:49 +00:00
Patrick Linskey 43f5348782 Overwrite the *correct* slot. We really need to move this aliasing system to a map at some point.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@454057 13f79535-47bb-0310-9956-ffa450edef68
2006-10-08 01:03:25 +00:00
Patrick Linskey fb42b621b3 avoid duplicate alias key-value pairs. We really need to move this aliasing system to a map at some point.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@454053 13f79535-47bb-0310-9956-ffa450edef68
2006-10-08 00:55:35 +00:00
Patrick Linskey 5e5babb38c added openjpa to the VERSION_ID field for clarity
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@453970 13f79535-47bb-0310-9956-ffa450edef68
2006-10-07 17:45:24 +00:00
Patrick Linskey d3b3b3a212 made the revision.properties file name a bit more unique to avoid collisions with other projects using the same pattern
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@453957 13f79535-47bb-0310-9956-ffa450edef68
2006-10-07 16:31:49 +00:00
Patrick Linskey e61de9586c added more details to error message; made OpenJPA startup banner configurable
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@453932 13f79535-47bb-0310-9956-ffa450edef68
2006-10-07 15:31:16 +00:00
Patrick Linskey 34f6cb589e backwards-compat for old invocations of getFullName().
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@453878 13f79535-47bb-0310-9956-ffa450edef68
2006-10-07 09:30:33 +00:00
Patrick Linskey 54a3f15811 Oops. It turns out it's good to compile *before* committing.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@453876 13f79535-47bb-0310-9956-ffa450edef68
2006-10-07 09:24:07 +00:00
Patrick Linskey fe42d24e9b made ProductDerivations a bit more fault-tolerant -- when a failure occurs while loading ProductDerivation instances defined in services files, the system continues to start up with the ProductDerivations that did load, and a warning is printed to stderr. Note that this means that people using the uber-jar in 1.3 or 1.4 environments, or without having javax.persistence in their classpath, for example, will see warnings on stderr.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@453875 13f79535-47bb-0310-9956-ffa450edef68
2006-10-07 09:22:29 +00:00
A. Abram White 2ada6c3292 Changed default lines between blocks to be 1 in our code format to mirror
openjpa conventions, and minor doc fixes.



git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@453819 13f79535-47bb-0310-9956-ffa450edef68
2006-10-07 00:30:31 +00:00
Patrick Linskey 1201726c3e minor cleanup of duplicate code
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@453799 13f79535-47bb-0310-9956-ffa450edef68
2006-10-06 22:52:20 +00:00
A. Abram White 433475f6ad Merge fixes from Kodo 4.0 line.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@453796 13f79535-47bb-0310-9956-ffa450edef68
2006-10-06 22:31:28 +00:00
Marc Prud'hommeaux ac1679d41c Added mention of SupportsTimestampNanos
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@453723 13f79535-47bb-0310-9956-ffa450edef68
2006-10-06 18:20:31 +00:00