Patrick Linskey
dc797ab923
OPENJPA-160. Non-finalizing implementation is automatically selected when createContainerEntityManagerFactory() is invoked; clarified some method signatures.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@513183 13f79535-47bb-0310-9956-ffa450edef68
2007-03-01 06:31:50 +00:00
Kevin W. Sutter
7303bcd5d5
Slight update for the changes introduced via svn revision 506230 (OPENJPA-138). Instead of just skipping the "null ClassLoader" (which indicates the SystemClassLoader), we'll use the static ClassLoader.getSystemClassLoader() method in order to populate the cache.
...
This change will help the non-container-managed environment (whereas the original change only benefitted the container-managed environment).
This was discussed on the dev mailing list between Patrick, Marc, and myself.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@512357 13f79535-47bb-0310-9956-ffa450edef68
2007-02-27 18:48:19 +00:00
Patrick Linskey
7db81e3d6c
OPENJPA-158 -- reduced log level to TRACE for a variety of enhancement and metadata related messages
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@512107 13f79535-47bb-0310-9956-ffa450edef68
2007-02-27 01:59:42 +00:00
A. Abram White
65bd1f02e3
Second attempt at serializing to full properties, including defaults, rather
...
than just user-defined properties. This ensures that on deserialization we
get the proper settings despite not running product derivations. Previous
attempt caused problems on SunONE.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@510638 13f79535-47bb-0310-9956-ffa450edef68
2007-02-22 20:11:00 +00:00
Patrick Linskey
0b8bf2818c
OPENJPA-156. Applied Michael Dick's patch (thanks). Updated symbolic constant to use OpenJPA norms, changed references to external symbolic constants to use constants from the map impl being used, and reduced if-else statements for readability.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@509793 13f79535-47bb-0310-9956-ffa450edef68
2007-02-20 22:51:50 +00:00
A. Abram White
4efc5d6997
Revert "full properties caching" changes made to ConfigurationImpl -- they're
...
causing problems on some appservers.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@508445 13f79535-47bb-0310-9956-ffa450edef68
2007-02-16 15:23:09 +00:00
A. Abram White
7a2330ce3b
Compare Configuration instances on their full properties, including defaults.
...
Also serialize the full properties because product derivations aren't re-run
on deserialize, so we need to know the complete defaults, etc. We still track
the user-given properties separately so they can be used in factory pooling.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@507643 13f79535-47bb-0310-9956-ffa450edef68
2007-02-14 17:53:13 +00:00
Kevin W. Sutter
e14378f7f3
OPENJPA-138. Some updates to help with performance of OpenJPA in an application server environment. Details can be found in the OPENJPA-138 Issue.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@506230 13f79535-47bb-0310-9956-ffa450edef68
2007-02-12 02:33:05 +00:00
Marc Prud'hommeaux
2ac1bcccbb
OPENJPA-118: Implemented patch provided by David Ezzio for broken openjpa.AutoDetach behavior
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@502022 13f79535-47bb-0310-9956-ffa450edef68
2007-01-31 22:27:29 +00:00
Pinaki Poddar
74823f7cd0
Rollback redundant change of removing "Id" before warning for unrecognized configuration keys.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@501139 13f79535-47bb-0310-9956-ffa450edef68
2007-01-29 18:31:27 +00:00
Srinivasa Segu
5dddb15cb3
Fixed register/removeListener methods to not re-add once initialized.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@498865 13f79535-47bb-0310-9956-ffa450edef68
2007-01-23 00:15:15 +00:00
A. Abram White
e2665ce5dd
Use the current thread's classloader in addition to the configuration class'
...
loader when loading globals.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@497634 13f79535-47bb-0310-9956-ffa450edef68
2007-01-18 23:21:41 +00:00
Patrick Linskey
97b23ebb90
Resolve jar scanning issue by avoiding certain probably-buggy ZipInputStream methods
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@496912 13f79535-47bb-0310-9956-ffa450edef68
2007-01-17 01:57:07 +00:00
Pinaki Poddar
f5e4742f17
Ignore "Id" property while reporting unrecognized configuration properties.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@492645 13f79535-47bb-0310-9956-ffa450edef68
2007-01-04 17:19:33 +00:00
Srinivasa Segu
8264feb2d6
Check for null to handle the current thread's Context ClassLoader being null
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@489777 13f79535-47bb-0310-9956-ffa450edef68
2006-12-22 22:06:17 +00:00
A. Abram White
8b6406724b
Always merge new MetaDataFactory settings with any previous settings
...
because many of its properties are often set implicitly and aren't meant to
erase other settings.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@489520 13f79535-47bb-0310-9956-ffa450edef68
2006-12-22 00:21:17 +00:00
Patrick Linskey
264356a23f
created methods for interacting with product prefixes; moved configuration loading mechanisms to these new methods
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@487919 13f79535-47bb-0310-9956-ffa450edef68
2006-12-16 23:58:54 +00:00
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