Commit Graph

2233 Commits

Author SHA1 Message Date
Marc Prud'hommeaux 5698420f65 Moved Premain-Class=org.apache.openjpa.enhance.PCEnhancerAgent setting from openjpa-kernel module to openjpa-kernel-5
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@426670 13f79535-47bb-0310-9956-ffa450edef68
2006-07-28 21:25:10 +00:00
A. Abram White 604703c6d1 Got all tests passing.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@426658 13f79535-47bb-0310-9956-ffa450edef68
2006-07-28 19:58:44 +00:00
A. Abram White 1a6d7d547c Add resources needed for TestXMLWriter test.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@426637 13f79535-47bb-0310-9956-ffa450edef68
2006-07-28 18:18:41 +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 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 650ca6f27f removed unneeded imports
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@426217 13f79535-47bb-0310-9956-ffa450edef68
2006-07-27 19:59:09 +00:00
Patrick Linskey 64db310695 corrected some configuration properties that do not allow alternate values
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@426216 13f79535-47bb-0310-9956-ffa450edef68
2006-07-27 19:57:37 +00:00
Marc Prud'hommeaux b79f86b6a7 Removed bogus testSourceDirectory which I had accidentally added.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@425927 13f79535-47bb-0310-9956-ffa450edef68
2006-07-27 01:31:45 +00:00
Marc Prud'hommeaux f75ef7b7f9 Cast to floats and doubles to ensure that we use the correct constructor (e.g., since there is a new BigDecimal(int) constructor in JDK 1.5 that we don't want to accidentally rely on).
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@425822 13f79535-47bb-0310-9956-ffa450edef68
2006-07-26 19:59:12 +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 8c8a0a923d Fixed instances of "OpenJPA JPA" to be just "OpenJPA".
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@425782 13f79535-47bb-0310-9956-ffa450edef68
2006-07-26 17:15:58 +00:00
Marc Prud'hommeaux f217051f56 Added project.revision checking.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@425683 13f79535-47bb-0310-9956-ffa450edef68
2006-07-26 08:58:35 +00:00
Marc Prud'hommeaux 52ccceb9c4 Disabled filtering, since it was being applied to images and was corrupting them!
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@425679 13f79535-47bb-0310-9956-ffa450edef68
2006-07-26 08:45:19 +00:00
Marc Prud'hommeaux f41a4a8942 Fixed error in naming: img/manual/ should have been manual/img/
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@425674 13f79535-47bb-0310-9956-ffa450edef68
2006-07-26 08:28:01 +00:00
Marc Prud'hommeaux a57637c783 Fixed error in naming: img/manual/ should have been manual/img/
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@425673 13f79535-47bb-0310-9956-ffa450edef68
2006-07-26 08:27:43 +00:00
Marc Prud'hommeaux 22a112d4da Stylesheet work
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@425669 13f79535-47bb-0310-9956-ffa450edef68
2006-07-26 08:18:22 +00:00
Marc Prud'hommeaux 1a41108b1b Renamed 'ejb3' image prefixes to be 'jpa'
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@425665 13f79535-47bb-0310-9956-ffa450edef68
2006-07-26 08:10:08 +00:00
Marc Prud'hommeaux 2209bd4050 Moved images to correct location for manual
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@425662 13f79535-47bb-0310-9956-ffa450edef68
2006-07-26 08:07:18 +00:00
Marc Prud'hommeaux 1fc9187ac7 Changed to html stylesheets, since they seem to not output strange characters
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@425658 13f79535-47bb-0310-9956-ffa450edef68
2006-07-26 07:56:59 +00:00
Marc Prud'hommeaux 01d05dfbb8 Enabled use.id.as.filename to use more human-readable file names.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@425655 13f79535-47bb-0310-9956-ffa450edef68
2006-07-26 07:47:27 +00:00
Marc Prud'hommeaux 5c61ff4970 Documentation images and style sheets
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@425653 13f79535-47bb-0310-9956-ffa450edef68
2006-07-26 07:36:54 +00:00
Marc Prud'hommeaux c3845a4232 Documentation images and style sheets
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@425652 13f79535-47bb-0310-9956-ffa450edef68
2006-07-26 07:36:39 +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
Patrick Linskey 5556a4085c updated property namespace
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@425553 13f79535-47bb-0310-9956-ffa450edef68
2006-07-25 23:14:45 +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
Patrick Linskey bbb2d060b0 changed AutoDetachValue to extend StringListValue, more closely modeling its behavior in the Kodo configuration system; changed visibility of XML name conversion method
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@425499 13f79535-47bb-0310-9956-ffa450edef68
2006-07-25 19:49:48 +00:00
Marc Prud'hommeaux e9aa22eddc Fixed incorrect import
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@425497 13f79535-47bb-0310-9956-ffa450edef68
2006-07-25 19:42:50 +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
Pinaki Poddar 884ff1b863 FetchPlan with recursive scheme.
- modified select building and load cycles in JDBCStoreManager with FetchState traversal 
- loadAll(), findAll() methods reverted to their method signature with FetchConfiguration instead of FetchState
- StateManager.postLoad checks for fetch group with postload set to true 

