You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Ole Solberg (JIRA)" <de...@db.apache.org> on 2006/02/11 01:39:02 UTC
[jira] Created: (DERBY-957) statementJdbc20 failure: SQL Exception:
Invalid parameter value for Statement.setFetchSize(int rows).
statementJdbc20 failure: SQL Exception: Invalid parameter value for Statement.setFetchSize(int rows).
-----------------------------------------------------------------------------------------------------
Key: DERBY-957
URL: http://issues.apache.org/jira/browse/DERBY-957
Project: Derby
Type: Bug
Components: Regression Test Failure
Versions: 10.2.0.0
Environment: Microsoft(R) Windows(R) Server 2003 - CYGWIN_NT-5.2 1.5.12(0.116/4/2), JVM: Sun Microsystems Inc. 1.5.0_04
Reporter: Ole Solberg
Diff:
********* Diff file derbyall/jdbc20/statementJdbc20.diff
*** Start: statementJdbc20 jdk1.5.0_04 derbyall:jdbc20 2006-01-30 06:51:48 ***
3 del
< SQLSTATE(XJ065): SQL Exception: Invalid parameter value '-1,000' for Statement.setFetchSize(int rows).
3a3
> SQLSTATE(XJ065): SQL Exception: Invalid parameter value '-1 000' for Statement.setFetchSize(int rows).
5 del
< SQLSTATE(XJ064): SQL Exception: Invalid parameter value '-1,000' for setFetchDirection(int direction).
5a5
> SQLSTATE(XJ064): SQL Exception: Invalid parameter value '-1 000' for setFetchDirection(int direction).
18 del
< SQLSTATE(XJ062): SQL Exception: Invalid parameter value '-2,000' for ResultSet.setFetchSize(int rows).
18a18
> SQLSTATE(XJ062): SQL Exception: Invalid parameter value '-2 000' for ResultSet.setFetchSize(int rows).
Test Failed.
*** End: statementJdbc20 jdk1.5.0_04 derbyall:jdbc20 2006-01-30 06:52:05 ***
http://www.multinet.no/~solberg/public/Apache/Derby/testlog/CYGWIN_NT-5.2_i686-unknown/373335-derbyall_diff.txt
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Commented: (DERBY-957) Long passed into an exception gets
displayed using locale specific formatting. i18n/locale issue
Posted by "Knut Anders Hatlen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DERBY-957?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12532887 ]
Knut Anders Hatlen commented on DERBY-957:
------------------------------------------
Although statementJdbc20 is a canon based test, parts of it use assertions:
// verify that table was not created
try
{
rs = stmt.executeQuery("select * from trash");
System.out.println("select from trash expected to fail");
}
catch (SQLException e)
{
BaseJDBCTestCase.assertSQLState("42X05", e);
}
We could fix the failures by using BaseJDBCTestCase.assertSQLState() in more of the test cases.
> Long passed into an exception gets displayed using locale specific formatting. i18n/locale issue
> ------------------------------------------------------------------------------------------------
>
> Key: DERBY-957
> URL: https://issues.apache.org/jira/browse/DERBY-957
> Project: Derby
> Issue Type: Bug
> Components: Regression Test Failure, Test
> Affects Versions: 10.2.1.6, 10.3.1.4
> Environment: OS: Microsoft(R) Windows(R) Server 2003 - CYGWIN_NT-5.2 1.5.12(0.116/4/2), JVM: Sun Microsystems Inc. 1.5.0_04
> Reporter: Ole Solberg
> Assignee: Knut Anders Hatlen
> Priority: Minor
>
> Diff:
> ********* Diff file derbyall/jdbc20/statementJdbc20.diff
> *** Start: statementJdbc20 jdk1.5.0_04 derbyall:jdbc20 2006-01-30 06:51:48 ***
> 3 del
> < SQLSTATE(XJ065): SQL Exception: Invalid parameter value '-1,000' for Statement.setFetchSize(int rows).
> 3a3
> > SQLSTATE(XJ065): SQL Exception: Invalid parameter value '-1 000' for Statement.setFetchSize(int rows).
> 5 del
> < SQLSTATE(XJ064): SQL Exception: Invalid parameter value '-1,000' for setFetchDirection(int direction).
> 5a5
> > SQLSTATE(XJ064): SQL Exception: Invalid parameter value '-1 000' for setFetchDirection(int direction).
> 18 del
> < SQLSTATE(XJ062): SQL Exception: Invalid parameter value '-2,000' for ResultSet.setFetchSize(int rows).
> 18a18
> > SQLSTATE(XJ062): SQL Exception: Invalid parameter value '-2 000' for ResultSet.setFetchSize(int rows).
> Test Failed.
> *** End: statementJdbc20 jdk1.5.0_04 derbyall:jdbc20 2006-01-30 06:52:05 ***
> http://www.multinet.no/~solberg/public/Apache/Derby/testlog/CYGWIN_NT-5.2_i686-unknown/373335-derbyall_diff.txt
> Duplicate in DERBY-987
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (DERBY-957) Long passed into an exception gets
displayed using locale specific formatting. i18n/locale issue
Posted by "Knut Anders Hatlen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DERBY-957?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Knut Anders Hatlen reassigned DERBY-957:
----------------------------------------
Assignee: Knut Anders Hatlen
> Long passed into an exception gets displayed using locale specific formatting. i18n/locale issue
> ------------------------------------------------------------------------------------------------
>
> Key: DERBY-957
> URL: https://issues.apache.org/jira/browse/DERBY-957
> Project: Derby
> Issue Type: Bug
> Components: Regression Test Failure, Test
> Affects Versions: 10.2.1.6, 10.3.1.4
> Environment: OS: Microsoft(R) Windows(R) Server 2003 - CYGWIN_NT-5.2 1.5.12(0.116/4/2), JVM: Sun Microsystems Inc. 1.5.0_04
> Reporter: Ole Solberg
> Assignee: Knut Anders Hatlen
> Priority: Minor
>
> Diff:
> ********* Diff file derbyall/jdbc20/statementJdbc20.diff
> *** Start: statementJdbc20 jdk1.5.0_04 derbyall:jdbc20 2006-01-30 06:51:48 ***
> 3 del
> < SQLSTATE(XJ065): SQL Exception: Invalid parameter value '-1,000' for Statement.setFetchSize(int rows).
> 3a3
> > SQLSTATE(XJ065): SQL Exception: Invalid parameter value '-1 000' for Statement.setFetchSize(int rows).
> 5 del
> < SQLSTATE(XJ064): SQL Exception: Invalid parameter value '-1,000' for setFetchDirection(int direction).
> 5a5
> > SQLSTATE(XJ064): SQL Exception: Invalid parameter value '-1 000' for setFetchDirection(int direction).
> 18 del
> < SQLSTATE(XJ062): SQL Exception: Invalid parameter value '-2,000' for ResultSet.setFetchSize(int rows).
> 18a18
> > SQLSTATE(XJ062): SQL Exception: Invalid parameter value '-2 000' for ResultSet.setFetchSize(int rows).
> Test Failed.
> *** End: statementJdbc20 jdk1.5.0_04 derbyall:jdbc20 2006-01-30 06:52:05 ***
> http://www.multinet.no/~solberg/public/Apache/Derby/testlog/CYGWIN_NT-5.2_i686-unknown/373335-derbyall_diff.txt
> Duplicate in DERBY-987
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (DERBY-957) Long passed into an exception gets
displayed using locale specific formatting. i18n/locale issue
Posted by "Knut Anders Hatlen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DERBY-957?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Knut Anders Hatlen updated DERBY-957:
-------------------------------------
Derby Info: [Patch Available]
> Long passed into an exception gets displayed using locale specific formatting. i18n/locale issue
> ------------------------------------------------------------------------------------------------
>
> Key: DERBY-957
> URL: https://issues.apache.org/jira/browse/DERBY-957
> Project: Derby
> Issue Type: Bug
> Components: Regression Test Failure, Test
> Affects Versions: 10.2.1.6, 10.3.1.4
> Environment: OS: Microsoft(R) Windows(R) Server 2003 - CYGWIN_NT-5.2 1.5.12(0.116/4/2), JVM: Sun Microsystems Inc. 1.5.0_04
> Reporter: Ole Solberg
> Assignee: Knut Anders Hatlen
> Priority: Minor
> Attachments: d957.diff
>
>
> Diff:
> ********* Diff file derbyall/jdbc20/statementJdbc20.diff
> *** Start: statementJdbc20 jdk1.5.0_04 derbyall:jdbc20 2006-01-30 06:51:48 ***
> 3 del
> < SQLSTATE(XJ065): SQL Exception: Invalid parameter value '-1,000' for Statement.setFetchSize(int rows).
> 3a3
> > SQLSTATE(XJ065): SQL Exception: Invalid parameter value '-1 000' for Statement.setFetchSize(int rows).
> 5 del
> < SQLSTATE(XJ064): SQL Exception: Invalid parameter value '-1,000' for setFetchDirection(int direction).
> 5a5
> > SQLSTATE(XJ064): SQL Exception: Invalid parameter value '-1 000' for setFetchDirection(int direction).
> 18 del
> < SQLSTATE(XJ062): SQL Exception: Invalid parameter value '-2,000' for ResultSet.setFetchSize(int rows).
> 18a18
> > SQLSTATE(XJ062): SQL Exception: Invalid parameter value '-2 000' for ResultSet.setFetchSize(int rows).
> Test Failed.
> *** End: statementJdbc20 jdk1.5.0_04 derbyall:jdbc20 2006-01-30 06:52:05 ***
> http://www.multinet.no/~solberg/public/Apache/Derby/testlog/CYGWIN_NT-5.2_i686-unknown/373335-derbyall_diff.txt
> Duplicate in DERBY-987
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (DERBY-957) Long passed into an exception gets
displayed using locale specific formatting. i18n/locale issue
Posted by "Mike Matrigali (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DERBY-957?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mike Matrigali updated DERBY-957:
---------------------------------
Affects Version/s: 10.3.0.0
A separate bug for the following failure was marked duplicate of this bug. I am adding this info so hopefully searching the database on the junit failure will show up this bug. This problem is causing regression test failures in 10.3 also so adding that to the affected list:
This is failing on trunk, sun 1.6:
http://dbtg.thresher.com/derby/test/Daily/jvm1.6/testing/testlog/w2003/530080-suitesAll_diff.txt
1) statementJdbc20(org.apache.derbyTesting.functionTests.tests.jdbcapi.JDBCHarnessJavaTest)junit.framework.ComparisonFailure: Output at line 3 expected:<... parameter value '-1[,]000' for Statement.s...> but was:<... parameter value '-1[?]000' for Statement.s...>
at org.apache.derbyTesting.functionTests.util.CanonTestCase.compareCanon(CanonTestCase.java:100)
at org.apache.derbyTesting.functionTests.util.HarnessJavaTest.runTest(HarnessJavaTest.java:90)
at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:88)
at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
at junit.extensions.TestSetup.run(TestSetup.java:25)
at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
at junit.extensions.TestSetup.run(TestSetup.java:25)
at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
at junit.extensions.TestSetup.run(TestSetup.java:25)
Also on trunk, sun jdk1.5:
http://dbtg.thresher.com/derby/test/Daily/jvm1.5/testing/Limited/testSummary-530080.html
) statementJdbc20(org.apache.derbyTesting.functionTests.tests.jdbcapi.JDBCHarnessJavaTest)junit.framework.ComparisonFailure: Output at line 3 expected:<... parameter value '-1[,]000' for Statement.s...> but was:<... parameter value '-1[?]000' for Statement.s...>
at org.apache.derbyTesting.functionTests.util.CanonTestCase.compareCanon(CanonTestCase.java:100)
at org.apache.derbyTesting.functionTests.util.HarnessJavaTest.runTest(HarnessJavaTest.java:90)
at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:88)
at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
at junit.extensions.TestSetup.run(TestSetup.java:25)
at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
at junit.extensions.TestSetup.run(TestSetup.java:25)
at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
at junit.extensions.TestSetup.run(TestSetup.java:25)
Also trunk , sun jdk1.4
1) statementJdbc20(org.apache.derbyTesting.functionTests.tests.jdbcapi.JDBCHarnessJavaTest)junit.framework.ComparisonFailure: Output at line 3 expected:<... parameter value '-1[,]000' for Statement.s...> but was:<... parameter value '-1[?]000' for Statement.s...>
at org.apache.derbyTesting.functionTests.util.CanonTestCase.compareCanon(CanonTestCase.java:100)
at org.apache.derbyTesting.functionTests.util.HarnessJavaTest.runTest(HarnessJavaTest.java:90)
at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:88)
at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
at junit.extensions.TestSetup.run(TestSetup.java:25)
at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
at junit.extensions.TestSetup.run(TestSetup.java:25)
at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
at junit.extensions.TestSetup.run(TestSetup.java:25)
> Long passed into an exception gets displayed using locale specific formatting. i18n/locale issue
> ------------------------------------------------------------------------------------------------
>
> Key: DERBY-957
> URL: https://issues.apache.org/jira/browse/DERBY-957
> Project: Derby
> Issue Type: Test
> Components: Regression Test Failure
> Affects Versions: 10.2.1.6, 10.3.0.0
> Environment: OS: Microsoft(R) Windows(R) Server 2003 - CYGWIN_NT-5.2 1.5.12(0.116/4/2), JVM: Sun Microsystems Inc. 1.5.0_04
> Reporter: Ole Solberg
> Priority: Minor
>
> Diff:
> ********* Diff file derbyall/jdbc20/statementJdbc20.diff
> *** Start: statementJdbc20 jdk1.5.0_04 derbyall:jdbc20 2006-01-30 06:51:48 ***
> 3 del
> < SQLSTATE(XJ065): SQL Exception: Invalid parameter value '-1,000' for Statement.setFetchSize(int rows).
> 3a3
> > SQLSTATE(XJ065): SQL Exception: Invalid parameter value '-1 000' for Statement.setFetchSize(int rows).
> 5 del
> < SQLSTATE(XJ064): SQL Exception: Invalid parameter value '-1,000' for setFetchDirection(int direction).
> 5a5
> > SQLSTATE(XJ064): SQL Exception: Invalid parameter value '-1 000' for setFetchDirection(int direction).
> 18 del
> < SQLSTATE(XJ062): SQL Exception: Invalid parameter value '-2,000' for ResultSet.setFetchSize(int rows).
> 18a18
> > SQLSTATE(XJ062): SQL Exception: Invalid parameter value '-2 000' for ResultSet.setFetchSize(int rows).
> Test Failed.
> *** End: statementJdbc20 jdk1.5.0_04 derbyall:jdbc20 2006-01-30 06:52:05 ***
> http://www.multinet.no/~solberg/public/Apache/Derby/testlog/CYGWIN_NT-5.2_i686-unknown/373335-derbyall_diff.txt
> Duplicate in DERBY-987
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (DERBY-957) Long passed into an exception gets
displayed using locale specific formatting. i18n/locale issue
Posted by "Ole Solberg (JIRA)" <de...@db.apache.org>.
[ http://issues.apache.org/jira/browse/DERBY-957?page=all ]
Ole Solberg updated DERBY-957:
------------------------------
Summary: Long passed into an exception gets displayed using locale specific formatting. i18n/locale issue (was: statementJdbc20 failure: SQL Exception: Invalid parameter value for Statement.setFetchSize(int rows).)
Description:
Diff:
********* Diff file derbyall/jdbc20/statementJdbc20.diff
*** Start: statementJdbc20 jdk1.5.0_04 derbyall:jdbc20 2006-01-30 06:51:48 ***
3 del
< SQLSTATE(XJ065): SQL Exception: Invalid parameter value '-1,000' for Statement.setFetchSize(int rows).
3a3
> SQLSTATE(XJ065): SQL Exception: Invalid parameter value '-1 000' for Statement.setFetchSize(int rows).
5 del
< SQLSTATE(XJ064): SQL Exception: Invalid parameter value '-1,000' for setFetchDirection(int direction).
5a5
> SQLSTATE(XJ064): SQL Exception: Invalid parameter value '-1 000' for setFetchDirection(int direction).
18 del
< SQLSTATE(XJ062): SQL Exception: Invalid parameter value '-2,000' for ResultSet.setFetchSize(int rows).
18a18
> SQLSTATE(XJ062): SQL Exception: Invalid parameter value '-2 000' for ResultSet.setFetchSize(int rows).
Test Failed.
*** End: statementJdbc20 jdk1.5.0_04 derbyall:jdbc20 2006-01-30 06:52:05 ***
http://www.multinet.no/~solberg/public/Apache/Derby/testlog/CYGWIN_NT-5.2_i686-unknown/373335-derbyall_diff.txt
Duplicate in DERBY-987
was:
Diff:
********* Diff file derbyall/jdbc20/statementJdbc20.diff
*** Start: statementJdbc20 jdk1.5.0_04 derbyall:jdbc20 2006-01-30 06:51:48 ***
3 del
< SQLSTATE(XJ065): SQL Exception: Invalid parameter value '-1,000' for Statement.setFetchSize(int rows).
3a3
> SQLSTATE(XJ065): SQL Exception: Invalid parameter value '-1 000' for Statement.setFetchSize(int rows).
5 del
< SQLSTATE(XJ064): SQL Exception: Invalid parameter value '-1,000' for setFetchDirection(int direction).
5a5
> SQLSTATE(XJ064): SQL Exception: Invalid parameter value '-1 000' for setFetchDirection(int direction).
18 del
< SQLSTATE(XJ062): SQL Exception: Invalid parameter value '-2,000' for ResultSet.setFetchSize(int rows).
18a18
> SQLSTATE(XJ062): SQL Exception: Invalid parameter value '-2 000' for ResultSet.setFetchSize(int rows).
Test Failed.
*** End: statementJdbc20 jdk1.5.0_04 derbyall:jdbc20 2006-01-30 06:52:05 ***
http://www.multinet.no/~solberg/public/Apache/Derby/testlog/CYGWIN_NT-5.2_i686-unknown/373335-derbyall_diff.txt
Environment: OS: Microsoft(R) Windows(R) Server 2003 - CYGWIN_NT-5.2 1.5.12(0.116/4/2), JVM: Sun Microsystems Inc. 1.5.0_04 (was: Microsoft(R) Windows(R) Server 2003 - CYGWIN_NT-5.2 1.5.12(0.116/4/2), JVM: Sun Microsystems Inc. 1.5.0_04)
Priority: Minor (was: Major)
> Long passed into an exception gets displayed using locale specific formatting. i18n/locale issue
> ------------------------------------------------------------------------------------------------
>
> Key: DERBY-957
> URL: http://issues.apache.org/jira/browse/DERBY-957
> Project: Derby
> Type: Bug
> Components: Regression Test Failure
> Versions: 10.2.0.0
> Environment: OS: Microsoft(R) Windows(R) Server 2003 - CYGWIN_NT-5.2 1.5.12(0.116/4/2), JVM: Sun Microsystems Inc. 1.5.0_04
> Reporter: Ole Solberg
> Priority: Minor
>
> Diff:
> ********* Diff file derbyall/jdbc20/statementJdbc20.diff
> *** Start: statementJdbc20 jdk1.5.0_04 derbyall:jdbc20 2006-01-30 06:51:48 ***
> 3 del
> < SQLSTATE(XJ065): SQL Exception: Invalid parameter value '-1,000' for Statement.setFetchSize(int rows).
> 3a3
> > SQLSTATE(XJ065): SQL Exception: Invalid parameter value '-1 000' for Statement.setFetchSize(int rows).
> 5 del
> < SQLSTATE(XJ064): SQL Exception: Invalid parameter value '-1,000' for setFetchDirection(int direction).
> 5a5
> > SQLSTATE(XJ064): SQL Exception: Invalid parameter value '-1 000' for setFetchDirection(int direction).
> 18 del
> < SQLSTATE(XJ062): SQL Exception: Invalid parameter value '-2,000' for ResultSet.setFetchSize(int rows).
> 18a18
> > SQLSTATE(XJ062): SQL Exception: Invalid parameter value '-2 000' for ResultSet.setFetchSize(int rows).
> Test Failed.
> *** End: statementJdbc20 jdk1.5.0_04 derbyall:jdbc20 2006-01-30 06:52:05 ***
> http://www.multinet.no/~solberg/public/Apache/Derby/testlog/CYGWIN_NT-5.2_i686-unknown/373335-derbyall_diff.txt
> Duplicate in DERBY-987
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Commented: (DERBY-957) Long passed into an exception gets
displayed using locale specific formatting. i18n/locale issue
Posted by "Knut Anders Hatlen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DERBY-957?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12532900 ]
Knut Anders Hatlen commented on DERBY-957:
------------------------------------------
You're right, calling junit.framework.Assert.fail() should also work. The only difference is that it will stop the test, whereas with System.out.println() the test continues after the failure. But since the test is not yet a JUnit test, I'm not sure we should add to many of the JUnit constructs. I think assertSQLState() makes sense since it helps us work around a problem with canon based tests. I don't think using fail() gives us anything more than println() in this test, though.
> Long passed into an exception gets displayed using locale specific formatting. i18n/locale issue
> ------------------------------------------------------------------------------------------------
>
> Key: DERBY-957
> URL: https://issues.apache.org/jira/browse/DERBY-957
> Project: Derby
> Issue Type: Bug
> Components: Regression Test Failure, Test
> Affects Versions: 10.2.1.6, 10.3.1.4
> Environment: OS: Microsoft(R) Windows(R) Server 2003 - CYGWIN_NT-5.2 1.5.12(0.116/4/2), JVM: Sun Microsystems Inc. 1.5.0_04
> Reporter: Ole Solberg
> Assignee: Knut Anders Hatlen
> Priority: Minor
> Attachments: d957.diff
>
>
> Diff:
> ********* Diff file derbyall/jdbc20/statementJdbc20.diff
> *** Start: statementJdbc20 jdk1.5.0_04 derbyall:jdbc20 2006-01-30 06:51:48 ***
> 3 del
> < SQLSTATE(XJ065): SQL Exception: Invalid parameter value '-1,000' for Statement.setFetchSize(int rows).
> 3a3
> > SQLSTATE(XJ065): SQL Exception: Invalid parameter value '-1 000' for Statement.setFetchSize(int rows).
> 5 del
> < SQLSTATE(XJ064): SQL Exception: Invalid parameter value '-1,000' for setFetchDirection(int direction).
> 5a5
> > SQLSTATE(XJ064): SQL Exception: Invalid parameter value '-1 000' for setFetchDirection(int direction).
> 18 del
> < SQLSTATE(XJ062): SQL Exception: Invalid parameter value '-2,000' for ResultSet.setFetchSize(int rows).
> 18a18
> > SQLSTATE(XJ062): SQL Exception: Invalid parameter value '-2 000' for ResultSet.setFetchSize(int rows).
> Test Failed.
> *** End: statementJdbc20 jdk1.5.0_04 derbyall:jdbc20 2006-01-30 06:52:05 ***
> http://www.multinet.no/~solberg/public/Apache/Derby/testlog/CYGWIN_NT-5.2_i686-unknown/373335-derbyall_diff.txt
> Duplicate in DERBY-987
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (DERBY-957) Long passed into an exception gets
displayed using locale specific formatting. i18n/locale issue
Posted by "Knut Anders Hatlen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DERBY-957?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Knut Anders Hatlen updated DERBY-957:
-------------------------------------
Attachment: d957.diff
The attached patch replaces three exception dumps with asserts and fixes the test in my environment.
> Long passed into an exception gets displayed using locale specific formatting. i18n/locale issue
> ------------------------------------------------------------------------------------------------
>
> Key: DERBY-957
> URL: https://issues.apache.org/jira/browse/DERBY-957
> Project: Derby
> Issue Type: Bug
> Components: Regression Test Failure, Test
> Affects Versions: 10.2.1.6, 10.3.1.4
> Environment: OS: Microsoft(R) Windows(R) Server 2003 - CYGWIN_NT-5.2 1.5.12(0.116/4/2), JVM: Sun Microsystems Inc. 1.5.0_04
> Reporter: Ole Solberg
> Assignee: Knut Anders Hatlen
> Priority: Minor
> Attachments: d957.diff
>
>
> Diff:
> ********* Diff file derbyall/jdbc20/statementJdbc20.diff
> *** Start: statementJdbc20 jdk1.5.0_04 derbyall:jdbc20 2006-01-30 06:51:48 ***
> 3 del
> < SQLSTATE(XJ065): SQL Exception: Invalid parameter value '-1,000' for Statement.setFetchSize(int rows).
> 3a3
> > SQLSTATE(XJ065): SQL Exception: Invalid parameter value '-1 000' for Statement.setFetchSize(int rows).
> 5 del
> < SQLSTATE(XJ064): SQL Exception: Invalid parameter value '-1,000' for setFetchDirection(int direction).
> 5a5
> > SQLSTATE(XJ064): SQL Exception: Invalid parameter value '-1 000' for setFetchDirection(int direction).
> 18 del
> < SQLSTATE(XJ062): SQL Exception: Invalid parameter value '-2,000' for ResultSet.setFetchSize(int rows).
> 18a18
> > SQLSTATE(XJ062): SQL Exception: Invalid parameter value '-2 000' for ResultSet.setFetchSize(int rows).
> Test Failed.
> *** End: statementJdbc20 jdk1.5.0_04 derbyall:jdbc20 2006-01-30 06:52:05 ***
> http://www.multinet.no/~solberg/public/Apache/Derby/testlog/CYGWIN_NT-5.2_i686-unknown/373335-derbyall_diff.txt
> Duplicate in DERBY-987
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (DERBY-957) Long passed into an exception gets
displayed using locale specific formatting. i18n/locale issue
Posted by "Knut Anders Hatlen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DERBY-957?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Knut Anders Hatlen resolved DERBY-957.
--------------------------------------
Resolution: Fixed
Fix Version/s: 10.4.0.0
10.3.1.5
Derby Info: (was: [Patch Available])
Committed to trunk with revision 582733.
Committed to 10.3 with revision 582734.
> Long passed into an exception gets displayed using locale specific formatting. i18n/locale issue
> ------------------------------------------------------------------------------------------------
>
> Key: DERBY-957
> URL: https://issues.apache.org/jira/browse/DERBY-957
> Project: Derby
> Issue Type: Bug
> Components: Regression Test Failure, Test
> Affects Versions: 10.2.1.6, 10.3.1.4
> Environment: OS: Microsoft(R) Windows(R) Server 2003 - CYGWIN_NT-5.2 1.5.12(0.116/4/2), JVM: Sun Microsystems Inc. 1.5.0_04
> Reporter: Ole Solberg
> Assignee: Knut Anders Hatlen
> Priority: Minor
> Fix For: 10.3.1.5, 10.4.0.0
>
> Attachments: d957.diff
>
>
> Diff:
> ********* Diff file derbyall/jdbc20/statementJdbc20.diff
> *** Start: statementJdbc20 jdk1.5.0_04 derbyall:jdbc20 2006-01-30 06:51:48 ***
> 3 del
> < SQLSTATE(XJ065): SQL Exception: Invalid parameter value '-1,000' for Statement.setFetchSize(int rows).
> 3a3
> > SQLSTATE(XJ065): SQL Exception: Invalid parameter value '-1 000' for Statement.setFetchSize(int rows).
> 5 del
> < SQLSTATE(XJ064): SQL Exception: Invalid parameter value '-1,000' for setFetchDirection(int direction).
> 5a5
> > SQLSTATE(XJ064): SQL Exception: Invalid parameter value '-1 000' for setFetchDirection(int direction).
> 18 del
> < SQLSTATE(XJ062): SQL Exception: Invalid parameter value '-2,000' for ResultSet.setFetchSize(int rows).
> 18a18
> > SQLSTATE(XJ062): SQL Exception: Invalid parameter value '-2 000' for ResultSet.setFetchSize(int rows).
> Test Failed.
> *** End: statementJdbc20 jdk1.5.0_04 derbyall:jdbc20 2006-01-30 06:52:05 ***
> http://www.multinet.no/~solberg/public/Apache/Derby/testlog/CYGWIN_NT-5.2_i686-unknown/373335-derbyall_diff.txt
> Duplicate in DERBY-987
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (DERBY-957) Long passed into an exception gets
displayed using locale specific formatting. i18n/locale issue
Posted by "Bryan Pendleton (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DERBY-957?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12532892 ]
Bryan Pendleton commented on DERBY-957:
---------------------------------------
Using assertSQLState seems quite reasonable.
However, instead of adding
+ System.out.println("setFetchSize(-1000) expected to fail");
does it work to instead say
+ fail("setFetchSize(-1000) expected to fail");
Or am I getting confused between the old harness and the new JUnit style here?
> Long passed into an exception gets displayed using locale specific formatting. i18n/locale issue
> ------------------------------------------------------------------------------------------------
>
> Key: DERBY-957
> URL: https://issues.apache.org/jira/browse/DERBY-957
> Project: Derby
> Issue Type: Bug
> Components: Regression Test Failure, Test
> Affects Versions: 10.2.1.6, 10.3.1.4
> Environment: OS: Microsoft(R) Windows(R) Server 2003 - CYGWIN_NT-5.2 1.5.12(0.116/4/2), JVM: Sun Microsystems Inc. 1.5.0_04
> Reporter: Ole Solberg
> Assignee: Knut Anders Hatlen
> Priority: Minor
> Attachments: d957.diff
>
>
> Diff:
> ********* Diff file derbyall/jdbc20/statementJdbc20.diff
> *** Start: statementJdbc20 jdk1.5.0_04 derbyall:jdbc20 2006-01-30 06:51:48 ***
> 3 del
> < SQLSTATE(XJ065): SQL Exception: Invalid parameter value '-1,000' for Statement.setFetchSize(int rows).
> 3a3
> > SQLSTATE(XJ065): SQL Exception: Invalid parameter value '-1 000' for Statement.setFetchSize(int rows).
> 5 del
> < SQLSTATE(XJ064): SQL Exception: Invalid parameter value '-1,000' for setFetchDirection(int direction).
> 5a5
> > SQLSTATE(XJ064): SQL Exception: Invalid parameter value '-1 000' for setFetchDirection(int direction).
> 18 del
> < SQLSTATE(XJ062): SQL Exception: Invalid parameter value '-2,000' for ResultSet.setFetchSize(int rows).
> 18a18
> > SQLSTATE(XJ062): SQL Exception: Invalid parameter value '-2 000' for ResultSet.setFetchSize(int rows).
> Test Failed.
> *** End: statementJdbc20 jdk1.5.0_04 derbyall:jdbc20 2006-01-30 06:52:05 ***
> http://www.multinet.no/~solberg/public/Apache/Derby/testlog/CYGWIN_NT-5.2_i686-unknown/373335-derbyall_diff.txt
> Duplicate in DERBY-987
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (DERBY-957) Long passed into an exception gets
displayed using locale specific formatting. i18n/locale issue
Posted by "Knut Anders Hatlen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DERBY-957?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Knut Anders Hatlen updated DERBY-957:
-------------------------------------
Component/s: Test
Issue Type: Bug (was: Test)
Changing issue type from "Test" to "Bug" with component "Test". (Issue type "Test" is described as "A new unit, integration or system test.")
> Long passed into an exception gets displayed using locale specific formatting. i18n/locale issue
> ------------------------------------------------------------------------------------------------
>
> Key: DERBY-957
> URL: https://issues.apache.org/jira/browse/DERBY-957
> Project: Derby
> Issue Type: Bug
> Components: Regression Test Failure, Test
> Affects Versions: 10.2.1.6, 10.3.1.4
> Environment: OS: Microsoft(R) Windows(R) Server 2003 - CYGWIN_NT-5.2 1.5.12(0.116/4/2), JVM: Sun Microsystems Inc. 1.5.0_04
> Reporter: Ole Solberg
> Priority: Minor
>
> Diff:
> ********* Diff file derbyall/jdbc20/statementJdbc20.diff
> *** Start: statementJdbc20 jdk1.5.0_04 derbyall:jdbc20 2006-01-30 06:51:48 ***
> 3 del
> < SQLSTATE(XJ065): SQL Exception: Invalid parameter value '-1,000' for Statement.setFetchSize(int rows).
> 3a3
> > SQLSTATE(XJ065): SQL Exception: Invalid parameter value '-1 000' for Statement.setFetchSize(int rows).
> 5 del
> < SQLSTATE(XJ064): SQL Exception: Invalid parameter value '-1,000' for setFetchDirection(int direction).
> 5a5
> > SQLSTATE(XJ064): SQL Exception: Invalid parameter value '-1 000' for setFetchDirection(int direction).
> 18 del
> < SQLSTATE(XJ062): SQL Exception: Invalid parameter value '-2,000' for ResultSet.setFetchSize(int rows).
> 18a18
> > SQLSTATE(XJ062): SQL Exception: Invalid parameter value '-2 000' for ResultSet.setFetchSize(int rows).
> Test Failed.
> *** End: statementJdbc20 jdk1.5.0_04 derbyall:jdbc20 2006-01-30 06:52:05 ***
> http://www.multinet.no/~solberg/public/Apache/Derby/testlog/CYGWIN_NT-5.2_i686-unknown/373335-derbyall_diff.txt
> Duplicate in DERBY-987
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (DERBY-957) Long passed into an exception gets
displayed using locale specific formatting. i18n/locale issue
Posted by "Ole Solberg (JIRA)" <de...@db.apache.org>.
[ http://issues.apache.org/jira/browse/DERBY-957?page=all ]
Ole Solberg updated DERBY-957:
------------------------------
type: Test (was: Bug)
> Long passed into an exception gets displayed using locale specific formatting. i18n/locale issue
> ------------------------------------------------------------------------------------------------
>
> Key: DERBY-957
> URL: http://issues.apache.org/jira/browse/DERBY-957
> Project: Derby
> Type: Test
> Components: Regression Test Failure
> Versions: 10.2.0.0
> Environment: OS: Microsoft(R) Windows(R) Server 2003 - CYGWIN_NT-5.2 1.5.12(0.116/4/2), JVM: Sun Microsystems Inc. 1.5.0_04
> Reporter: Ole Solberg
> Priority: Minor
>
> Diff:
> ********* Diff file derbyall/jdbc20/statementJdbc20.diff
> *** Start: statementJdbc20 jdk1.5.0_04 derbyall:jdbc20 2006-01-30 06:51:48 ***
> 3 del
> < SQLSTATE(XJ065): SQL Exception: Invalid parameter value '-1,000' for Statement.setFetchSize(int rows).
> 3a3
> > SQLSTATE(XJ065): SQL Exception: Invalid parameter value '-1 000' for Statement.setFetchSize(int rows).
> 5 del
> < SQLSTATE(XJ064): SQL Exception: Invalid parameter value '-1,000' for setFetchDirection(int direction).
> 5a5
> > SQLSTATE(XJ064): SQL Exception: Invalid parameter value '-1 000' for setFetchDirection(int direction).
> 18 del
> < SQLSTATE(XJ062): SQL Exception: Invalid parameter value '-2,000' for ResultSet.setFetchSize(int rows).
> 18a18
> > SQLSTATE(XJ062): SQL Exception: Invalid parameter value '-2 000' for ResultSet.setFetchSize(int rows).
> Test Failed.
> *** End: statementJdbc20 jdk1.5.0_04 derbyall:jdbc20 2006-01-30 06:52:05 ***
> http://www.multinet.no/~solberg/public/Apache/Derby/testlog/CYGWIN_NT-5.2_i686-unknown/373335-derbyall_diff.txt
> Duplicate in DERBY-987
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Closed: (DERBY-957) Long passed into an exception gets
displayed using locale specific formatting. i18n/locale issue
Posted by "Ole Solberg (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DERBY-957?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ole Solberg closed DERBY-957.
-----------------------------
> Long passed into an exception gets displayed using locale specific formatting. i18n/locale issue
> ------------------------------------------------------------------------------------------------
>
> Key: DERBY-957
> URL: https://issues.apache.org/jira/browse/DERBY-957
> Project: Derby
> Issue Type: Bug
> Components: Regression Test Failure, Test
> Affects Versions: 10.2.1.6, 10.3.1.4
> Environment: OS: Microsoft(R) Windows(R) Server 2003 - CYGWIN_NT-5.2 1.5.12(0.116/4/2), JVM: Sun Microsystems Inc. 1.5.0_04
> Reporter: Ole Solberg
> Assignee: Knut Anders Hatlen
> Priority: Minor
> Fix For: 10.3.1.5, 10.4.0.0
>
> Attachments: d957.diff
>
>
> Diff:
> ********* Diff file derbyall/jdbc20/statementJdbc20.diff
> *** Start: statementJdbc20 jdk1.5.0_04 derbyall:jdbc20 2006-01-30 06:51:48 ***
> 3 del
> < SQLSTATE(XJ065): SQL Exception: Invalid parameter value '-1,000' for Statement.setFetchSize(int rows).
> 3a3
> > SQLSTATE(XJ065): SQL Exception: Invalid parameter value '-1 000' for Statement.setFetchSize(int rows).
> 5 del
> < SQLSTATE(XJ064): SQL Exception: Invalid parameter value '-1,000' for setFetchDirection(int direction).
> 5a5
> > SQLSTATE(XJ064): SQL Exception: Invalid parameter value '-1 000' for setFetchDirection(int direction).
> 18 del
> < SQLSTATE(XJ062): SQL Exception: Invalid parameter value '-2,000' for ResultSet.setFetchSize(int rows).
> 18a18
> > SQLSTATE(XJ062): SQL Exception: Invalid parameter value '-2 000' for ResultSet.setFetchSize(int rows).
> Test Failed.
> *** End: statementJdbc20 jdk1.5.0_04 derbyall:jdbc20 2006-01-30 06:52:05 ***
> http://www.multinet.no/~solberg/public/Apache/Derby/testlog/CYGWIN_NT-5.2_i686-unknown/373335-derbyall_diff.txt
> Duplicate in DERBY-987
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.