Commit Graph

105 Commits

Author SHA1 Message Date
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
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
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
A. Abram White 46736c6018 Fix configuration warnings for misspelled property names.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@450173 13f79535-47bb-0310-9956-ffa450edef68
2006-09-26 20:11:33 +00:00
A. Abram White 62bc6c997c Change default MaxFetchDepth to -1 (unlimited). Also move the use of multiple
configuration prefixes to ProductDerivations for simple static access.  Modify
some cases of looking for "openjpa." prefixes to properties to properly look 
for all configured prefixes instead.



git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@450114 13f79535-47bb-0310-9956-ffa450edef68
2006-09-26 16:54:30 +00:00
A. Abram White 68572a9197 Die in ProductDerivations.load() if given resource/file can't be parsed by any
ProductDerivations in the system.



git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@448625 13f79535-47bb-0310-9956-ffa450edef68
2006-09-21 18:28:06 +00:00
A. Abram White cdcfea47d4 Review/cleanup of product derivation work.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@448025 13f79535-47bb-0310-9956-ffa450edef68
2006-09-20 01:29:55 +00:00
Pinaki Poddar 2c31d9c6df 1. Refactoring ConfigurationProvider/ProductDerivation subsystem.
2. Extensibility of OpenJPA via ProductDerivation

Primary modifications are
a) The configuration information resources are located/parsed/loaded via dynamically discovered ProductDerivation services
(instead of ConfigurationProviders). ConfigurationProvider is not enlisted as a service any more.
b) Tools are modified to use ProductDerivations instead of Configurations 
c) ProductDerivation has moved to lib from kernel.
d) ProductDerivation types that are STORE specific are no more defined in lib version.
OpenJPAProductDerivation in kernel package defines them. The type constants have holes. 
e) One test is modified
f) pom.xml is modified as ProductDerivation has moved to lib from kernel 

git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@447664 13f79535-47bb-0310-9956-ffa450edef68
2006-09-19 00:50:57 +00:00
Marc Prud'hommeaux 02c9ce3ca7 Fixed possibility of a null method in getMethodDescriptors.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@446802 13f79535-47bb-0310-9956-ffa450edef68
2006-09-16 01:25:59 +00:00
Marc Prud'hommeaux 20e0762e43 Fixed getMethodDescriptors to not try to create a MethodDescriptor for a non-existant method (which would cause an NPE).
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@443524 13f79535-47bb-0310-9956-ffa450edef68
2006-09-14 23:47:13 +00:00
Kevin W. Sutter 9650a1a20b Minor updates to comments and doc... While doing the removal of the LockGroup stuff, I came across an entry for
contacting support@solarmetric.com for some customization feature.  While cleaning that up, I also cleaned up any 
other references to @solarmetric.com and @bea.com.

git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@443123 13f79535-47bb-0310-9956-ffa450edef68
2006-09-13 21:05:42 +00:00
Marc Prud'hommeaux 812e184e89 Added openjpa-all module which will manually create an openjpa-all-VERSION.jar file that aggregates all the other openja-*.jar files; fixed Configurations.java to provide more information when a missing services resource is caused by a deeper exception
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@441318 13f79535-47bb-0310-9956-ffa450edef68
2006-09-08 01:24:18 +00:00
Patrick Linskey 01735b1234 changed @since tags to disambiguate the Kodo information with future releases of OpenJPA by adding a 0. to the beginning of each.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@438566 13f79535-47bb-0310-9956-ffa450edef68
2006-08-30 17:53:55 +00:00
A. Abram White 163cc2a22c Framework for allowing ranges in query strings to be specified as parameters
(not needed for JPQL, but for others).  Also consolidated some internal query
framework APIs.



git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@438338 13f79535-47bb-0310-9956-ffa450edef68
2006-08-30 03:43:16 +00:00
Marc Prud'hommeaux cd9c6c1986 Moved build number generation into openjpa-lib, since having it in the top-level pom causes the plugin to be executed multiple times in each module (bug reported at MNG-2221)
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@438035 13f79535-47bb-0310-9956-ffa450edef68
2006-08-29 09:53:48 +00:00
Marc Prud'hommeaux dc1f0bf204 OPENJPA-30 Changed version to 0.9.0-incubating-SNAPSHOT in accordance with Apache incubator guidelines
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@437209 13f79535-47bb-0310-9956-ffa450edef68
2006-08-26 18:59:34 +00:00
Marc Prud'hommeaux f37d9f8d61 Fixed to use equals() instead of == for testing the type of the current Locale.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@436962 13f79535-47bb-0310-9956-ffa450edef68
2006-08-25 21:35:13 +00:00
Marc Prud'hommeaux 45c89bd455 Fixed assumption by test case that the default locale would not be GERMANY, which was special-cased in the test.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@436944 13f79535-47bb-0310-9956-ffa450edef68
2006-08-25 20:57:46 +00:00
Marc Prud'hommeaux 8adfc84d9c Fixed assumption by test case that the default locale would not be GERMANY, which was special-cased in the test.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@436941 13f79535-47bb-0310-9956-ffa450edef68
2006-08-25 20:53:28 +00:00
Marc Prud'hommeaux caffb77405 Prefixed pom names with 'OpenJPA' to make them more friendly when their public names are displayed
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@436911 13f79535-47bb-0310-9956-ffa450edef68
2006-08-25 19:16:23 +00:00
Patrick Linskey dcb47f0fe4 OPENJPA-14. Use the class's classloader in environments when service lookups should be looking in the OpenJPA distribution. This imposes the restriction that OpenJPA will only find services in the same classloader as the OpenJPA jars themselves, which is a much better restriction than requiring that the classes be in the thread's context classloader.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@436694 13f79535-47bb-0310-9956-ffa450edef68
2006-08-25 07:33:50 +00:00
A. Abram White fe71475a59 Formatted our documentation XML files.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@434517 13f79535-47bb-0310-9956-ffa450edef68
2006-08-24 20:41:12 +00:00