Commit Graph

465 Commits

Author SHA1 Message Date
Patrick Linskey ab148526d3 added docs for openjpa.Id property
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@476453 13f79535-47bb-0310-9956-ffa450edef68
2006-11-18 05:59:20 +00:00
Marc Prud'hommeaux dd5c64694d Null check.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@476305 13f79535-47bb-0310-9956-ffa450edef68
2006-11-17 20:34:28 +00:00
Marc Prud'hommeaux 70f3162159 Added licenses for included binaries that aren't also released under the ASF (serp-1.11.0.jar and persistence-api-1.0.jar).
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@475997 13f79535-47bb-0310-9956-ffa450edef68
2006-11-17 00:23:25 +00:00
Marc Prud'hommeaux 82c4e26932 Made the source assembly unpack into a different folder than the binary assembly (for example, the binary assembly might unpack to "openjpa-project-0.9.7-incubating-SNAPSHOT", and the source assembly will unpack to "openjpa-project-0.9.7-incubating-SNAPSHOT-source").
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@475995 13f79535-47bb-0310-9956-ffa450edef68
2006-11-17 00:13:19 +00:00
Marc Prud'hommeaux fff0cd889a Specify that LCIENSE.txt and NOTICE.txt files should be included in the META-INF/ sub-directory of all generated jar files.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@475976 13f79535-47bb-0310-9956-ffa450edef68
2006-11-16 23:25:30 +00:00
Marc Prud'hommeaux f6067b25fb Specify that LICENSE.txt and NOTICE.txt be included in the top-level or the source distribution (although it is additionally contained in the openjpa-project/ directory).
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@475968 13f79535-47bb-0310-9956-ffa450edef68
2006-11-16 23:05:05 +00:00
Marc Prud'hommeaux 9a7139c9a0 Added license headers
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@475967 13f79535-47bb-0310-9956-ffa450edef68
2006-11-16 23:04:20 +00:00
Patrick Linskey 54d9735689 improved error messages; made NonPersistentMetaData serializable
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@475891 13f79535-47bb-0310-9956-ffa450edef68
2006-11-16 19:33:06 +00:00
Patrick Linskey b653ae9976 removed unneeded import
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@475890 13f79535-47bb-0310-9956-ffa450edef68
2006-11-16 19:31:27 +00:00
Marc Prud'hommeaux cf517aa224 Fixed duplicate named query in sample.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@475499 13f79535-47bb-0310-9956-ffa450edef68
2006-11-15 23:44:55 +00:00
Marc Prud'hommeaux 08a615efad Added 'relations' example to demonstrate defining and querying relations in JPA; also upgraded the version of Derby included in the release for example usage to be 10.2.1.6 in order to keep up
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@475498 13f79535-47bb-0310-9956-ffa450edef68
2006-11-15 23:41:37 +00:00
A. Abram White 728413153f Fix bug in which abstract JPA entities were being mapped to tables when the
declared inheritance strategy for the hierarchy was TABLE_PER_CLASS (which 
actually means table-per-concrete-class).



