Commit Graph

1015 Commits

Author SHA1 Message Date
Craig Russell 50332f053a first draft of OpenJPA July 2007 board report
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@554446 13f79535-47bb-0310-9956-ffa450edef68
2007-07-08 21:33:09 +00:00
Patrick Linskey 124f615eb5 OPENJPA-280. Correcting my mistaken commit.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@554111 13f79535-47bb-0310-9956-ffa450edef68
2007-07-07 01:47:21 +00:00
Patrick Linskey 2f5d52b7e7 OPENJPA-280. Committing for David Ezzio.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@554083 13f79535-47bb-0310-9956-ffa450edef68
2007-07-06 23:21:06 +00:00
Michael Dick 0826b7a717 OPENJPA-279
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@553978 13f79535-47bb-0310-9956-ffa450edef68
2007-07-06 18:08:06 +00:00
Patrick Linskey 774e7b5b8c OPENJPA-274, OPENJPA-275. Improved our bulk update support to automatically increment version counters as necessary if an UPDATE query does not maintain the version fields itself. Also fixed a bug with all queries involving version fields by changing FieldMappings representing version fields to return their owning ClassMapping's Version's columns from a getColumns() call.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@553912 13f79535-47bb-0310-9956-ffa450edef68
2007-07-06 14:49:52 +00:00
Patrick Linskey d99571342f fixed typo
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@553911 13f79535-47bb-0310-9956-ffa450edef68
2007-07-06 14:48:02 +00:00
Patrick Linskey e286a915d5 OPENJPA-278
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@553629 13f79535-47bb-0310-9956-ffa450edef68
2007-07-05 20:51:01 +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
Patrick Linskey 21909df2ec Guarantee that remote commit events are fired against OpenJPA internal data structures before externally-registered listeners. This means that externally-registered listeners can rely on the OpenJPA data structures being up-to-date by the time that they are fired.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@552850 13f79535-47bb-0310-9956-ffa450edef68
2007-07-03 14:26:09 +00:00
Patrick Linskey 1bded00298 OPENJPA-199. Passed all local tests; I have not run against the CTS though. It *should* work against the CTS, as it was a bug on our side, and not the spec's side.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@552363 13f79535-47bb-0310-9956-ffa450edef68
2007-07-01 21:13:16 +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
David J. Wisneski 0b356dfc0d OPENJPA-271, add DB2 JDBC driver 2 support, add message key/text
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@552095 13f79535-47bb-0310-9956-ffa450edef68
2007-06-30 03:52:46 +00:00
David J. Wisneski 9975362f1f OPENJPA-271, add DB2 JDBC driver 2 support
- datePrecision set to MICRO, (Timesptamp in micro-second in DB2)
- save version strategy in Column (needed for specialized TimestampVersionStrategy)
- set storeCharsAsNumbers to false (DB2 default - store chars as chars)

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@552078 13f79535-47bb-0310-9956-ffa450edef68
2007-06-30 02:33:35 +00:00
Patrick Linskey 5c4a8c7e73 OPENJPA-70. Added new RemoteCommitEvent payload type and logic to fire RemoteCommitEvents when stale records are detected. This logic still gets fired via afterCommit(), even though these checks can happen either after a commit or a flush is issued. Additionally, these events are only fired against local listeners, so actually represent local analysis that is detecting remote events, rather than remote events themselves.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@552059 13f79535-47bb-0310-9956-ffa450edef68
2007-06-29 23:08:41 +00:00
David J. Wisneski 7db9a7fae5 OPENJPA-266, committing the patch.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@552039 13f79535-47bb-0310-9956-ffa450edef68
2007-06-29 21:22:01 +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
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