TomohitoNakayama wrote:
Hello .
I have executed resultsetStream.java in network environment .
And found error attached to this mail as resultsetStream.diff .
It seems that output of part commented as next in resultsetStream.java
is different between network and embedded environments .
I think we should add a jira bug and link it to Derby 310, so this
difference in behavior can be addressed.
I am concerned about this line in the diff , it may not be per the
standard ?
> EXPECTED SQLSTATE(null): End of Stream prematurely reached while
reading InputStream, parameter #2. Remaining data has been padded with 0x0.
Do you know why there is this append in the diff file ..
8a9
> FAIL - stream was not closed after a get*() call. class
java.io.ByteArrayInputStream
If it is something that needs to be looked into, maybe a jira entry
needs to be added.
Thanks,
Sunitha.
// check binary input streams of invalid length.
// JDBC 3.0 tutorial says stream contents must match length.
Now, I'm thinking to add resultsetStream_sed.properties to avoid this
problem .
Best regards .
/*
Tomohito Nakayama
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
Naka
http://www5.ocn.ne.jp/~tomohito/TopPage.html
*/
----- Original Message ----- From: "TomohitoNakayama"
<[EMAIL PROTECTED]>
To: "Derby Development" <[email protected]>
Sent: Sunday, October 02, 2005 1:36 PM
Subject: Re: [jira] Commented: (DERBY-525) getAsciiStreamshould
replace non-ASCII characters with 0x3f, '?' to match embedded
Hello.
I didn't realize it was excluded. Well, I will try executing
./functionTests/tests/jdbcapi/resultsetStream.java in network
environment test before modify
./functionTests/tests/jdbcapi/resultsetStream.java .
//If there exists what must be done in resultsetStream.java , I think
new issue may be needed for that .
Best regards.
/*
Tomohito Nakayama
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
Naka
http://www5.ocn.ne.jp/~tomohito/TopPage.html
*/
----- Original Message ----- From: "Sunitha Kambhampati"
<[EMAIL PROTECTED]>
To: "Derby Development" <[email protected]>
Sent: Sunday, October 02, 2005 2:12 AM
Subject: Re: [jira] Commented: (DERBY-525) getAsciiStreamshould
replace non-ASCII characters with 0x3f, '?' to match embedded
Tomohito Nakayama (JIRA) wrote:
[
http://issues.apache.org/jira/browse/DERBY-525?page=comments#action_12331017
]
Tomohito Nakayama commented on DERBY-525:
-----------------------------------------
I surveyed where to add test and found next test program .
I think this program is good place to add test for this issue .
./functionTests/tests/jdbcapi/resultsetStream.java
Maybe you already noticed, this test seems to be currently excluded
and wont run against the network server.
(.../functionTests/suites/DerbyNetClient.exclude ).
I am not sure why it doesnt run against the server as yet but
suspect maybe it is because of lob materialization issues If you
plan to enable this test to run against server, that sounds good.
Thanks,
Sunitha.