Commit Graph

516 Commits

Author SHA1 Message Date
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
Marc Prud'hommeaux 3ffad89624 Added warning about Oracle's ArrayIndexOutOfBoundsException JDBC driver bug.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@453720 13f79535-47bb-0310-9956-ffa450edef68
2006-10-06 18:10:08 +00:00
Marc Prud'hommeaux 223b81db2b Added warning about Oracle's ArrayIndexOutOfBoundsException JDBC driver bug.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@453717 13f79535-47bb-0310-9956-ffa450edef68
2006-10-06 18:06:17 +00:00
Marc Prud'hommeaux b25dfe66f4 Added supportsTimestampNanos to allow people to work around an ArrayIndexOutOfBoundsException that occurs when using multiple timestamp columns with version 9.2+ of the Oracle JDBC driver and version less than 9.2 of the Oracle server.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@453715 13f79535-47bb-0310-9956-ffa450edef68
2006-10-06 18:03:50 +00:00
Marc Prud'hommeaux 27e8bd4849 Handle exceptions in getFactoryClass() when it is just being used for inclusion in the error message of an exception.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@453712 13f79535-47bb-0310-9956-ffa450edef68
2006-10-06 17:57:23 +00:00
A. Abram White dc09b61954 Fixes from Kodo's 3.4 branch.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@453685 13f79535-47bb-0310-9956-ffa450edef68
2006-10-06 17:13:21 +00:00
A. Abram White c0c4c3c738 Fixes relating to multiple same-typed embedded fields loading eager relations,
and deep vertical inheritance hierarchies where the base class's primary key 
is auto-assigned on insert.



git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@453449 13f79535-47bb-0310-9956-ffa450edef68
2006-10-06 01:04:34 +00:00
A. Abram White 1dbb7a9044 Tests and fixes for entities with multiple same-typed embedded entities, which
themselves have relations to other entities.



git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@453321 13f79535-47bb-0310-9956-ffa450edef68
2006-10-05 19:13:26 +00:00
A. Abram White 69d8dd3da9 Enable caching of embedded instances by datacache. Fix bugs in
DataCachePCDataGenerator.



git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@453066 13f79535-47bb-0310-9956-ffa450edef68
2006-10-04 23:43:51 +00:00
A. Abram White d0bca27ecd When there is only one callback exception, use its error message in top-level
exception.



git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@453044 13f79535-47bb-0310-9956-ffa450edef68
2006-10-04 21:52:17 +00:00
A. Abram White 361a77c451 Fix bug that could prevent user-assigned value from being inserted into a column
with a database default value.



git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@453030 13f79535-47bb-0310-9956-ffa450edef68
2006-10-04 21:16:06 +00:00
A. Abram White 5337ce10d0 Possible fix for OPENJPA-13 JIRA issue. Also fix possible NPE on delayed close
on transaction completion in managed environment.



git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@453016 13f79535-47bb-0310-9956-ffa450edef68
2006-10-04 20:46:25 +00:00
A. Abram White 8785be46e7 Handle exceptions from transaction listeners appropriately. Allow user to
override default CallbackMode for both lifecycle and transaction listeners.



git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@452981 13f79535-47bb-0310-9956-ffa450edef68
2006-10-04 19:12:34 +00:00
Marc Prud'hommeaux 88acae75c1 Removed special logic for forcing an inner join for projection clauses, since that logic is duplicated elsewhere.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@452684 13f79535-47bb-0310-9956-ffa450edef68
2006-10-04 00:33:46 +00:00
A. Abram White c1a857c915 Move the Perf class that supports some of our concurrency utils on older JVMs
to lib, where it belongs.



git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@452683 13f79535-47bb-0310-9956-ffa450edef68
2006-10-04 00:26:45 +00:00
A. Abram White 17b27d44d0 Fix relative Javadoc URLs.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@452681 13f79535-47bb-0310-9956-ffa450edef68
2006-10-04 00:10:28 +00:00
A. Abram White afe9acd576 Doc corrections.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@452672 13f79535-47bb-0310-9956-ffa450edef68
2006-10-03 23:00:18 +00:00
A. Abram White 174ae93d41 MetaDataFactory.newInstance method no longer needed. Continue work on docs
(note: docs may temporarily be in invalid state).



git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@452592 13f79535-47bb-0310-9956-ffa450edef68
2006-10-03 18:36:45 +00:00
Marc Prud'hommeaux f18ea3dd33 Set the data cache schedule thread to be a daemon thread.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@452289 13f79535-47bb-0310-9956-ffa450edef68
2006-10-03 01:20:16 +00:00
A. Abram White bdae6535ec Miscellaneous cleanup and fixes. Some documentation review.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@452243 13f79535-47bb-0310-9956-ffa450edef68
2006-10-02 22:22:18 +00:00
A. Abram White e30632b60b Trying a new approach to automatic enhancement in a container. Might have to
revert.



git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@452141 13f79535-47bb-0310-9956-ffa450edef68
2006-10-02 17:39:28 +00:00
Patrick Linskey bc9422ea5d improved error message
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@451707 13f79535-47bb-0310-9956-ffa450edef68
2006-10-01 01:28:25 +00:00
Stephen Kim 9fb0a9a6f5 fix deletion of PNewProvisional
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@451691 13f79535-47bb-0310-9956-ffa450edef68
2006-09-30 22:34:55 +00:00
Stephen Kim 923eb32d31 fixed duplicate preFlush and bug wrt persist vs nonprovisional in
singlefieldmanager


git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@451543 13f79535-47bb-0310-9956-ffa450edef68
2006-09-30 05:29:10 +00:00
Marc Prud'hommeaux f74ac8b6b9 Prevent reentrant calls to transform() in order to prevent attempts to enhance OpenJPA libraries (for cases where OpenJPA falls under the control of the enhancing class loader).
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@451517 13f79535-47bb-0310-9956-ffa450edef68
2006-09-30 02:00:40 +00:00
Marc Prud'hommeaux cc25d2a536 Changed revision checking system to spawn the "svnversion" command rather than directly parsiong the .svn/entries file. This gives a more accurate revision number, and it also deals with the new subversion format, which is no longer XML.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@451471 13f79535-47bb-0310-9956-ffa450edef68
2006-09-29 22:08:28 +00:00
Marc Prud'hommeaux 5eb55ee87a Changed REVISION_NUMBER to be a String, since Subversion revisions can be a string (e.g., "420667:451468M")
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@451470 13f79535-47bb-0310-9956-ffa450edef68
2006-09-29 22:07:21 +00:00
Patrick Linskey b198cb7305 changing phase so that the svn artifact gets into classes dir before jars are made
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@451468 13f79535-47bb-0310-9956-ffa450edef68
2006-09-29 21:48:29 +00:00
Stephen Kim f104321da8 avoid duplicate event call
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@451011 13f79535-47bb-0310-9956-ffa450edef68
2006-09-28 20:18:07 +00:00
Stephen Kim d833950424 committed wrong version of pNewProviisonal handling
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@450937 13f79535-47bb-0310-9956-ffa450edef68
2006-09-28 17:47:23 +00:00