Commit Graph

385 Commits

Author SHA1 Message Date
Marc Prud'hommeaux f0e9c97321 Set failonerror in the build file so it fails when there is a problem running the example.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@473947 13f79535-47bb-0310-9956-ffa450edef68
2006-11-12 12:05:40 +00:00
Marc Prud'hommeaux 779f7dc452 Fixed license header.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@473941 13f79535-47bb-0310-9956-ffa450edef68
2006-11-12 11:52:07 +00:00
Marc Prud'hommeaux ead07f40c0 Rolled back to 0.9.6-incubating to re-run the release process; fixed licenses in NOTICE.txt; added license headers to files where they were missing; removed sun.misc.Perf class, since we are no longer supporting JDK 1.3 (and it is only unavailable in 1.3 and lower)
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@473939 13f79535-47bb-0310-9956-ffa450edef68
2006-11-12 11:44:59 +00:00
Marc Prud'hommeaux 227e4b79b9 Set the project name.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@473839 13f79535-47bb-0310-9956-ffa450edef68
2006-11-12 00:30:20 +00:00
Patrick Linskey de3f43a5cd moved to JDK1.4
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@473448 13f79535-47bb-0310-9956-ffa450edef68
2006-11-10 19:44:47 +00:00
A. Abram White fb770599b0 Fix for deeply nested subqueries, and for the JPQL IN(<subquery>) construct.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@473140 13f79535-47bb-0310-9956-ffa450edef68
2006-11-09 23:55:41 +00:00
Patrick Linskey fd57bd62dd localizer optimizations for normal usage patterns
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@473057 13f79535-47bb-0310-9956-ffa450edef68
2006-11-09 20:13:27 +00:00
Marc Prud'hommeaux cf56e213a9 Updated to version 0.9.7-incubating-SNAPSHOT
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@472718 13f79535-47bb-0310-9956-ffa450edef68
2006-11-09 00:41:04 +00:00
Marc Prud'hommeaux 83695d690c Manually include the openjpa-all module in the zip file. For some reason, it wasn't being included in the package.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@472680 13f79535-47bb-0310-9956-ffa450edef68
2006-11-08 22:59:41 +00:00
Marc Prud'hommeaux 824959c340 Removed the openjpa-examples jar from the assembly (which should only contain the sources).
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@472666 13f79535-47bb-0310-9956-ffa450edef68
2006-11-08 22:34:07 +00:00
Marc Prud'hommeaux 46291a1b1e Fixed to build docbook in the "process-resources" phase so that it gets built before the packaging is done.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@472651 13f79535-47bb-0310-9956-ffa450edef68
2006-11-08 21:29:52 +00:00
A. Abram White 42e0745224 Fix line over 80 chars.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@472617 13f79535-47bb-0310-9956-ffa450edef68
2006-11-08 20:05:28 +00:00
Kevin W. Sutter 286c870c34 Replace the UUIDGenerator with an implementation based on the Apache Commons Id implementation. This change removes the LGPL implication from the original implementation.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@472597 13f79535-47bb-0310-9956-ffa450edef68
2006-11-08 19:10:56 +00:00
Marc Prud'hommeaux e94e4937a4 Added call to attach the GPG signature files to the binary uploads so the signing can be automated when 'mvn deploy' is called.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@472383 13f79535-47bb-0310-9956-ffa450edef68
2006-11-08 04:16:46 +00:00
A. Abram White b40ba51347 Simple test case for abstract schema name queries.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@472355 13f79535-47bb-0310-9956-ffa450edef68
2006-11-08 00:50:15 +00:00
Kevin W. Sutter 71ed42e8c5 Forgot to include the ManyOneEntitySub.class in the MetaDataFactory... Query tests now work again.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@472347 13f79535-47bb-0310-9956-ffa450edef68
2006-11-08 00:17:33 +00:00
Kevin W. Sutter 535d6a9f94 Simplify the usage of the WAS ExtendedJTATransaction API. We only need to check the globalId (and not the localId) for presence of a global (user) transaction. Also corrected some of the exception processing and tracing of exceptions for rollback processing.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@472327 13f79535-47bb-0310-9956-ffa450edef68
2006-11-07 23:33:50 +00:00
A. Abram White 8efffbdd4b Test for the OpenJPAQuery.setSubclasses method.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@472310 13f79535-47bb-0310-9956-ffa450edef68
2006-11-07 22:38:37 +00:00
A. Abram White 3b9fa1f25a Bugfix for when abstract base class has no discriminator value. Cleanup of
query compilation cache additions.



git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@472275 13f79535-47bb-0310-9956-ffa450edef68
2006-11-07 21:20:57 +00:00
Marc Prud'hommeaux 0e02efdfbf Updated version to 0.9.6-incubating in hopes of having a release
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@472238 13f79535-47bb-0310-9956-ffa450edef68
2006-11-07 20:34:03 +00:00
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