Commit Graph

166 Commits

Author SHA1 Message Date
Patrick Linskey 93986d5587 OPENJPA-317 -- correction to a method name to better reflect what it does.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.0@568306 13f79535-47bb-0310-9956-ffa450edef68
2007-08-21 22:13:37 +00:00
Patrick Linskey c743a5384f removed unneeded import
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.0@568305 13f79535-47bb-0310-9956-ffa450edef68
2007-08-21 22:13:19 +00:00
Marc Prud'hommeaux 1f15d9f34d Bumping release number from 1.0.0-SNAPSHOT to 1.0.0
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.0@568075 13f79535-47bb-0310-9956-ffa450edef68
2007-08-21 11:36:14 +00:00
Patrick Linskey 56f6b43790 OPENJPA-317. Some more API Javadoc cleanup, plus a bit of last-minute renaming and method visibility changes for clarity.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@567986 13f79535-47bb-0310-9956-ffa450edef68
2007-08-21 07:03:48 +00:00
Patrick Linskey ebcec6e55b OPENJPA-317. Moved away from requiring Type at the end of enums, in favor of alignment with existing OpenJPA config settings.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@567900 13f79535-47bb-0310-9956-ffa450edef68
2007-08-21 01:37:39 +00:00
Patrick Linskey 89ec5482cb Static field can be final.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@567898 13f79535-47bb-0310-9956-ffa450edef68
2007-08-21 01:28:44 +00:00
Patrick Linskey b0c5cfe69a If a getter is marked @Transient, be a bit more quiet about compliance warnings.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@567897 13f79535-47bb-0310-9956-ffa450edef68
2007-08-21 01:28:12 +00:00
Patrick Linskey 8c28c6bcbd Improved debugging to reduce verbosity when not in TRACE.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@567896 13f79535-47bb-0310-9956-ffa450edef68
2007-08-21 01:20:14 +00:00
Patrick Linskey dda1e8ef6f OPENJPA-293. Allow runtime redefinition to be disabled via a configuration setting. We really should sweep through the code and change ImplHelper to take a Configuration as an argument, but that won't change the behavior; it'll just make some of the validations more eager.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@567886 13f79535-47bb-0310-9956-ffa450edef68
2007-08-21 00:45:23 +00:00
Patrick Linskey 032bf10ce6 OPENJPA-317. Javadoc clarification.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@567855 13f79535-47bb-0310-9956-ffa450edef68
2007-08-20 22:15:51 +00:00
Patrick Linskey 4e8936a706 OPENJPA-317. There is no additional covariant-type work to do here.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@567854 13f79535-47bb-0310-9956-ffa450edef68
2007-08-20 22:11:59 +00:00
Patrick Linskey 778ab2a393 OPENJPA-317. Changed OpenJPA published API pre-1.0. Reduced the scope of the dependencies in OpenJPAEntityManager and the other published interfaces; converted JDK1.4-style symbolic constant usage to new enums; changed some method names for clarity and consistency; removed old javax.resource dependencies; updated @published and @nojavadoc tags. The published interfaces should now only reference other published interfaces in method signatures, and it should be possible to build javadoc for just the published interfaces.
Removed getDelegate() calls from the published interfaces, as they expose internals. They are still available on the impl classes themselves, or the SPI ifaces when available.

Added covariant return types to JDBCFetchPlan.

Changed BrokerFactoryListener interface to not encode event types in the listener signature.

Moved some methods from OpenJPAPersistence to JPAFacadeHelper.

