Commit Graph

634 Commits

Author SHA1 Message Date
A. Abram White 1e5d09ce2f Forgot to add new classes.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@441242 13f79535-47bb-0310-9956-ffa450edef68
2006-09-07 21:45:54 +00:00
A. Abram White 7e30623c7b Refactor JDBC query expression tree to allow greater concurrency and to handle
parameters in result clauses of projections.



git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@441158 13f79535-47bb-0310-9956-ffa450edef68
2006-09-07 17:51:05 +00:00
Marc Prud'hommeaux 56d5f6469e OPENJPA-40 Fall back to using the ConfigurationProvider's ClassLoader in the even of a loader mismatch.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@440882 13f79535-47bb-0310-9956-ffa450edef68
2006-09-06 21:42:31 +00:00
Pinaki Poddar 890ae1a702 An extension mechanism for PersistenceProvider to supply their own Configuration Provider
and EntityManagerFactory. This is a tentative/interim solution and likely to be replaced
once we move to ProductDerivation based extension framework.


git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@440721 13f79535-47bb-0310-9956-ffa450edef68
2006-09-06 14:23:28 +00:00
Pinaki Poddar 253407b69c Refatoring user facing classes (FetchPlan, Generator, Extent, StoreCache) into interfaces.
Adding hooks for extended EntityManagerFactory and ConfigurationProvider.


git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@440714 13f79535-47bb-0310-9956-ffa450edef68
2006-09-06 13:52:35 +00:00
Marc Prud'hommeaux b34fec7e38 Removed references to non-existent mappings KeyColumn, KeyColumns, KeyEmbeddedMapping, KeyIndex, ElementColumn, ElementColumns, ElementEmbeddedMapping, and ElementStrategy
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@440460 13f79535-47bb-0310-9956-ffa450edef68
2006-09-05 19:43:41 +00:00
Marc Prud'hommeaux 8676abb0ad Fixed empty binary tags to be unary (since it was causing problems with some XML validators; fixed duplicate 'ref_guide_runtime_jpaquery' id, which appears like it should have been named 'ref_guide_runtime_jpaextent'
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@440450 13f79535-47bb-0310-9956-ffa450edef68
2006-09-05 19:28:36 +00:00
A. Abram White c1a146714e InheritanceComparator has been changed to public: add @nojavadoc to prevent
inclusion of this internal component in user javadoc.



git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@440400 13f79535-47bb-0310-9956-ffa450edef68
2006-09-05 16:59:11 +00:00
Stephen Kim 5240ea8612 remove executable flag on file
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@440254 13f79535-47bb-0310-9956-ffa450edef68
2006-09-05 04:34:44 +00:00
Stephen Kim 2b66092a80 fix inheritance issue again with interfaces
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@439554 13f79535-47bb-0310-9956-ffa450edef68
2006-09-02 07:27:13 +00:00
Stephen Kim fc9b67f556 changed ordering to avoid super / subclass clashing
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@439550 13f79535-47bb-0310-9956-ffa450edef68
2006-09-02 06:36:19 +00:00
Stephen Kim 4f4b1b29fe bug in ordering
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@439548 13f79535-47bb-0310-9956-ffa450edef68
2006-09-02 06:17:06 +00:00
Stephen Kim fe6352fca1 whoops. forgot interface impl generator
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@439412 13f79535-47bb-0310-9956-ffa450edef68
2006-09-01 18:18:03 +00:00
Stephen Kim 423b0a418a Support for managed interfaces
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@439383 13f79535-47bb-0310-9956-ffa450edef68
2006-09-01 17:16:50 +00:00
Marc Prud'hommeaux c39b7141ce Don't allow conversion from number to String if the strict flag is set to true.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@438746 13f79535-47bb-0310-9956-ffa450edef68
2006-08-31 01:51:30 +00:00
Marc Prud'hommeaux 582c83b29b OPENJPA-15 Updated grammer to fix some inconsistencies with the spec
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@438573 13f79535-47bb-0310-9956-ffa450edef68
2006-08-30 18:16:40 +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
Patrick Linskey 47ead9315d handle non-OpenJPA EMs more gracefully. This will help for containers that proxy the OpenJPA EM.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@438298 13f79535-47bb-0310-9956-ffa450edef68
2006-08-29 23:49:48 +00:00
Pinaki Poddar 2148098841 Changed due to property prefix from "kodo." to "openjpa."
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@438149 13f79535-47bb-0310-9956-ffa450edef68
2006-08-29 18:34:34 +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 de9352568f Expanded default doubleTypeName to be NUMERIC so it can properly fit a double.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@437982 13f79535-47bb-0310-9956-ffa450edef68
2006-08-29 06:23:13 +00:00
Marc Prud'hommeaux 5ff49b37b9 Removed check for Long.MIN_VALUE, since recent version of HSQL do not have the storage limitation.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@437981 13f79535-47bb-0310-9956-ffa450edef68
2006-08-29 06:14:59 +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
Patrick Linskey 96e534a165 moved POM to use ant task instead of java invocation; changed service invocations to use the classloader of the class being looked up to avoid issues with cyclic-static blocks; improved debug info
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@436945 13f79535-47bb-0310-9956-ffa450edef68
2006-08-25 21:00:19 +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
Marc Prud'hommeaux 323fce145e Removed custom serp repository, since it is now available via ibiblio.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@434546 13f79535-47bb-0310-9956-ffa450edef68
2006-08-24 22:29:35 +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
A. Abram White 746ebdfdc9 Slightly cleaner and in some cases more efficient exclusion of
persistence-aware types from mapping tool actions.



