Commit Graph

476 Commits

Author SHA1 Message Date
Patrick Linskey 16f78782dd fixed bug that caused cached JPQL queries to not properly cache the candidate class.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@479942 13f79535-47bb-0310-9956-ffa450edef68
2006-11-28 08:27:14 +00:00
Patrick Linskey 8015a253b6 fixed typo
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@479940 13f79535-47bb-0310-9956-ffa450edef68
2006-11-28 08:16:34 +00:00
Patrick Linskey 07dadf5564 removed duplicate info; added category data
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@477948 13f79535-47bb-0310-9956-ffa450edef68
2006-11-21 22:53:42 +00:00
Marc Prud'hommeaux 25b0d9628e Added mention of where orm-xsd.rsrc and persistence-xsd.rsrc came from.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@477468 13f79535-47bb-0310-9956-ffa450edef68
2006-11-21 01:58:32 +00:00
Marc Prud'hommeaux 99bd6a7b54 Added DISCLAIMER.txt to the built jar files along with NOTICE.txt and LICENSE.txt.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@477458 13f79535-47bb-0310-9956-ffa450edef68
2006-11-21 01:29:57 +00:00
Marc Prud'hommeaux 11de85694c Added mention that the orm-xsd.rsrc and persistence-xsd.rsrc files are released under the CDDL.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@477457 13f79535-47bb-0310-9956-ffa450edef68
2006-11-21 01:27:18 +00:00
Marc Prud'hommeaux b9570f6dd5 Removed Apache license header, which appears to have been accidentally added. The file is actually released under Sun's CDDL.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@477455 13f79535-47bb-0310-9956-ffa450edef68
2006-11-21 01:25:19 +00:00
Marc Prud'hommeaux 15cb2cdf7c Added back the ability to call getPackageName() on the Message object.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@477446 13f79535-47bb-0310-9956-ffa450edef68
2006-11-21 00:42:53 +00:00
Marc Prud'hommeaux 66f6d907d5 Removed dependency on Class.getPackage() for finding localizer.properties files, since that method can sometimes return null.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@477436 13f79535-47bb-0310-9956-ffa450edef68
2006-11-21 00:29:53 +00:00
Patrick Linskey 3fdf607c58 removed external dependency so that OpenJPAVersion can be run with just the openjpa jar in the classpath
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@477414 13f79535-47bb-0310-9956-ffa450edef68
2006-11-20 23:54:16 +00:00
Patrick Linskey 32ced33fd5 removed debugging code
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@477270 13f79535-47bb-0310-9956-ffa450edef68
2006-11-20 17:46:46 +00:00
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