We will need to grow these published interfaces to provide access to some things in the internal interfaces. However, these interfaces will remain stable moving forward within the constraints of the OpenJPA deprecation policies.

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@567838 13f79535-47bb-0310-9956-ffa450edef68
2007-08-20 21:32:54 +00:00
David J. Wisneski 7ae341d308 additional check for XmlRootElement annotation
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@566297 13f79535-47bb-0310-9956-ffa450edef68
2007-08-15 18:40:47 +00:00
Marc Prud'hommeaux ecc36a0f37 Build system work in preparation for 1.0.0 release; fixed some missing license headers; added maven ARAT plugin
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@565955 13f79535-47bb-0310-9956-ffa450edef68
2007-08-14 22:39:55 +00:00
Kevin W. Sutter 5c9642d5f4 OPENJPA-244. Committing Albert's changes for Java 2 Security (minus the white space).
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@564408 13f79535-47bb-0310-9956-ffa450edef68
2007-08-09 22:27:17 +00:00
Patrick Linskey b7fe66357b Tolerate container failure better, now that we can handle non-enhanced types.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@563705 13f79535-47bb-0310-9956-ffa450edef68
2007-08-08 00:05:40 +00:00
Patrick Linskey 63c3748900 OPENJPA-165
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@563702 13f79535-47bb-0310-9956-ffa450edef68
2007-08-07 23:47:19 +00:00
Patrick Linskey 86e47000db OPENJPA-86
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@563697 13f79535-47bb-0310-9956-ffa450edef68
2007-08-07 23:12:56 +00:00
Patrick Linskey 09e13c4ad8 Minor final-field change.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@563654 13f79535-47bb-0310-9956-ffa450edef68
2007-08-07 20:59:39 +00:00
David J. Wisneski 79c7b280d3 OPENJPA-240 check null before adding field meta
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@563377 13f79535-47bb-0310-9956-ffa450edef68
2007-08-07 03:03:58 +00:00
Marc Prud'hommeaux dd1ea27032 OPENJPA240 added missing null check
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@563192 13f79535-47bb-0310-9956-ffa450edef68
2007-08-06 17:04:29 +00:00
Marc Prud'hommeaux e466dee5f9 OPENJPA240 added missing null check
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@563184 13f79535-47bb-0310-9956-ffa450edef68
2007-08-06 16:48:10 +00:00
Marc Prud'hommeaux 156a7ffdd0 OPENJPA240 applied patch by Catalina Wei to remove static dependency on JAXB classes
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@563031 13f79535-47bb-0310-9956-ffa450edef68
2007-08-06 05:53:17 +00:00
David J. Wisneski 7ca46cf69d OPENJPA-240 XMLMapping Query - refactoring JAXB XML annotaion parser
Help Catalina committing OPENJPA-240.r560665.patch for refactoring JAXB XML annotation parser.

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@561376 13f79535-47bb-0310-9956-ffa450edef68
2007-07-31 16:19:24 +00:00
Patrick Linskey 8c1710ed63 OPENJPA-297
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@560304 13f79535-47bb-0310-9956-ffa450edef68
2007-07-27 16:26:52 +00:00
Patrick Linskey 747226b1d6 OPENJPA-293. All tests pass, but only because we don't currently test Java 5 + redefinition (only Java 5 + no redef). We need a new version of serp (1.13.1) to support that configuration; the new version has not yet made it into ibiblio.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@560016 13f79535-47bb-0310-9956-ffa450edef68
2007-07-26 22:08:37 +00:00
Pinaki Poddar 0260d8de47 Making inner ConfigurationParser public for reuse.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@557761 13f79535-47bb-0310-9956-ffa450edef68
2007-07-19 20:13:32 +00:00
Kevin W. Sutter 62ae83f3b5 Minor updates to help with translation and formatting of messages. Items like removing contractions like "can't" and "doesn't". Also, ensuring there are two single quotes for possive like "Provider's".
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@556926 13f79535-47bb-0310-9956-ffa450edef68
2007-07-17 13:43:40 +00:00
Marc Prud'hommeaux 8b5a7f68a0 OPENJPA-244 Fixed some formatting inconsistencies with the patch for OPENJPA-244
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@553010 13f79535-47bb-0310-9956-ffa450edef68
2007-07-03 22:42:39 +00:00
Michael Dick 0c517d163e OPENJPA-244 committing on behalf of Albert
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@552996 13f79535-47bb-0310-9956-ffa450edef68
2007-07-03 21:55:29 +00:00
Marc Prud'hommeaux 85b2e766ca OPENJPA-239 Patch to support the generation of annotation mappings using the reverse mapping tool
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@552358 13f79535-47bb-0310-9956-ffa450edef68
2007-07-01 19:37:04 +00:00
Patrick Linskey 1b9d1e2d12 OPENJPA-262. Added test case for lifecycle and tx registries in BrokerFactories. Also discovered that BEFORE_PERSIST listeners (and possibly a couple of others) were not being invoked; fixed-by-inspection and simplified the registration of types in the lifecycle event handler.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@551885 13f79535-47bb-0310-9956-ffa450edef68
2007-06-29 13:18:26 +00:00
Marc Prud'hommeaux 3599a48964 Moving version to 1.0.0-SNAPSHOT as a result of mailing list vote
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@541929 13f79535-47bb-0310-9956-ffa450edef68
2007-05-26 19:18:37 +00:00
Marc Prud'hommeaux 0e19b714ac Changed version from 0.9.8-incubating-SNAPSHOT to 0.9.8-SNAPSHOT to reflect move from incubation to TLP
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@540829 13f79535-47bb-0310-9956-ffa450edef68
2007-05-23 03:36:05 +00:00
Marc Prud'hommeaux a92785fea6 OPENJPA-194 Changed openjpa-all-VERSION.jar to be just openjpa-VERSION.jar, and changes openjpa-project-VERSION.zip to be apache-openjpa-VERSION.zip
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@536693 13f79535-47bb-0310-9956-ffa450edef68
2007-05-09 22:23:54 +00:00
Marc Prud'hommeaux 640cddad04 Updated license headers to be in accordance with http://www.apache.org/legal/src-headers.html
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@528881 13f79535-47bb-0310-9956-ffa450edef68
2007-04-14 21:50:17 +00:00
A. Abram White 3885031a89 OPENJPA-214 : Support float and double fields as single-field identity primary
keys.



