A. Abram White
74589c8ae1
Use most derived available classloader when loading plugins so that we can
...
load application classes when the application uses a derived loader.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@486424 13f79535-47bb-0310-9956-ffa450edef68
2006-12-13 00:16:33 +00:00
Pinaki Poddar
4a03860c2f
Not using the cached version of zip file.
...
For deploy-undeploy-redeply, the iterator was holding stale reference
to the cached zip content. The 'close' flag is no more required,
the zip file is closed as dictated by the user of the iterator.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@482831 13f79535-47bb-0310-9956-ffa450edef68
2006-12-05 23:57:57 +00:00
Kevin W. Sutter
dbcdfb9ff9
Include the original exception that caused the ClassFormatError to be thrown.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@482191 13f79535-47bb-0310-9956-ffa450edef68
2006-12-04 14:43:30 +00:00
Kevin W. Sutter
970f647622
Resolving JIRA report OPENJPA-63 for better pessimistic lock support for DB2. Instead of the usual "for update" clause, db2 dictionary will now use "with rr use and keep update locks" clause.
...
A couple of additional changes were necessary to properly detect the version of DB2 currently in use.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@482189 13f79535-47bb-0310-9956-ffa450edef68
2006-12-04 14:42:09 +00:00
Patrick Linskey
07dadf5564
removed duplicate info; added category data
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@477948 13f79535-47bb-0310-9956-ffa450edef68
2006-11-21 22:53:42 +00:00
Marc Prud'hommeaux
15cb2cdf7c
Added back the ability to call getPackageName() on the Message object.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@477446 13f79535-47bb-0310-9956-ffa450edef68
2006-11-21 00:42:53 +00:00
Marc Prud'hommeaux
66f6d907d5
Removed dependency on Class.getPackage() for finding localizer.properties files, since that method can sometimes return null.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@477436 13f79535-47bb-0310-9956-ffa450edef68
2006-11-21 00:29:53 +00:00
Patrick Linskey
32ced33fd5
removed debugging code
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@477270 13f79535-47bb-0310-9956-ffa450edef68
2006-11-20 17:46:46 +00:00
Marc Prud'hommeaux
dd5c64694d
Null check.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@476305 13f79535-47bb-0310-9956-ffa450edef68
2006-11-17 20:34:28 +00:00
Patrick Linskey
54d9735689
improved error messages; made NonPersistentMetaData serializable
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@475891 13f79535-47bb-0310-9956-ffa450edef68
2006-11-16 19:33:06 +00:00
Patrick Linskey
3a5185700f
invoke the close() callback at the beginning of ConfigurationImpl.close(); change other ConfigurationImpl subtypes to use preClose() instead of now-final close(); add test case for close callbacks.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@475115 13f79535-47bb-0310-9956-ffa450edef68
2006-11-15 04:20:30 +00:00
Patrick Linskey
330654d226
use Configuration.getId() as the default diagnostic context, if no diagnostic context is specified in the log configuration property.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@475094 13f79535-47bb-0310-9956-ffa450edef68
2006-11-15 01:28:38 +00:00
Patrick Linskey
72741efc85
moved metadata properties about openjpa.Id property
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@475093 13f79535-47bb-0310-9956-ffa450edef68
2006-11-15 01:27:51 +00:00
Patrick Linskey
a5f3ae42bf
realized immediately after committing that the id belongs at the generic Configuration level, not at the OpenJPAConfiguration level.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@475087 13f79535-47bb-0310-9956-ffa450edef68
2006-11-15 00:45:09 +00:00
Patrick Linskey
301580c069
made a number of configuration-related classes serializable to facilitate alternate means of configuration population; moved away from a couple more usages of commons collections LinkedMap; added new lifecycle callback to ProductDerivation interface
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@475059 13f79535-47bb-0310-9956-ffa450edef68
2006-11-14 23:42:42 +00:00
Patrick Linskey
54cb8933e3
moving to JDK1.4 LinkedHashMap instead of LinkedMap where possible.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@474974 13f79535-47bb-0310-9956-ffa450edef68
2006-11-14 20:57:02 +00:00
Marc Prud'hommeaux
3e8f9d931a
Updated to version 0.9.7-incubating-SNAPSHOT
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@474069 13f79535-47bb-0310-9956-ffa450edef68
2006-11-12 22:28:45 +00:00
Marc Prud'hommeaux
813bb89223
Updated to version 0.9.6-incubating
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@474050 13f79535-47bb-0310-9956-ffa450edef68
2006-11-12 21:36:52 +00:00
Marc Prud'hommeaux
ef56f8281b
Updated to version 0.9.7-incubating-SNAPSHOT
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@473962 13f79535-47bb-0310-9956-ffa450edef68
2006-11-12 12:59:24 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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