Commit Graph

1022 Commits

Author SHA1 Message Date
Marc Prud'hommeaux cdd318578e Set a default value for "jpatck.test" so that not specifying a test will allow the TCK to run.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@584978 13f79535-47bb-0310-9956-ffa450edef68
2007-10-16 00:03:57 +00:00
Patrick Linskey 09c894a368 OPENJPA-403. Assuming that ignoring the new code is sufficient in cases where the fetch configuration is unavailable.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@584972 13f79535-47bb-0310-9956-ffa450edef68
2007-10-15 23:21:30 +00:00
Patrick Linskey 716b008346 OPENJPA-293. Moved localized message to correct package.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@584900 13f79535-47bb-0310-9956-ffa450edef68
2007-10-15 20:34:43 +00:00
Patrick Linskey 7eabf992bb removed empty file. In addition to being empty, this was causing rat to fail.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@584891 13f79535-47bb-0310-9956-ffa450edef68
2007-10-15 20:16:41 +00:00
Marc Prud'hommeaux 5b67b240f1 The overridden toSelect() signature in the OracleDictionary was no longer appropriate since the DBDictionary.toSelect() change in revision #577972 (which fixed OPENJPA-378). This resulted in the special Oracle range handing to no longer take place, resulting in setFirstResult() and setMaxResults() effectively being ignored for Oracle.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@584463 13f79535-47bb-0310-9956-ffa450edef68
2007-10-14 01:02:19 +00:00
Marc Prud'hommeaux eb6a63c2c7 Added "openjpa.log.level" property to override the level of OpenJPA logging during TCK tests.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@584444 13f79535-47bb-0310-9956-ffa450edef68
2007-10-13 19:21:58 +00:00
Marc Prud'hommeaux 6529b65e43 Added "db.name" property and comment on how to run TCK tests using a database other than derby.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@584443 13f79535-47bb-0310-9956-ffa450edef68
2007-10-13 19:19:11 +00:00
Albert Lee cc5e5a36fa OPENJPA-402 Complete .class file read in ZipFileMetaDataIterator
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@584420 13f79535-47bb-0310-9956-ffa450edef68
2007-10-13 16:12:35 +00:00
Michael Dick 2d6fbb5d13 OPENJPA-399 Committing Teresa's patch
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@584354 13f79535-47bb-0310-9956-ffa450edef68
2007-10-13 00:51:54 +00:00
Michael Dick 151cf2d034 OPENJPA-399 committing Teresa's patch
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@584330 13f79535-47bb-0310-9956-ffa450edef68
2007-10-12 23:42:34 +00:00
Michael Dick 31e436df3c OPENJPA-401
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@584190 13f79535-47bb-0310-9956-ffa450edef68
2007-10-12 15:36:08 +00:00
Patrick Linskey 027c472449 removing dependencies on JMS and commons-logging from the distribution. Neither of these are required for OpenJPA usage.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@582982 13f79535-47bb-0310-9956-ffa450edef68
2007-10-08 21:34:17 +00:00
Kevin W. Sutter a1fb5b7f72 OPENJPA-396. Going ahead with the commit of the patch. Per the discussion in the Issue and the dev mailing list, I have added a few more comments to the clone() generation. Thanks.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@582974 13f79535-47bb-0310-9956-ffa450edef68
2007-10-08 21:06:45 +00:00
Michael Dick 8c6e31a1d9 OPENJPA-397
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@582851 13f79535-47bb-0310-9956-ffa450edef68
2007-10-08 15:36:49 +00:00
Kevin W. Sutter 4fb0c28dc2 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/trunk@582838 13f79535-47bb-0310-9956-ffa450edef68
2007-10-08 14:41:14 +00:00
Albert Lee 704fc1b513 Minor typos and javadoc updates.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@582341 13f79535-47bb-0310-9956-ffa450edef68
2007-10-05 16:42:42 +00:00
Patrick Linskey 22e5530d0c OPENJPA-392
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@581933 13f79535-47bb-0310-9956-ffa450edef68
2007-10-04 14:44:37 +00:00
Craig Russell cafd3d7a62 OPENJPA-366 Trivial typo in new message
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@581619 13f79535-47bb-0310-9956-ffa450edef68
2007-10-03 15:08:04 +00:00
Albert Lee 03d19774c2 OPENJPA-366 - Add message text to InternalException.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@581608 13f79535-47bb-0310-9956-ffa450edef68
2007-10-03 14:09:43 +00:00
Marc Prud'hommeaux abff87ef35 OPENJPA345 The last patch had the side effect that the artifact zip doesn't contain most of the required dependency jars (e.g., commons-lang), since the transitive dependencies are not followed to pick up these jars. Resolved this by explicitly listing the required jars in the openjpa-all dependencies. Also moved most of the dependency version numbers into the parent pom.xml dependencyManagement section to ensure that all dependency versions are the same.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@581536 13f79535-47bb-0310-9956-ffa450edef68
2007-10-03 09:10:54 +00:00
Marc Prud'hommeaux a817af2993 Added "jpatck.test" argument to allow the running of an individual test.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@581519 13f79535-47bb-0310-9956-ffa450edef68
2007-10-03 07:47:54 +00:00
Patrick Linskey 5ef181ab94 OPENJPA-368. Committing Vikram's patch.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@581443 13f79535-47bb-0310-9956-ffa450edef68
2007-10-03 00:15:12 +00:00
Catalina Wei fab1a92046 OPENJPA-389 et.commit() not issuing database commit for Native queries involving updates.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@581088 13f79535-47bb-0310-9956-ffa450edef68
2007-10-01 21:50:15 +00:00
Kevin W. Sutter 5a48e90100 OPENJPA-387. Committing the latest patch from Daniel (with slight modifications by me).
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@581082 13f79535-47bb-0310-9956-ffa450edef68
2007-10-01 21:44:51 +00:00
Kevin W. Sutter 60062e27a2 OPENJPA-370. Committing Teresa's patch with a few minor updates (per my JIRA Issue remarks).
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@581039 13f79535-47bb-0310-9956-ffa450edef68
2007-10-01 19:08:19 +00:00
Patrick Linskey bb527a1e88 OPENJPA-369. Committing Albert's 1.5-supporting changes.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@580451 13f79535-47bb-0310-9956-ffa450edef68
2007-09-28 18:23:48 +00:00
Michael Dick a92418ddd6 OPENJPA-388
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@580426 13f79535-47bb-0310-9956-ffa450edef68
2007-09-28 17:13:41 +00:00
Kevin W. Sutter 6f43ce7d40 OPENJPA-385. Committing changes for both 1.0.x and 1.1.0 to properly skip and optionally log malformed .class files.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@580087 13f79535-47bb-0310-9956-ffa450edef68
2007-09-27 16:36:48 +00:00
Michael Dick 12840cafbf OPENJPA-382
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@578867 13f79535-47bb-0310-9956-ffa450edef68
2007-09-24 16:14:12 +00:00
Michael Dick 89b030c3d1 OPENJPA-380
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@578260 13f79535-47bb-0310-9956-ffa450edef68
2007-09-21 20:38:31 +00:00
Srinivasa Segu 91917c406c OPENJPA-379. Creating the statement with the resultSetType, resultSetConcurrency specified consistent with the Kodos internal pool.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@577991 13f79535-47bb-0310-9956-ffa450edef68
2007-09-21 05:54:55 +00:00
Catalina Wei 5d4d50df96 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/trunk@577973 13f79535-47bb-0310-9956-ffa450edef68
2007-09-21 03:32:14 +00:00
Pinaki Poddar cea8ab57d1 OPENJPA-305: Add originalValue for Value and modify Configuration equality/hashCode to base on Value equality/hashCode
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@577164 13f79535-47bb-0310-9956-ffa450edef68
2007-09-19 05:39:17 +00:00
Kevin W. Sutter 7524219f6a OPENJPA-369. Committed Albert's changes for the Java 2 Security updates for the Solaris platform.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@577029 13f79535-47bb-0310-9956-ffa450edef68
2007-09-18 19:44:06 +00:00
Catalina Wei c0cf405648 OPENJPA-375 DB2 autoCommit(true) causes Result Set prematurely closed in WebContainer JEE environment.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@577015 13f79535-47bb-0310-9956-ffa450edef68
2007-09-18 18:50:25 +00:00
Michael Dick 861e397196 OPENJPA-364 commiting patch from David Jencks
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@576925 13f79535-47bb-0310-9956-ffa450edef68
2007-09-18 14:03:14 +00:00
Pinaki Poddar c8ca563046 OPENJPA-24: Relaxing access to connect() for extensibility.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@576582 13f79535-47bb-0310-9956-ffa450edef68
2007-09-17 20:47:52 +00:00
Kevin W. Sutter 884d6b5460 OPENJPA-367. Committing Albert's patch (since he doesn't have his committer karma quite yet...).
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@576552 13f79535-47bb-0310-9956-ffa450edef68
2007-09-17 18:12:46 +00:00
Patrick Linskey 44c08403ac NPE check. Checking in on behalf of Abe.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@575752 13f79535-47bb-0310-9956-ffa450edef68
2007-09-14 16:33:09 +00:00
Patrick Linskey 809cb37003 OPENJPA-335. 'svn merge -c 575492 ../branches/1.0.x'
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@575495 13f79535-47bb-0310-9956-ffa450edef68
2007-09-13 23:24:12 +00:00
Catalina Wei 5e590a951e OPENJPA-360 FOR UPDATE clause incorrectly generated
remove transient variable

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@575079 13f79535-47bb-0310-9956-ffa450edef68
2007-09-12 21:08:53 +00:00
Kevin W. Sutter efc6e371b7 OPENJPA-360. Remove code dependencies on DB2 libraries from unit tests.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@575008 13f79535-47bb-0310-9956-ffa450edef68
2007-09-12 16:45:59 +00:00
Catalina Wei a4bf964c08 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.


