Commit Graph

849 Commits

Author SHA1 Message Date
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
Patrick Linskey ffdbc5ae9c OPENJPA-262. Added transaction callback registry to BrokerFactory as well, to parallel lifecycle callback structure
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@551849 13f79535-47bb-0310-9956-ffa450edef68
2007-06-29 11:04:51 +00:00
Patrick Linskey 5a23d0455d Improved error messages
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@551845 13f79535-47bb-0310-9956-ffa450edef68
2007-06-29 10:53:05 +00:00
Patrick Linskey f34e22efe4 Added setUp() so that extending types don't need to always create one.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@551844 13f79535-47bb-0310-9956-ffa450edef68
2007-06-29 10:52:24 +00:00
Michael Dick 058c174bef OPENJPA-269 Updating InformixDBDictionary
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@551263 13f79535-47bb-0310-9956-ffa450edef68
2007-06-27 18:36:38 +00:00
Patrick Linskey 49445edc83 OPENJPA-267. Test case for some basic MethodQL behavior.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@551159 13f79535-47bb-0310-9956-ffa450edef68
2007-06-27 13:23:36 +00:00
Michael Dick c1c32b4d8c OPENJPA-266 Allowing PreparedStatementManagerImpl to be extendable
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@550977 13f79535-47bb-0310-9956-ffa450edef68
2007-06-26 22:43:25 +00:00
Kevin W. Sutter e65f53b43d OPENJPA-61. Marc's patch tests out okay with WebSphere. I made a couple of minor cosmetic changes to the
patch.  We need to get this into the stream for additional testing and verification by other application servers.
So, let's go for it...

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@550898 13f79535-47bb-0310-9956-ffa450edef68
2007-06-26 18:22:06 +00:00
David J. Wisneski 843c86153a OPENJPA-240, changed jaxb dependency to version 2.0
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@550568 13f79535-47bb-0310-9956-ffa450edef68
2007-06-25 18:17:26 +00:00
Patrick Linskey 0dde3fdbfa OPENJPA-262. Added @since tag.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@550187 13f79535-47bb-0310-9956-ffa450edef68
2007-06-24 09:19:56 +00:00
Patrick Linskey 39f1071085 OPENJPA-262
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@550185 13f79535-47bb-0310-9956-ffa450edef68
2007-06-24 09:16:57 +00:00
Marc Prud'hommeaux cbb7bded12 Remove use of JDK 1.5-only method String.contains().
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@550158 13f79535-47bb-0310-9956-ffa450edef68
2007-06-24 03:30:26 +00:00
Patrick Linskey be91d228c5 OPENJPA-51. Committing Catalina's patch. It passes against Derby in my environment as well.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@549882 13f79535-47bb-0310-9956-ffa450edef68
2007-06-22 17:08:28 +00:00
Patrick Linskey 578c987ac4 Removed unused import statement.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@549776 13f79535-47bb-0310-9956-ffa450edef68
2007-06-22 10:47:47 +00:00
Marc Prud'hommeaux bd51cad23f Changed checking for javax.xml.bind.annotation.XmlType to use reflection instead of a hard-wired class name so we more gracefully handle cases where JAXB is not available.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@549517 13f79535-47bb-0310-9956-ffa450edef68
2007-06-21 15:44:06 +00:00
Marc Prud'hommeaux cc8ac0bc64 Changed the parsing of the driver name to not use the JDK 1.5-specific method String.contains() and String.split().
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@549508 13f79535-47bb-0310-9956-ffa450edef68
2007-06-21 15:17:24 +00:00
Pinaki Poddar a39a2dace9 Return gracefully when no class found for enhancement. Without this check raises NPE.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@549405 13f79535-47bb-0310-9956-ffa450edef68
2007-06-21 06:18:33 +00:00
David J. Wisneski 1921d6cc59 OPENJPA-240 fix JAXB dependency and move XMLValueHandler to openjpa-jdbc-5.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@548860 13f79535-47bb-0310-9956-ffa450edef68
2007-06-19 21:53:55 +00:00
David J. Wisneski e59f995429 OPENJPA-240, cleanup work
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@548835 13f79535-47bb-0310-9956-ffa450edef68
2007-06-19 19:45:58 +00:00
David J. Wisneski 8bf89a655a OPENJPA-240, packaging/renaming/JAXB dependency cleanups
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@548834 13f79535-47bb-0310-9956-ffa450edef68
2007-06-19 19:44:58 +00:00
Marc Prud'hommeaux 79827a90f6 Remove use of JDK 1.5-only method String.contains().
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@548431 13f79535-47bb-0310-9956-ffa450edef68
2007-06-18 18:18:55 +00:00
Patrick Linskey 9f0a7ff545 OPENJPA-259. Applied Craig's patch (minus the ACK char; maybe Craig meant ^L instead?), and added a test case. The test uses dynamic JPQL, but the parser change should work for XML-based named queries also, and it seems fair to allow newlines in dynamic strings as well.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@547872 13f79535-47bb-0310-9956-ffa450edef68
2007-06-16 06:54:12 +00:00
David J. Wisneski e0e176ab83 OPENJPA-240 Feature:Persistent field mapping support for XML column type.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@547837 13f79535-47bb-0310-9956-ffa450edef68
2007-06-16 00:09:45 +00:00
David J. Wisneski a4e1584fe3 OPENJPA-240 Feature:Persistent field mapping support for XML column type.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@547836 13f79535-47bb-0310-9956-ffa450edef68
2007-06-16 00:01:50 +00:00
David J. Wisneski 04b873a449 OPENJPA-240 Feature:Persistent field mapping support for XML column type.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@547834 13f79535-47bb-0310-9956-ffa450edef68
2007-06-15 23:45:28 +00:00
David J. Wisneski 3aac689d56 OPENJPA-240 Feature:Persistent field mapping support for XML column type.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@547833 13f79535-47bb-0310-9956-ffa450edef68
2007-06-15 23:45:14 +00:00
David J. Wisneski 1a130afb05 OPENJPA-240 Feature:Persistent field mapping support for XML column type.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@547832 13f79535-47bb-0310-9956-ffa450edef68
2007-06-15 23:45:00 +00:00
David J. Wisneski f026af58cd OPENJPA-240 Feature:Persistent field mapping support for XML column type.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@547831 13f79535-47bb-0310-9956-ffa450edef68
2007-06-15 23:44:47 +00:00
David J. Wisneski d384dcb8fd OPENJPA-240 Feature:Persistent field mapping support for XML column type.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@547830 13f79535-47bb-0310-9956-ffa450edef68
2007-06-15 23:44:31 +00:00
David J. Wisneski ee3c0b1dc4 OPENJPA-240 Feature:Persistent field mapping support for XML column type.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@547827 13f79535-47bb-0310-9956-ffa450edef68
2007-06-15 23:41:50 +00:00
Pinaki Poddar 90d053f4ef Resolve Getter/Setter type inconsistency in Entity IdClass.
Reflects to find setter method in Application Identity class with correct parameter type.