git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@475321 13f79535-47bb-0310-9956-ffa450edef68
2006-11-15 17:43:02 +00:00
Patrick Linskey 3a5185700f invoke the close() callback at the beginning of ConfigurationImpl.close(); change other ConfigurationImpl subtypes to use preClose() instead of now-final close(); add test case for close callbacks.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@475115 13f79535-47bb-0310-9956-ffa450edef68
2006-11-15 04:20:30 +00:00
Patrick Linskey 330654d226 use Configuration.getId() as the default diagnostic context, if no diagnostic context is specified in the log configuration property.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@475094 13f79535-47bb-0310-9956-ffa450edef68
2006-11-15 01:28:38 +00:00
Patrick Linskey 72741efc85 moved metadata properties about openjpa.Id property
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@475093 13f79535-47bb-0310-9956-ffa450edef68
2006-11-15 01:27:51 +00:00
Patrick Linskey a5f3ae42bf realized immediately after committing that the id belongs at the generic Configuration level, not at the OpenJPAConfiguration level.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@475087 13f79535-47bb-0310-9956-ffa450edef68
2006-11-15 00:45:09 +00:00
Patrick Linskey bda2015398 added openjpa.Id property, and put logic in PersistenceUnitInfoImpl to set the openjpa.Id property to the persistence unit name if no openjpa.Id property is discovered.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@475084 13f79535-47bb-0310-9956-ffa450edef68
2006-11-15 00:30:24 +00:00
Patrick Linskey 301580c069 made a number of configuration-related classes serializable to facilitate alternate means of configuration population; moved away from a couple more usages of commons collections LinkedMap; added new lifecycle callback to ProductDerivation interface
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@475059 13f79535-47bb-0310-9956-ffa450edef68
2006-11-14 23:42:42 +00:00
A. Abram White db2128fe02 Use mapping XML serializer.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@475026 13f79535-47bb-0310-9956-ffa450edef68
2006-11-14 22:35:32 +00:00
Patrick Linskey 54cb8933e3 moving to JDK1.4 LinkedHashMap instead of LinkedMap where possible.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@474974 13f79535-47bb-0310-9956-ffa450edef68
2006-11-14 20:57:02 +00:00
Patrick Linskey 3e5f4357f1 removed some unused imports
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@474971 13f79535-47bb-0310-9956-ffa450edef68
2006-11-14 20:45:01 +00:00
Patrick Linskey a3749e810b moved to commons-collections 3.2 to avoid serialization bug that was resolved in 2005 (3.1 dates to 2004).
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@474970 13f79535-47bb-0310-9956-ffa450edef68
2006-11-14 20:44:02 +00:00
Marc Prud'hommeaux 3e8f9d931a Updated to version 0.9.7-incubating-SNAPSHOT
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@474069 13f79535-47bb-0310-9956-ffa450edef68
2006-11-12 22:28:45 +00:00
Marc Prud'hommeaux 813bb89223 Updated to version 0.9.6-incubating
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@474050 13f79535-47bb-0310-9956-ffa450edef68
2006-11-12 21:36:52 +00:00
Marc Prud'hommeaux 07677763d4 Removed mention of LICENSE files in directories, since they don't apply to OpenJPA.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@474042 13f79535-47bb-0310-9956-ffa450edef68
2006-11-12 20:54:57 +00:00
Marc Prud'hommeaux ef56f8281b Updated to version 0.9.7-incubating-SNAPSHOT
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@473962 13f79535-47bb-0310-9956-ffa450edef68
2006-11-12 12:59:24 +00:00
Marc Prud'hommeaux e06b1c5346 Fixed XML header.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@473954 13f79535-47bb-0310-9956-ffa450edef68
2006-11-12 12:34:09 +00:00
Marc Prud'hommeaux 63530f0010 Fixed XML header.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@473953 13f79535-47bb-0310-9956-ffa450edef68
2006-11-12 12:23:53 +00:00
Marc Prud'hommeaux c0de579ae7 Fixed license header.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@473951 13f79535-47bb-0310-9956-ffa450edef68
2006-11-12 12:11:48 +00:00
Marc Prud'hommeaux 089ec41d3e Fixed XML headers to be valid
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@473949 13f79535-47bb-0310-9956-ffa450edef68
2006-11-12 12:11:37 +00:00
Marc Prud'hommeaux f0e9c97321 Set failonerror in the build file so it fails when there is a problem running the example.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@473947 13f79535-47bb-0310-9956-ffa450edef68
2006-11-12 12:05:40 +00:00
Marc Prud'hommeaux 779f7dc452 Fixed license header.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@473941 13f79535-47bb-0310-9956-ffa450edef68
2006-11-12 11:52:07 +00:00
Marc Prud'hommeaux ead07f40c0 Rolled back to 0.9.6-incubating to re-run the release process; fixed licenses in NOTICE.txt; added license headers to files where they were missing; removed sun.misc.Perf class, since we are no longer supporting JDK 1.3 (and it is only unavailable in 1.3 and lower)
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@473939 13f79535-47bb-0310-9956-ffa450edef68
2006-11-12 11:44:59 +00:00
Marc Prud'hommeaux 227e4b79b9 Set the project name.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@473839 13f79535-47bb-0310-9956-ffa450edef68
2006-11-12 00:30:20 +00:00
Patrick Linskey de3f43a5cd moved to JDK1.4
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@473448 13f79535-47bb-0310-9956-ffa450edef68
2006-11-10 19:44:47 +00:00
A. Abram White fb770599b0 Fix for deeply nested subqueries, and for the JPQL IN(<subquery>) construct.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@473140 13f79535-47bb-0310-9956-ffa450edef68
2006-11-09 23:55:41 +00:00
Patrick Linskey fd57bd62dd localizer optimizations for normal usage patterns
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@473057 13f79535-47bb-0310-9956-ffa450edef68
2006-11-09 20:13:27 +00:00
Marc Prud'hommeaux cf56e213a9 Updated to version 0.9.7-incubating-SNAPSHOT
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@472718 13f79535-47bb-0310-9956-ffa450edef68
2006-11-09 00:41:04 +00:00
Marc Prud'hommeaux 83695d690c Manually include the openjpa-all module in the zip file. For some reason, it wasn't being included in the package.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@472680 13f79535-47bb-0310-9956-ffa450edef68
2006-11-08 22:59:41 +00:00
Marc Prud'hommeaux 824959c340 Removed the openjpa-examples jar from the assembly (which should only contain the sources).
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@472666 13f79535-47bb-0310-9956-ffa450edef68
2006-11-08 22:34:07 +00:00
Marc Prud'hommeaux 46291a1b1e Fixed to build docbook in the "process-resources" phase so that it gets built before the packaging is done.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@472651 13f79535-47bb-0310-9956-ffa450edef68
2006-11-08 21:29:52 +00:00
A. Abram White 42e0745224 Fix line over 80 chars.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@472617 13f79535-47bb-0310-9956-ffa450edef68
2006-11-08 20:05:28 +00:00
Kevin W. Sutter 286c870c34 Replace the UUIDGenerator with an implementation based on the Apache Commons Id implementation. This change removes the LGPL implication from the original implementation.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@472597 13f79535-47bb-0310-9956-ffa450edef68
2006-11-08 19:10:56 +00:00
Marc Prud'hommeaux e94e4937a4 Added call to attach the GPG signature files to the binary uploads so the signing can be automated when 'mvn deploy' is called.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@472383 13f79535-47bb-0310-9956-ffa450edef68
2006-11-08 04:16:46 +00:00
A. Abram White b40ba51347 Simple test case for abstract schema name queries.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@472355 13f79535-47bb-0310-9956-ffa450edef68
2006-11-08 00:50:15 +00:00
Kevin W. Sutter 71ed42e8c5 Forgot to include the ManyOneEntitySub.class in the MetaDataFactory... Query tests now work again.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@472347 13f79535-47bb-0310-9956-ffa450edef68
2006-11-08 00:17:33 +00:00
Kevin W. Sutter 535d6a9f94 Simplify the usage of the WAS ExtendedJTATransaction API. We only need to check the globalId (and not the localId) for presence of a global (user) transaction. Also corrected some of the exception processing and tracing of exceptions for rollback processing.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@472327 13f79535-47bb-0310-9956-ffa450edef68
2006-11-07 23:33:50 +00:00
A. Abram White 8efffbdd4b Test for the OpenJPAQuery.setSubclasses method.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@472310 13f79535-47bb-0310-9956-ffa450edef68
2006-11-07 22:38:37 +00:00
A. Abram White 3b9fa1f25a Bugfix for when abstract base class has no discriminator value. Cleanup of
query compilation cache additions.



git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@472275 13f79535-47bb-0310-9956-ffa450edef68
2006-11-07 21:20:57 +00:00
Marc Prud'hommeaux 0e02efdfbf Updated version to 0.9.6-incubating in hopes of having a release
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@472238 13f79535-47bb-0310-9956-ffa450edef68
2006-11-07 20:34:03 +00:00