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
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