Commit Graph

465 Commits

Author SHA1 Message Date
Patrick Linskey 7ad13de0b7 oops; added ASL header
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@472220 13f79535-47bb-0310-9956-ffa450edef68
2006-11-07 19:35:30 +00:00
Patrick Linskey eb777be3ac Moved Kodo query compilation cache into OpenJPA.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@472218 13f79535-47bb-0310-9956-ffa450edef68
2006-11-07 19:33:43 +00:00
A. Abram White 92343313fb Fix recently-introduced bugs in conversion between JPA facades and underlying
components.



git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@472193 13f79535-47bb-0310-9956-ffa450edef68
2006-11-07 18:37:33 +00:00
Patrick Linskey 05f7fac863 Michael Dick's patch for OPENJPA-76, plus a tweak to make it use resources instead of files.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@472018 13f79535-47bb-0310-9956-ffa450edef68
2006-11-07 08:01:49 +00:00
Patrick Linskey a568c52040 reverted the move to serp 1.12. Once it's in ibiblio, we can reassess the need to move to 1.12.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@471948 13f79535-47bb-0310-9956-ffa450edef68
2006-11-07 00:24:41 +00:00
A. Abram White 9a2a907261 Fix possible NPEs resulting from Patrick's last DataCacheStoreManager commit.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@471831 13f79535-47bb-0310-9956-ffa450edef68
2006-11-06 19:06:21 +00:00
A. Abram White cd65ce1c4d No need to eagerly instantiate plugins for class transformer configuration.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@471804 13f79535-47bb-0310-9956-ffa450edef68
2006-11-06 18:05:53 +00:00
Patrick Linskey 9e85e90c1e correct configuration property name
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@471499 13f79535-47bb-0310-9956-ffa450edef68
2006-11-05 19:25:16 +00:00
Patrick Linskey 346f6a0d0c tolerate EM / EMF proxies as arguments to toBroker() / toBrokerFactory().
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@471497 13f79535-47bb-0310-9956-ffa450edef68
2006-11-05 19:24:08 +00:00
A. Abram White 607b863ec2 Update serp version.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@471080 13f79535-47bb-0310-9956-ffa450edef68
2006-11-04 00:38:22 +00:00
A. Abram White 9623c5c6f8 Support many-one and one-one relations as primary key fields.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@471045 13f79535-47bb-0310-9956-ffa450edef68
2006-11-03 23:15:08 +00:00
Marc Prud'hommeaux b4077bd6a6 OPENJPA-74: Fixed multiple problems with named queries: 1. They were not being parsed as part of the orm.xml file, since we were incorrectly looking for an attribute named 'query' (when it really should have been a sub-element named 'query'). 2. Looking for a named query did not force resolution of all metadatas. 3. An NPE was being thrown when a JPQL query was created with a null filter
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@470996 13f79535-47bb-0310-9956-ffa450edef68
2006-11-03 21:10:39 +00:00
Marc Prud'hommeaux 22226fc0f4 Fixed docs to not say that the package includes connection pooling.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@470622 13f79535-47bb-0310-9956-ffa450edef68
2006-11-03 01:09:12 +00:00
Marc Prud'hommeaux fbc9da9dfe Fixed license to be the Apache 2.0 license.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@469692 13f79535-47bb-0310-9956-ffa450edef68
2006-10-31 22:52:01 +00:00
Patrick Linskey caa1ea4543 made in-mem match queries fail faster; added another test case for new DataCacheStoreManager work
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@469429 13f79535-47bb-0310-9956-ffa450edef68
2006-10-31 09:43:43 +00:00
Marc Prud'hommeaux 8b2e032621 Added license header.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@469342 13f79535-47bb-0310-9956-ffa450edef68
2006-10-31 02:30:39 +00:00
Marc Prud'hommeaux 1355d880ac Force maven-javadoc-plugin to use version 2.1, since it works around a problem with the 2.0 version of the plugin that doesn't add dependencies to the doc class path.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@469341 13f79535-47bb-0310-9956-ffa450edef68
2006-10-31 02:28:47 +00:00
A. Abram White ac59115c10 Reorder and comment terminal conditions at the beginning of
DataCacheStoreManager.flush to make them a little more clear to slow people 
like me.



git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@469326 13f79535-47bb-0310-9956-ffa450edef68
2006-10-31 00:11:09 +00:00
Patrick Linskey a493e790b7 Removed some dead code and unused imports.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@469315 13f79535-47bb-0310-9956-ffa450edef68
2006-10-30 23:32:19 +00:00
Patrick Linskey 0a96982e61 Fixed OPENJPA-70. Data caching + external modifications could result in stale data getting stuck in cache.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@469313 13f79535-47bb-0310-9956-ffa450edef68
2006-10-30 23:23:11 +00:00
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