Commit Graph

306 Commits

Author SHA1 Message Date
Michael Dick 4bc67815bb OPENJPA-575
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@649224 13f79535-47bb-0310-9956-ffa450edef68
2008-04-17 18:42:33 +00:00
Catalina Wei d20c770521 OPENJPA-547 INNER JOIN FETCH query incorrectly generates LEFT join SQL
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@646455 13f79535-47bb-0310-9956-ffa450edef68
2008-04-09 18:09:42 +00:00
Catalina Wei 0577674fe3 OPENJPA-555 MappingTool got NullPointerException in DB2Dictionary.isDB2ZOSV8xOrLater()
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@644177 13f79535-47bb-0310-9956-ffa450edef68
2008-04-03 05:52:38 +00:00
Catalina Wei 3b779943af OPENJPA-541 backout changes.
Customer reported that SQL92 joins are bit slower compare to oracle joins    
(+) and there are known bugs with SQL92 joins. 



git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@641408 13f79535-47bb-0310-9956-ffa450edef68
2008-03-26 17:06:46 +00:00
Michael Dick 169e1ef586 OPENJPA-543
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@640510 13f79535-47bb-0310-9956-ffa450edef68
2008-03-24 18:40:47 +00:00
Michael Dick f943c66551 OPENJPA-542
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@640493 13f79535-47bb-0310-9956-ffa450edef68
2008-03-24 18:16:43 +00:00
Catalina Wei b8e6cb6011 OPENJPA-541 Generate SQL92 JOIN syntax for Oracle 9 or later releases
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@639874 13f79535-47bb-0310-9956-ffa450edef68
2008-03-21 21:46:55 +00:00
Albert Lee fda48c35a7 OPENJPA-535 - fix comment typos.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@636088 13f79535-47bb-0310-9956-ffa450edef68
2008-03-11 20:04:54 +00:00
Michael Dick 840f320804 OPENJPA-517 one WITH should be enough
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@629543 13f79535-47bb-0310-9956-ffa450edef68
2008-02-20 17:50:48 +00:00
Michael Dick ea946b9654 OPENJPA-517
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@629168 13f79535-47bb-0310-9956-ffa450edef68
2008-02-19 17:32:05 +00:00
Patrick Linskey 383dd9e25a Updating version in branch to 1.0.3-SNAPSHOT
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@628947 13f79535-47bb-0310-9956-ffa450edef68
2008-02-19 01:13:56 +00:00
Michael Dick 4fb812a4c3 OPENJPA-511
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@619479 13f79535-47bb-0310-9956-ffa450edef68
2008-02-07 16:17:24 +00:00
Patrick Linskey befd295ea5 OPENJPA-447. Merge from ../../trunk. svn merge -c 596523, plus correction to 596661 merge
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@619212 13f79535-47bb-0310-9956-ffa450edef68
2008-02-06 23:05:54 +00:00
Michael Dick 78e258706d revert OPENJPA-401 in 1.0.x - shouldn't add a new flag in a service stream.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@618762 13f79535-47bb-0310-9956-ffa450edef68
2008-02-05 20:01:12 +00:00
Michael Dick 304117261f OPENJPA-401 making temporary classloader optional for MappingTool ant task
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@618744 13f79535-47bb-0310-9956-ffa450edef68
2008-02-05 18:58:08 +00:00
Patrick Linskey 91b151e6aa OPENJPA-508
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@617760 13f79535-47bb-0310-9956-ffa450edef68
2008-02-02 06:35:29 +00:00
Catalina Wei b013b6fd4a OPENJPA-471 iSeries DB2 problem with using @GeneratedValue(strategy=GenerationType.IDENTITY)
or @GeneratedValue(strategy=GenerationType.SEQUENCE)


