Commit Graph

24 Commits

Author SHA1 Message Date
A. Abram White 832d913520 Delete child object(s) before parent when cascading delete. Also fix case where
an interface field uses targetEntity to declare itself as a concrete entity 
relation, and add test case for fix.



git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@442718 13f79535-47bb-0310-9956-ffa450edef68
2006-09-12 21:39:01 +00:00
A. Abram White 1e95734015 OPENJPA-39 test case. Also query fixes and fix to possible data corruption
issue (yikes!).



git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@442388 13f79535-47bb-0310-9956-ffa450edef68
2006-09-11 23:54:01 +00:00
A. Abram White ddf3631bcc Added test for deep mapped superclass inheritance hierarchy, which is what
my last metadata changes fixed.



git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@441702 13f79535-47bb-0310-9956-ffa450edef68
2006-09-09 00:39:29 +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
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
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
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 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
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
A. Abram White aba057d644 Allow our JPA ConfigurationProviderImpl to find a default persistence unit in
persistence.xml when no explicit configuration is given to dev tools.  Do this
in a backwards-compatible way that won't break previous behavior or other facade
behavior (JDO).  This means you should no longer have to pass 
"-p persistence.xml" to tools like the enhancer, nor should you have to specify
a properties argument to the PCEnhancerAgent in the premain for runtime 
enhancement.



git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@430897 13f79535-47bb-0310-9956-ffa450edef68
2006-08-11 21:07:58 +00:00
A. Abram White d1df9344fe Fix XML serialization of cascade data.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@428565 13f79535-47bb-0310-9956-ffa450edef68
2006-08-03 23:36:48 +00:00
A. Abram White b2e1912dc7 Fix StoreFacadeTypeRegistry to work when multiple stores are available. Fix
problems with creating a persistence FetchPlan, and with getting max depth.



git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@428069 13f79535-47bb-0310-9956-ffa450edef68
2006-08-02 17:51:43 +00:00
A. Abram White a98213071a Use latest stable releases of commmons dependencies. Add missing localized msg.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@427784 13f79535-47bb-0310-9956-ffa450edef68
2006-08-01 23:09:17 +00:00
A. Abram White c105fe6094 Pass "-p persistence.xml" to enhancer invocation when running persistence
tests so that we don't have to set JPA defaults in the JPA 
ConfigurationProviderImpl.beforeConfigurationLoad, which is incompatible with
having JDO,etc providers in the same system.  Eventually we should probably 
recognize persistence.xml as a defaults file, but for now that's against our 
previous contract of allowing a user to have a JDO,etc defaults file and a 
persistence.xml in the same system.  Also removed XML Transformer functionality
from XMLFactory, since we don't use it and it causes problems with Ant (this
seems to be an Ant+JDK 1.5 bug in Ant).  



git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@426634 13f79535-47bb-0310-9956-ffa450edef68
2006-07-28 18:12:02 +00:00
Patrick Linskey 1236605135 removed unneeded imports
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@426228 13f79535-47bb-0310-9956-ffa450edef68
2006-07-27 20:27:45 +00:00
Patrick Linskey 0bf2166ede removed some unneeded code; defaulted MetaDataFactory property
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@425805 13f79535-47bb-0310-9956-ffa450edef68
2006-07-26 18:50:51 +00:00
Marc Prud'hommeaux 3c702ef0d1 Added openjpa-project for assembly descriptiors and docs; upped version to 0.9.0
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@425608 13f79535-47bb-0310-9956-ffa450edef68
2006-07-26 04:24:28 +00:00
Marc Prud'hommeaux 0201c01e30 Changed database from tmp/ to target/database/ so it is automatically cleaned up when "mvn clean" is run.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@425548 13f79535-47bb-0310-9956-ffa450edef68
2006-07-25 22:57:10 +00:00
A. Abram White 3b1cb17cba General cleanup of cruft accumulated during separation from Kodo.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@425473 13f79535-47bb-0310-9956-ffa450edef68
2006-07-25 18:14:45 +00:00
Patrick Linskey b108a39e7e removed executable flag from all files in trunk, as per Craig's email to OpenJPA list
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@423647 13f79535-47bb-0310-9956-ffa450edef68
2006-07-19 22:50:34 +00:00
Patrick Linskey 7d1c8fccaf OpenJPA JDBC subsystem; reformatted some core OpenJPA code to move catch and finally blocks around.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@423615 13f79535-47bb-0310-9956-ffa450edef68
2006-07-19 21:34:44 +00:00