Commit Graph

848 Commits

Author SHA1 Message Date
Patrick Linskey 7a6a81d713 Attempt to resolve high-load UUIDGenerator problem. I was not able to reproduce the issue, but code inspection seems to indicate that this fix should work.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@559540 13f79535-47bb-0310-9956-ffa450edef68
2007-07-25 17:56:20 +00:00
Patrick Linskey 3ddd88b576 Removed unneeded imports.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@559521 13f79535-47bb-0310-9956-ffa450edef68
2007-07-25 16:49:44 +00:00
Patrick Linskey dbf7ab273e Simple test case for lifecycle listener support.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@559515 13f79535-47bb-0310-9956-ffa450edef68
2007-07-25 16:30:59 +00:00
Patrick Linskey b50530274b Simple test case for in-memory remote commit provider.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@559503 13f79535-47bb-0310-9956-ffa450edef68
2007-07-25 16:04:27 +00:00
Patrick Linskey 092729c11c Test case for selecting enum values into a new managed instance.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@559353 13f79535-47bb-0310-9956-ffa450edef68
2007-07-25 08:32:38 +00:00
David J. Wisneski 502d6488de OPENJPA-240 XMLMapping Query - undo move XMLFieldMetaData & XMLMetaData close to XMLClassMetaData
Help Catalina committing changes for renaming classes, part 4.

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@559188 13f79535-47bb-0310-9956-ffa450edef68
2007-07-24 20:13:00 +00:00
David J. Wisneski e634400c11 OPENJPA-240 XMLMapping Query - move XMLFieldMetaData & XMLMetaData close to XMLClassMetaData
Help Catalina committing changes for renaming classes, part 3.

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@559187 13f79535-47bb-0310-9956-ffa450edef68
2007-07-24 20:09:32 +00:00
David J. Wisneski c70b70b30f OPENJPA-240 XMLMapping Query - rename XMLMapping interface to XMLMetaData
Help Catalina committing changes for renaming classes, part 2.

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@559179 13f79535-47bb-0310-9956-ffa450edef68
2007-07-24 19:51:19 +00:00
David J. Wisneski 9316b8157d OPENJPA-240 XMLMapping Query - rename XMLMetaData to XMLFieldMetaData
Help Catalina committing changes for renaming classes, part 1.

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@559172 13f79535-47bb-0310-9956-ffa450edef68
2007-07-24 19:40:09 +00:00
David J. Wisneski 126ed03a3b OPENJPA-266 process dbdictionaryPlugin values for vendor specific DB Dictionary.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@558881 13f79535-47bb-0310-9956-ffa450edef68
2007-07-23 22:19:28 +00:00
Michael Dick 19dc613dd0 Reset sequencetable for TestTableGenerator
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@558815 13f79535-47bb-0310-9956-ffa450edef68
2007-07-23 18:03:04 +00:00
David J. Wisneski a5ed9f701d OPENJPA-240 XMLMapping Query support, fix eol delimiters to unix style
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@558221 13f79535-47bb-0310-9956-ffa450edef68
2007-07-21 01:25:48 +00:00
Patrick Linskey e2556dd6b2 Test that @ContainerTable annotation is properly read.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@558191 13f79535-47bb-0310-9956-ffa450edef68
2007-07-20 23:03:21 +00:00
Patrick Linskey 9ce0bed09d Test that externalization of EnumSets works as expected.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@558186 13f79535-47bb-0310-9956-ffa450edef68
2007-07-20 22:42:16 +00:00
David J. Wisneski 168c0076c8 OPENJPA-263 : Introducing getAll(List) method for data cache to be called by loadAll()
will allow data cache plug-ins to leverage the advantage of any third-party cache that
provides a way to get multiple object in one call by providing a list of keys (oids).

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@558125 13f79535-47bb-0310-9956-ffa450edef68
2007-07-20 20:37:08 +00:00
Michael Dick a5d1acd44e OPENJPA-284 committing on behalf of Teresa
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@558097 13f79535-47bb-0310-9956-ffa450edef68
2007-07-20 19:17:19 +00:00
Michael Dick 99950ad3ff OPENJPA-288 committing on behalf of Teresa
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@558073 13f79535-47bb-0310-9956-ffa450edef68
2007-07-20 17:50:56 +00:00
Pinaki Poddar f12af8d977 Adding BootstrapException that ProductDerivations recognize during beforeConfigurationConstruct()/load()
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@557798 13f79535-47bb-0310-9956-ffa450edef68
2007-07-19 22:32:26 +00:00
Michael Dick 1c9f0ae0ae OPENJPA-287
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@557768 13f79535-47bb-0310-9956-ffa450edef68
2007-07-19 20:55:30 +00:00
Pinaki Poddar 0260d8de47 Making inner ConfigurationParser public for reuse.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@557761 13f79535-47bb-0310-9956-ffa450edef68
2007-07-19 20:13:32 +00:00
David J. Wisneski 462cf31ed5 OPENJPA-240 XMLMapping Query testcase - fix identation
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@557444 13f79535-47bb-0310-9956-ffa450edef68
2007-07-19 01:32:03 +00:00
David J. Wisneski b761732fdf OPENJPA-240 XMLMapping Query testcase
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@557442 13f79535-47bb-0310-9956-ffa450edef68
2007-07-19 01:07:53 +00:00
David J. Wisneski a275b7aefb OPENJPA-240 XMLMapping Query support for persistent field maps to XML column.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@557437 13f79535-47bb-0310-9956-ffa450edef68
2007-07-19 00:45:51 +00:00
Patrick Linskey 25fbdab82b updated README
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@557436 13f79535-47bb-0310-9956-ffa450edef68
2007-07-19 00:43:08 +00:00
Craig Russell b8bb8404a9 OPENJPA-235 break-nullable-patch contributed by Markus Fuchs
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@557089 13f79535-47bb-0310-9956-ffa450edef68
2007-07-17 23:56:45 +00:00
Kevin W. Sutter 62ae83f3b5 Minor updates to help with translation and formatting of messages. Items like removing contractions like "can't" and "doesn't". Also, ensuring there are two single quotes for possive like "Provider's".
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@556926 13f79535-47bb-0310-9956-ffa450edef68
2007-07-17 13:43:40 +00:00
Patrick Linskey 7d6c0afa45 Minor reformatting
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@556371 13f79535-47bb-0310-9956-ffa450edef68
2007-07-15 08:03:34 +00:00
Craig Russell 96a7367ec5 Final update to Jul-2007 board report
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@556126 13f79535-47bb-0310-9956-ffa450edef68
2007-07-13 19:44:51 +00:00
Patrick Linskey 4b6b578f2b OPENJPA_283. Committing Ignacio Andreu's patch.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@555694 13f79535-47bb-0310-9956-ffa450edef68
2007-07-12 16:52:22 +00:00
Patrick Linskey 3408ef1e0c New test case. It works already, so this is mostly just additional coverage.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@555389 13f79535-47bb-0310-9956-ffa450edef68
2007-07-11 20:36:55 +00:00
David J. Wisneski 6b6a4b57e4 Add product version checking for DB2 UDB ISeries V6R1
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@555361 13f79535-47bb-0310-9956-ffa450edef68
2007-07-11 18:39:08 +00:00
Craig Russell b051354507 Added David Ezzio to report
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@555294 13f79535-47bb-0310-9956-ffa450edef68
2007-07-11 15:03:08 +00:00
David J. Wisneski dfba4dff7d OPENJPA-266, extensibility for platform specific version column
Passed TCK with Derby

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@554803 13f79535-47bb-0310-9956-ffa450edef68
2007-07-10 02:28:11 +00:00
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