git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@610697 13f79535-47bb-0310-9956-ffa450edef68
2008-01-10 06:55:17 +00:00
Albert Lee 9e014f54d9 Update version from 1.0.1-SNAPSHOT to 1.0.2-SNAPSHOT
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@593712 13f79535-47bb-0310-9956-ffa450edef68
2007-11-10 01:35:32 +00:00
Catalina Wei 5e927f2376 OPENJPA-375: undo this fix for DB2 (result set closed problem). The problem is resolved by setting DB2 datasource custom property "resultSetHoldability" to 1 in WebSphere.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@590481 13f79535-47bb-0310-9956-ffa450edef68
2007-10-30 21:51:47 +00:00
Michael Dick 3860784216 OPENJPA-399 committing Teresa's patch
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@589784 13f79535-47bb-0310-9956-ffa450edef68
2007-10-29 18:21:56 +00:00
Kevin W. Sutter 446a0e0543 OPENJPA-421. Committing Daniel's changes to ensure that the datasource configuration is complete before attempting to generate SQL.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@589723 13f79535-47bb-0310-9956-ffa450edef68
2007-10-29 16:23:17 +00:00
Michael Dick c5ff10a141 OPENJPA-423
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@589694 13f79535-47bb-0310-9956-ffa450edef68
2007-10-29 15:47:50 +00:00
Michael Dick 71dc3ad34d OPENJPA-113
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@587774 13f79535-47bb-0310-9956-ffa450edef68
2007-10-24 04:13:07 +00:00
Albert Lee 546c34abd1 OPENJPA-413, commit localizer.properties files for Teresa.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@587683 13f79535-47bb-0310-9956-ffa450edef68
2007-10-23 22:48:48 +00:00
Kevin W. Sutter a94a55d00b OPENJPA-410. Committing the change to make the "connecting to database" message a Trace message instead of an Info message.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@586588 13f79535-47bb-0310-9956-ffa450edef68
2007-10-19 19:37:44 +00:00
Kevin W. Sutter 548a483a04 OPENJPA-399. Committing Teresa's most recent patch for this Issue. Should be ready for resolution now.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@585774 13f79535-47bb-0310-9956-ffa450edef68
2007-10-18 01:37:58 +00:00
Michael Dick 9e807991b0 OPENJPA-399 Committing Teresa's patch
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@584350 13f79535-47bb-0310-9956-ffa450edef68
2007-10-13 00:35:12 +00:00
Michael Dick 3b2b878d0a OPENJPA-399 committing Teresa's patch
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@584337 13f79535-47bb-0310-9956-ffa450edef68
2007-10-12 23:50:55 +00:00
Michael Dick 008ac73d7c OPENJPA-401
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@584192 13f79535-47bb-0310-9956-ffa450edef68
2007-10-12 15:49:00 +00:00
Michael Dick 3412d7df07 OPENJPA-397
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@582852 13f79535-47bb-0310-9956-ffa450edef68
2007-10-08 15:41:25 +00:00
Kevin W. Sutter fe50bbe648 OPENJPA-395. Use getShort instead of getInt for the KEY_SEQ, DEFFERABILITY, and DELETE_RULE metadata fields.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@582838 13f79535-47bb-0310-9956-ffa450edef68
2007-10-08 14:41:14 +00:00
Catalina Wei 6c1b918371 OPENJPA-394 (bug in 1.0.x) : DB2 CAST ? AS VARCHAR missing LENGTH
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@582581 13f79535-47bb-0310-9956-ffa450edef68
2007-10-07 05:46:00 +00:00
Patrick Linskey cc2b032223 OPENJPA-368 -- putting Vikram's patch in 1.0.x. 'svn merge -c 581443 ../../trunk'
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@581444 13f79535-47bb-0310-9956-ffa450edef68
2007-10-03 00:18:37 +00:00
Catalina Wei cbf296df72 OPENJPA-389 et.commit() not issuing database commit for Native queries involving updates.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@581083 13f79535-47bb-0310-9956-ffa450edef68
2007-10-01 21:44:59 +00:00
Michael Dick e75c7cb446 OPENJPA-388
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@580425 13f79535-47bb-0310-9956-ffa450edef68
2007-09-28 17:13:35 +00:00
Catalina Wei f42bfb718e OPENJPA-378 DB2 "FETCH FIRST <n> ROWS ONLY" clause should not be generated in subselect for SELECT COUNT(*) from (subselect ...) s
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@577972 13f79535-47bb-0310-9956-ffa450edef68
2007-09-21 03:29:38 +00:00
Michael Dick bd40a0cea5 Undo OPENJPA_356 in 1.0.x branch
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@577522 13f79535-47bb-0310-9956-ffa450edef68
2007-09-20 03:29:06 +00:00
Michael Dick 972e71f970 OPENJPA-282 merging to 1.0.x branch.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@577090 13f79535-47bb-0310-9956-ffa450edef68
2007-09-18 22:35:52 +00:00
Michael Dick 1e726bdbfc OPENJPA-356 in 1.0.x committing Patrick's changes originally done in rev 573676
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@577066 13f79535-47bb-0310-9956-ffa450edef68
2007-09-18 21:05:00 +00:00
Michael Dick e90c610dff OPENJPA-338 for 1.0.x. Committing Teresa's patch
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@577038 13f79535-47bb-0310-9956-ffa450edef68
2007-09-18 20:10:39 +00:00
Catalina Wei 2663cb3e32 OPENJPA-375 DB2 autoCommit(true) causes Result Set prematurely closed in WebContainer JEE environment.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@577014 13f79535-47bb-0310-9956-ffa450edef68
2007-09-18 18:49:05 +00:00
Michael Dick 05fb97ded7 OPENJPA-353 for 1.0.x branch
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@576948 13f79535-47bb-0310-9956-ffa450edef68
2007-09-18 15:25:14 +00:00
Catalina Wei 2c748d1aea OPENJPA-360 FOR UPDATE clause incorrectly generated, remove transient variable declaration
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@575080 13f79535-47bb-0310-9956-ffa450edef68
2007-09-12 21:11:56 +00:00
Catalina Wei 04b3212698 OPENJPA-360 SQL FOR UPDATE OF incorrectly generated for DB2 UDB version8.1 or earlier and DB2 ISeries V5R3 or earlier.
These  DB2 version also require the "optimize for <n> row" clause appear before FOR UPDATE clause.
Due to this requirement, the OPTIMIZE clause will  appear before FOR UPDATE clause for all DB2 versions.
Also fixed the affected testcases.
Same fix retrofit to OpenJPA 1.0.x branch.