git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@547073 13f79535-47bb-0310-9956-ffa450edef68
2007-06-14 01:08:25 +00:00
Marc Prud'hommeaux b7aac84262 Fixed bad link names.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@547054 13f79535-47bb-0310-9956-ffa450edef68
2007-06-13 22:42:38 +00:00
Marc Prud'hommeaux 5cda1770a0 Fixed invalid index tag.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@547052 13f79535-47bb-0310-9956-ffa450edef68
2007-06-13 22:39:42 +00:00
Marc Prud'hommeaux 0091bcabe3 Added a 'java14.jar' property that can be used to specify the location of the JDK 1.4 runtime jar, against which we will compile the JDK 1.4-specific modules. This can be used to ensure that JDK 1.5-specific methods and classes don't slip into the JDK 1.4 modules.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@546768 13f79535-47bb-0310-9956-ffa450edef68
2007-06-13 07:50:11 +00:00
Marc Prud'hommeaux d72a5ad309 Fixed JDK-1.5-specific Array.toString() call.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@546743 13f79535-47bb-0310-9956-ffa450edef68
2007-06-13 05:41:16 +00:00
Marc Prud'hommeaux 43eb43898a Removed JDK1.5-specific construct.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@546742 13f79535-47bb-0310-9956-ffa450edef68
2007-06-13 05:34:31 +00:00
Pinaki Poddar 2e8b28c4c2 Replace usage of String.contains() by JDK1.4 compliant method
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@546567 13f79535-47bb-0310-9956-ffa450edef68
2007-06-12 16:43:10 +00:00
Craig Russell 273045b321 Final update for board report for June 2007
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@545661 13f79535-47bb-0310-9956-ffa450edef68
2007-06-08 23:01:31 +00:00
Patrick Linskey aa3353d34d Reece's test case from OPENJPA-235. I was a bit nervous about the changes to EntityB and EntityC's relationships, but all the existing OpenJPA tests pass, so evidently we did not rely on the particular settings as they were.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@545360 13f79535-47bb-0310-9956-ffa450edef68
2007-06-08 01:18:40 +00:00
Patrick Linskey aea920d171 Improve documentation.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@545345 13f79535-47bb-0310-9956-ffa450edef68
2007-06-07 23:23:35 +00:00
Patrick Linskey 0a5619ef1c Corrected delete-by-query example. Thanks, Ignacio, for pointing this out.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@544970 13f79535-47bb-0310-9956-ffa450edef68
2007-06-06 21:55:31 +00:00
Patrick Linskey 5463700d6c OPENJPA-235
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@544918 13f79535-47bb-0310-9956-ffa450edef68
2007-06-06 18:49:30 +00:00
Craig Russell 4d23f445c6 Added TLP migration and release naming tasks
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@544694 13f79535-47bb-0310-9956-ffa450edef68
2007-06-06 00:22:05 +00:00
Kevin W. Sutter 1ef670d2f6 I'm pretty sure the rollback() test method should be calling rollback() instead of commit()... :-) I found this while attempting some other tests, so I figured I would clean this up before somebody else stumbles across it.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@543503 13f79535-47bb-0310-9956-ffa450edef68
2007-06-01 15:24:32 +00:00
Kevin W. Sutter e8fb1e420b A couple of minor doc updates (no specific JIRA report) relating to a typo of remove (instead of refresh) and referencing another section in the Reference Guide for additional order-by capabilities.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@543502 13f79535-47bb-0310-9956-ffa450edef68
2007-06-01 15:23:03 +00:00
Kevin W. Sutter c634dcb4d8 OPENJPA-248. Modified parseForeignKey to set the appropriate cascade update action.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@543265 13f79535-47bb-0310-9956-ffa450edef68
2007-05-31 21:24:46 +00:00
Marc Prud'hommeaux 4870d3ffc9 Updated the scm information in poms whose directories do not match their assembly names, which will hopefully fix one of the recent Continuum problems on vmbuild
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@542596 13f79535-47bb-0310-9956-ffa450edef68
2007-05-29 17:27:46 +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
Craig Russell 87d118290c Add board report
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@541098 13f79535-47bb-0310-9956-ffa450edef68
2007-05-23 22:04:57 +00:00
Marc Prud'hommeaux e5cc6d8f80 Changed reference to svn repository from incubator repos to TLP one.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@540830 13f79535-47bb-0310-9956-ffa450edef68
2007-05-23 03:40:15 +00:00