git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@434473 13f79535-47bb-0310-9956-ffa450edef68
2006-08-24 19:05:51 +00:00
Marc Prud'hommeaux 8fbfa8aecc Output build artifacts to the target/assembly/ directory.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@434440 13f79535-47bb-0310-9956-ffa450edef68
2006-08-24 17:24:17 +00:00
Patrick Linskey 0e41d092c9 resolved JIRA-32: unnecessary servlet dependency in openjpa-lib pom
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@434330 13f79535-47bb-0310-9956-ffa450edef68
2006-08-24 07:35:16 +00:00
Pinaki Poddar d0f15b881a Modified to ignore p-aware classes.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@434303 13f79535-47bb-0310-9956-ffa450edef68
2006-08-24 05:13:20 +00:00
Pinaki Poddar 6e262960ae MappingTool modified to ignore persistence-aware classes
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@434251 13f79535-47bb-0310-9956-ffa450edef68
2006-08-23 23:45:42 +00:00
A. Abram White 3aaa66ee7f Add ability to include one fetch group in another to FetchGroup annotation.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@434203 13f79535-47bb-0310-9956-ffa450edef68
2006-08-23 21:50:02 +00:00
Marc Prud'hommeaux bad3cba9b6 Changed version to be a SNAPSHOT so we can use the snapshotRepository
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@434196 13f79535-47bb-0310-9956-ffa450edef68
2006-08-23 21:37:05 +00:00
Marc Prud'hommeaux 086ecd6507 Changed packaging to "pom", since we aren't building a jar for this module.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@434116 13f79535-47bb-0310-9956-ffa450edef68
2006-08-23 18:23:19 +00:00
Marc Prud'hommeaux 4436a3d90f Escaped the "{user.home}" string with a "'" so that MessageFormat does not try to interpret it as a token (and then fail).
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@433855 13f79535-47bb-0310-9956-ffa450edef68
2006-08-23 03:10:33 +00:00
Marc Prud'hommeaux 9af2df4d09 Added generation of a /META-INF/revision.properties file that will hold the current subversion revision that was used when creating the jars; also made org.apache.openjpa.conf.OpenJPAVersion output this information when it is found
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@433850 13f79535-47bb-0310-9956-ffa450edef68
2006-08-23 02:43:02 +00:00
Pinaki Poddar 9246ee92bc A message for PersistenceAware class being added as PersistenceCapable also.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@433815 13f79535-47bb-0310-9956-ffa450edef68
2006-08-23 00:39:00 +00:00
Pinaki Poddar 1aec5d3dde Added support for PersistenceAwareClass -- wraps java.lang.Class thinly with SourceTracker.
Modified MetaDataRepository to add a container for PersistenceAwareClasses.



git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@433811 13f79535-47bb-0310-9956-ffa450edef68
2006-08-23 00:11:29 +00:00
Marc Prud'hommeaux ac98ba5c80 Split up the documentation into multiple chunks for easier management.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@433761 13f79535-47bb-0310-9956-ffa450edef68
2006-08-22 21:28:53 +00:00
Kevin W. Sutter d13c9fa4f6 Updated the SVN properties to ignore the target directories at each of the OpenJPA sub-project levels (openjpa-jdbc,
openjpa-jdbc-5, etc).  Some of the sub-projects already had the svn:ignore property for the target directory, but
not all of them.  I also updated the properties to ignore any "dot files" at the top most OpenJPA (ie. trunk)
level.  This will help with ignoring the metadata files associated with IDE's such as Eclipse (.classpath and
.project) and NetBeans (.netbeans).

git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@433670 13f79535-47bb-0310-9956-ffa450edef68
2006-08-22 15:14:46 +00:00
Marc Prud'hommeaux 6f0a7f67da Added expression-level support for Map.get in queries
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@433460 13f79535-47bb-0310-9956-ffa450edef68
2006-08-22 01:50:43 +00:00
A. Abram White d5bb522c34 No need for parser to populate separate QueryExpressions.aggregate member now
that we can visit the projection values to see if they're aggregates.



git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@433431 13f79535-47bb-0310-9956-ffa450edef68
2006-08-21 23:53:49 +00:00
A. Abram White 9de5395486 Add some query validations on compilation.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@433399 13f79535-47bb-0310-9956-ffa450edef68
2006-08-21 22:29:47 +00:00
A. Abram White 978bc40091 JIRA: OPENJPA-14
Applied patch (with some minor corrections).  



git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@433281 13f79535-47bb-0310-9956-ffa450edef68
2006-08-21 16:53:51 +00:00