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
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
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
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
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
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
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
Patrick Linskey
6234f8d3da
Changed logging infrastructure to be aware of localization; changed localization to return log-ready Message instances instead of strings. Changed tons of code to use the new logging and localization calls.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@429535 13f79535-47bb-0310-9956-ffa450edef68
2006-08-08 01:42:34 +00:00
A. Abram White
f7f225f96d
Change names of query languages to have "openjpa" prefix rather than
...
"org.apache.openjpa" to match configuration properties. Some minor code
formatting fixes.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@428918 13f79535-47bb-0310-9956-ffa450edef68
2006-08-04 23:12:30 +00:00
Pinaki Poddar
1a2d048f3d
load-fetch-group annotation added
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@428883 13f79535-47bb-0310-9956-ffa450edef68
2006-08-04 21:12:35 +00:00
A. Abram White
77e7d97379
Fetch group fixes.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@428577 13f79535-47bb-0310-9956-ffa450edef68
2006-08-03 23:56:32 +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
979d2340e9
Cleanup of fetch group metadata and internal runtime APIs. Now that fetch depth
...
information is immutable within a fetch instance and cloned on relation
traversal, it was safe to combine fetch state back into the fetch configuration
class and remove the fetch state class for cleaner APIs (no more having some
components use fetch state and others fetch configuration). Also changed
recursion depth logic to more accurately mirror intent (per JDO spec), though
testing is needed.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@426710 13f79535-47bb-0310-9956-ffa450edef68
2006-07-28 23:48:13 +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
A. Abram White
7268ed8f80
Default transaction type to RESOURCE_LOCAL. Spec changed in late revision
...
to default based on environment, rather than always defaulting to JTA.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@426351 13f79535-47bb-0310-9956-ffa450edef68
2006-07-28 01:16:51 +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
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
7bd0d044e3
guarded against null properties; changed the name of the class transformer options to be consistent with other OpenJPA config property names
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@424362 13f79535-47bb-0310-9956-ffa450edef68
2006-07-21 15:53:31 +00:00
Patrick Linskey
09e89d9cbb
fixed PUIImpl to deal with openjpa properties namespace correctly. TestPersistence should now work. Run 'mvn test -Dtest=TestPersistence' to see things in action.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@423720 13f79535-47bb-0310-9956-ffa450edef68
2006-07-20 02:38:07 +00:00
Patrick Linskey
a1f4fd3eb0
changed some more finally and catch blocks that didn't get properly reformatted with earlier reformattings / sed scripts
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@423693 13f79535-47bb-0310-9956-ffa450edef68
2006-07-20 01:15:04 +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
Patrick Linskey
89f6359ebc
moved store facade type registry to Configuration instead of a static in ImplHelper
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@423295 13f79535-47bb-0310-9956-ffa450edef68
2006-07-18 23:52:09 +00:00
Patrick Linskey
9fd87ae45c
added JPA bootstrapping resource
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@422266 13f79535-47bb-0310-9956-ffa450edef68
2006-07-15 16:56:41 +00:00
Patrick Linskey
2d8ee34a01
moved to raw 'openjpa.*' property prefix instead of 'org.apache.openjpa.*'; implemented system to allow multiple property prefixes for configurations without relaxing any of the current validations
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@422262 13f79535-47bb-0310-9956-ffa450edef68
2006-07-15 16:40:00 +00:00
Patrick Linskey
6577d2f166
fixed some test failures to do with repackaging and build process changes
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@421825 13f79535-47bb-0310-9956-ffa450edef68
2006-07-14 07:43:04 +00:00
Patrick Linskey
7cf69d8bcc
reformatted comments to follow Sun standards and use the standard ASL comment formatting
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@421741 13f79535-47bb-0310-9956-ffa450edef68
2006-07-13 23:44:20 +00:00
Patrick Linskey
4ddf63ea3f
removed some dead code and cleaned up some javadoc
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@421722 13f79535-47bb-0310-9956-ffa450edef68
2006-07-13 22:45:48 +00:00
Patrick Linskey
3feb467900
removed serp fork; replaced with new maven-based serp access. also updated poms to use the Geronimo versions of JTA etc. until we get closure on the plan going forward with the authoritative Glassfish jars
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@421069 13f79535-47bb-0310-9956-ffa450edef68
2006-07-12 01:32:26 +00:00
Patrick Linskey
7a6d34e95f
re-applied conversion from SolarMetric code formatting.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@421062 13f79535-47bb-0310-9956-ffa450edef68
2006-07-12 01:06:30 +00:00
Patrick Linskey
1fede626e2
core OpenJPA object management code, plus a sample flat-file XML-based back-end. This submission does not include the OpenJPA JDBC back-end, and also doesn't include any additional tests yet.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@420667 13f79535-47bb-0310-9956-ffa450edef68
2006-07-11 00:35:10 +00:00