git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@527648 13f79535-47bb-0310-9956-ffa450edef68
2007-04-11 20:25:11 +00:00
Marc Prud'hommeaux 0806fd5b44 OPENJPA-208 Added NoResultException and NonUniqueResultException to kernel to allow the identification of the case where a unique result was selected by either none or too many were found
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@526834 13f79535-47bb-0310-9956-ffa450edef68
2007-04-09 17:06:23 +00:00
Michael Dick 7fd119e840 updating trunk version
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@526476 13f79535-47bb-0310-9956-ffa450edef68
2007-04-07 19:54:18 +00:00
Marc Prud'hommeaux af2550bb05 OPENJPA-208 Throw NoResultException and NonUniqueResultException when expected
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@526322 13f79535-47bb-0310-9956-ffa450edef68
2007-04-06 23:52:03 +00:00
Patrick Linskey 840644fcc5 OPENJPA-182. Changed JDBCFetchPlan.setIsolation() to use enums; added logic to handle enum hints to QueryImpl; moved from IllegalArgumentException to InvalidArgumentException to unify exception processing for both queries and find calls.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@526316 13f79535-47bb-0310-9956-ffa450edef68
2007-04-06 23:22:06 +00:00
Michael Dick 57f9f3af1d OpenJPA-185 allow optional to be overriden by xml descriptor.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@524921 13f79535-47bb-0310-9956-ffa450edef68
2007-04-02 21:14:48 +00:00
A. Abram White 1679c05c89 Cleanup and fixes to changes for OPENJPA-168.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@523425 13f79535-47bb-0310-9956-ffa450edef68
2007-03-28 17:43:35 +00:00
David J. Wisneski fee930886b fixing indentation and few changes suggested by Abe for OpenJPA patch-168
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@523071 13f79535-47bb-0310-9956-ffa450edef68
2007-03-27 20:47:21 +00:00
David J. Wisneski 442c1cee48 Patch for OPENJPA-168
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@522581 13f79535-47bb-0310-9956-ffa450edef68
2007-03-26 17:59:03 +00:00
Patrick Linskey b5bab78e04 OPENJPA-142: read entity names specified in XML. Also added comment clarifying that ClassMetaData.setTypeAlias() is only used at enhance time.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@516682 13f79535-47bb-0310-9956-ffa450edef68
2007-03-10 11:14:44 +00:00
Marc Prud'hommeaux 9bfc9cf190 OPENJPA-166: Added new setRollbackOnly(Throwable cause) flag so the Broker can track the reason for why the transaction would be marked for rollback, and correspondingly added reporting of the cause in LocalManagedRuntime, as well as support for WLS's corresponding support in WLSManagedRuntime.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@516597 13f79535-47bb-0310-9956-ffa450edef68
2007-03-09 23:07:49 +00:00
Patrick Linskey 0b90c67a8b OPENJPA-71: resolved inefficiency with array types and AbstractPCData
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@515987 13f79535-47bb-0310-9956-ffa450edef68
2007-03-08 09:34:52 +00:00
A. Abram White ebe1b5711e Fix a couple of errors in the code to default to the non-finalizing broker
in PersistenceProviderImpl.createContainerManagedEntityManagerFactory:
  1) Don't add to the given Map, because it might be read-only.  
  2) Prefix the BrokerImpl property correctly when adding it.



git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@513974 13f79535-47bb-0310-9956-ffa450edef68
2007-03-02 21:57:03 +00:00
Patrick Linskey dc797ab923 OPENJPA-160. Non-finalizing implementation is automatically selected when createContainerEntityManagerFactory() is invoked; clarified some method signatures.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@513183 13f79535-47bb-0310-9956-ffa450edef68
2007-03-01 06:31:50 +00:00