Commit Graph

634 Commits

Author SHA1 Message Date
A. Abram White d5fb9486ba Add backward compat property doc.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@482747 13f79535-47bb-0310-9956-ffa450edef68
2006-12-05 19:29:37 +00:00
A. Abram White 87dc2aad7c Correct bug in our default for the name of an inverse join column within a
join table.  Added configurable property for users to retain the old defaulting
for compatibility if desired.



git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@482737 13f79535-47bb-0310-9956-ffa450edef68
2006-12-05 18:54:46 +00:00
Craig Russell a836ea3f34 Added property svn:eol-style=native
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@482329 13f79535-47bb-0310-9956-ffa450edef68
2006-12-04 20:02:09 +00:00
Craig Russell b8710bea03 Added property svn:eol-style=native
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@482327 13f79535-47bb-0310-9956-ffa450edef68
2006-12-04 19:59:52 +00:00
Marc Prud'hommeaux eb9a626945 Fixed bug where we weren't copying the nanoseconds when the Timestamp is cloned.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@482308 13f79535-47bb-0310-9956-ffa450edef68
2006-12-04 19:32:54 +00:00
Kevin W. Sutter dbcdfb9ff9 Include the original exception that caused the ClassFormatError to be thrown.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@482191 13f79535-47bb-0310-9956-ffa450edef68
2006-12-04 14:43:30 +00:00
Kevin W. Sutter 970f647622 Resolving JIRA report OPENJPA-63 for better pessimistic lock support for DB2. Instead of the usual "for update" clause, db2 dictionary will now use "with rr use and keep update locks" clause.
A couple of additional changes were necessary to properly detect the version of DB2 currently in use.

git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@482189 13f79535-47bb-0310-9956-ffa450edef68
2006-12-04 14:42:09 +00:00
Marc Prud'hommeaux ca45e3292a Changed syncWithManagedTransaction to return true if a transaction is already active (rather than throwing an exception), since section 5.9.2 of the JPA spec suggests that it should be legal to invoke EntityManager.joinTransaction() multiple times.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@480301 13f79535-47bb-0310-9956-ffa450edef68
2006-11-29 00:28:04 +00:00
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