git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@574464 13f79535-47bb-0310-9956-ffa450edef68
2007-09-11 05:32:37 +00:00
Kevin W. Sutter 3d8748c427 OPENJPA-361. Committing Albert's patch for the incorrect GREG_OFFSET (Gregorian Offset).
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@574398 13f79535-47bb-0310-9956-ffa450edef68
2007-09-10 23:01:39 +00:00
Patrick Linskey 4157d0931b clarified prerequisites
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@574337 13f79535-47bb-0310-9956-ffa450edef68
2007-09-10 19:13:17 +00:00
Pinaki Poddar 7c07cc6d1d OPENJPA-357, OPENJPA-358: Checking for user error of wrong fetch group inclusion
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@574293 13f79535-47bb-0310-9956-ffa450edef68
2007-09-10 16:20:08 +00:00
Pinaki Poddar 6d5fe3bb8a OPENJPA-357, OPENJPA-358: Adding @since tag/comments to new additions to FetchGroup inclusion
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@574289 13f79535-47bb-0310-9956-ffa450edef68
2007-09-10 16:01:40 +00:00
Patrick Linskey cd66165d76 Fixing incorrect return value.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@574285 13f79535-47bb-0310-9956-ffa450edef68
2007-09-10 15:53:21 +00:00
Patrick Linskey d022b18ad5 OPENJPA-130. Committing Ignacio's patch, with a few whitespace and method name tweaks.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@574143 13f79535-47bb-0310-9956-ffa450edef68
2007-09-10 06:11:29 +00:00
Srinivasa Segu 1242abf2d5 OPENJPA-363
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@574077 13f79535-47bb-0310-9956-ffa450edef68
2007-09-09 21:11:40 +00:00