A. Abram White
3e758faf25
Fix invalid property warning logic.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@430188 13f79535-47bb-0310-9956-ffa450edef68
2006-08-09 23:39:58 +00:00
A. Abram White
fd74642a17
Give better error when run on bad .class file.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@430171 13f79535-47bb-0310-9956-ffa450edef68
2006-08-09 22:39:24 +00:00
A. Abram White
5bef32e516
Make Localizer.Message a static class. Fix implicit type of query path
...
traversal terminating in byte[], char[] fields.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@430146 13f79535-47bb-0310-9956-ffa450edef68
2006-08-09 20:59:45 +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
ca83f07b45
Fix visibility.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@428876 13f79535-47bb-0310-9956-ffa450edef68
2006-08-04 20:41:36 +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
Patrick Linskey
e889cd2aef
cleaned up some imports; fixed a typo; changed test case to reduce output
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@427472 13f79535-47bb-0310-9956-ffa450edef68
2006-08-01 07:05:08 +00:00
Patrick Linskey
eb96e89f4d
Brett Porter's patch to resolve OPENJPA-3
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@427444 13f79535-47bb-0310-9956-ffa450edef68
2006-08-01 05:03:08 +00:00
Patrick Linskey
72398bcea0
changed configuration value factory method to set a default for booleans by default. The normal pattern is to obtain a BooleanValue and then set the default to 'true' when desired; implicitly, this means that 'false' is the default otherwise. This change makes that explicit.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@427356 13f79535-47bb-0310-9956-ffa450edef68
2006-07-31 23:13:00 +00:00
A. Abram White
2fd7381e53
Throw good error message about META-INF/services if we can't find any
...
configuration providers or product derivations. This has the downside of
mandating that there must be at least one valid product derivation and one
valid configuration provider available (theoretically someone using brokers
directly together with a simpl store like the sample XML store wouldn't need
either), but otherwise the final error message to the user is often meaningless.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@427229 13f79535-47bb-0310-9956-ffa450edef68
2006-07-31 19:36:46 +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
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
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
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
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
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
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
Patrick Linskey
99eb918da3
basic logic for converting simple JavaNames to xml-names; added some localization information about forgotten properties; removed spurious memory status printout from base test class; added 'target' to the svn:ignore for all the top-level maven dirs
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@423162 13f79535-47bb-0310-9956-ffa450edef68
2006-07-18 18:10:59 +00:00
Patrick Linskey
6936fc0d59
Configurations changes on behalf of Abe
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@422769 13f79535-47bb-0310-9956-ffa450edef68
2006-07-17 17:35:39 +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
32baa428fe
updates to configuration. Committed on behalf of Abe
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@422003 13f79535-47bb-0310-9956-ffa450edef68
2006-07-14 19:48:07 +00:00
Patrick Linskey
e27f636729
more javadoc fixes
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@421775 13f79535-47bb-0310-9956-ffa450edef68
2006-07-14 00:47:40 +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
26ee3648c3
removed some extraneous JDO / licensing-related code
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@421375 13f79535-47bb-0310-9956-ffa450edef68
2006-07-12 19:07:34 +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
b9636bb878
fixed some incorrect imports
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@420669 13f79535-47bb-0310-9956-ffa450edef68
2006-07-11 01:00:34 +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
Patrick Linskey
00652be8fd
improved docs
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@420455 13f79535-47bb-0310-9956-ffa450edef68
2006-07-10 07:45:45 +00:00
Patrick Linskey
f025bd4015
removed jdk1.5 dependency from Localizer.properties
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@418423 13f79535-47bb-0310-9956-ffa450edef68
2006-07-01 00:20:02 +00:00
Patrick Linskey
bf8ffa5ced
reformatted using a better formatter; added a bunch of tests
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@418401 13f79535-47bb-0310-9956-ffa450edef68
2006-06-30 22:37:18 +00:00
Patrick Linskey
67410de676
removed unneeded class
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@417901 13f79535-47bb-0310-9956-ffa450edef68
2006-06-28 23:38:05 +00:00
Patrick Linskey
46e7dbf647
added some openjpa-lib test, pom files, and serp fork. We may move the changes in serp back into the serp source tree and add a maven layout to serp, but for now, let's just get things rolling here.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@417860 13f79535-47bb-0310-9956-ffa450edef68
2006-06-28 19:46:13 +00:00
Patrick Linskey
b9183699ba
restructuring for maven; adding some more utility code. This is part 1 of a two-part commit, since I didn't put enough directory structures in place just yet and svn complained and I'm an svn newbie afraid to tempt the gods of source control.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@417856 13f79535-47bb-0310-9956-ffa450edef68
2006-06-28 19:34:33 +00:00
Patrick Linskey
9d8d5d02e3
removed published comment; this interface isn't part of the Kodo published interfaces, and we don't even have that concept in OpenJPA yet.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@406432 13f79535-47bb-0310-9956-ffa450edef68
2006-05-14 21:05:41 +00:00
Patrick Linskey
e6584f2f74
removing unused file
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@406418 13f79535-47bb-0310-9956-ffa450edef68
2006-05-14 20:29:21 +00:00
Patrick Linskey
42cbc4dd74
fixed bad license comment string in html
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@406240 13f79535-47bb-0310-9956-ffa450edef68
2006-05-14 04:06:09 +00:00
Patrick Linskey
b38bdc89cc
Some updates to get around a couple warnings
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@406224 13f79535-47bb-0310-9956-ffa450edef68
2006-05-14 03:38:55 +00:00
Patrick Linskey
c64c2ca062
Some core utility classes. These are all JDK1.3-safe. I have not committed required libraries; we'll need to set up our build + lib infrastructure. To compile this codebase, you'll need serp, commons collections, commons lang, log4j, commons logging, jdbc3 stubs, and the xml apis to be available.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@406215 13f79535-47bb-0310-9956-ffa450edef68
2006-05-14 03:25:56 +00:00