git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@574653 13f79535-47bb-0310-9956-ffa450edef68
2007-09-11 17:59:38 +00:00
Marc Prud'hommeaux 9cc19220d5 Changed maintenance branch version to be 1.0.1-SNAPSHOT
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@570490 13f79535-47bb-0310-9956-ffa450edef68
2007-08-28 17:16:08 +00:00
Patrick Linskey 6ba6ce4e7e OpenJPA used to rely on being able to implicitly specify a value for a @GeneratedValue field when using an IDENTITY generation strategy. Now that we do not allow that behavior, OpenJPA was failing to generate IDs properly in some cases. Fixed.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.0@568363 13f79535-47bb-0310-9956-ffa450edef68
2007-08-22 01:33:40 +00:00
Marc Prud'hommeaux 1f15d9f34d Bumping release number from 1.0.0-SNAPSHOT to 1.0.0
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.0@568075 13f79535-47bb-0310-9956-ffa450edef68
2007-08-21 11:36:14 +00:00
Patrick Linskey 52d7ab7975 OPENJPA-321. Avoiding JDK1.5-specific String.replace() call. Also changed the method to return a well-balanced SQL, since it looks like the only usage is in a place where well-balanced-ness is possible.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@567962 13f79535-47bb-0310-9956-ffa450edef68
2007-08-21 05:26:15 +00:00
Kevin W. Sutter eaeebf20c7 OPENJPA-321. Committing Teresa's patch with a few minor formatting updates. Thanks, Teresa.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@567928 13f79535-47bb-0310-9956-ffa450edef68
2007-08-21 03:15:37 +00:00
Patrick Linskey dda1e8ef6f OPENJPA-293. Allow runtime redefinition to be disabled via a configuration setting. We really should sweep through the code and change ImplHelper to take a Configuration as an argument, but that won't change the behavior; it'll just make some of the validations more eager.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@567886 13f79535-47bb-0310-9956-ffa450edef68
2007-08-21 00:45:23 +00:00