git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@425312 13f79535-47bb-0310-9956-ffa450edef68
2006-07-25 07:10:26 +00:00
Marc Prud'hommeaux 98e8533cb0 Test commit to see if Apache https is working yet.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@425237 13f79535-47bb-0310-9956-ffa450edef68
2006-07-25 00:50:25 +00:00
Stephen Kim 42136d9d12 removed kodo plugin
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@425138 13f79535-47bb-0310-9956-ffa450edef68
2006-07-24 18:08:30 +00:00
Stephen Kim a9bb3a6377 Fix fetch state and proper method sigs for multiple fetch groups
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@425136 13f79535-47bb-0310-9956-ffa450edef68
2006-07-24 18:04:50 +00:00
Marc Prud'hommeaux 7ded181586 Formatting fix
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@424837 13f79535-47bb-0310-9956-ffa450edef68
2006-07-23 22:08:11 +00:00
Marc Prud'hommeaux aafabcf169 Cleaned up version parsing and made it more robust
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@424834 13f79535-47bb-0310-9956-ffa450edef68
2006-07-23 22:01:46 +00:00
Marc Prud'hommeaux 775c33d4fc Fixed typo in conditional
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@424833 13f79535-47bb-0310-9956-ffa450edef68
2006-07-23 22:01:21 +00:00
Marc Prud'hommeaux 7f6a84d433 Changed to use ReentrantLock so we could get rid of our last dependency on the backport-util-concurrent library.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@424790 13f79535-47bb-0310-9956-ffa450edef68
2006-07-23 19:46:08 +00:00
Patrick Linskey ca8633ab49 removed unneeded code; updated configuration metadata; changed visibility of XML-conversion method; moved import to imports rather than fully-qualified class name
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@424456 13f79535-47bb-0310-9956-ffa450edef68
2006-07-21 20:55:44 +00:00
Patrick Linskey b028e31507 fixed in-mem distinct evaluation of single results
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@424364 13f79535-47bb-0310-9956-ffa450edef68
2006-07-21 15:54:56 +00:00
Patrick Linskey 958386b2b2 remove duplicate code
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@424363 13f79535-47bb-0310-9956-ffa450edef68
2006-07-21 15:54:20 +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 fc9321f35e removed some unused code
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@423996 13f79535-47bb-0310-9956-ffa450edef68
2006-07-20 17:24:09 +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 aad47c26bd cleaned up some dead code
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@423627 13f79535-47bb-0310-9956-ffa450edef68
2006-07-19 21:56:52 +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 f9eb746445 added forgotten new file
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@423328 13f79535-47bb-0310-9956-ffa450edef68
2006-07-19 01:37:08 +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 19b401bcc7 opened up BrokerFactoryValue bootstrapping configuration a bit; added better error bootstrapping error messages
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@423271 13f79535-47bb-0310-9956-ffa450edef68
2006-07-18 22:32:16 +00:00