[ 
https://issues.apache.org/jira/browse/DERBY-2427?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12480505
 ] 

Daniel John Debrunner commented on DERBY-2427:
----------------------------------------------

These procedures just for use by the network server and client, right?

So there's no requirement to test them on J2ME since the client and server are 
not supported there.

So would a simpler approch just be not running these tests?

The patch worries me a little because private methods that fetched connections 
specific to that class have now been moved into
a public method, meaning anyone can call it.

> jdbcapi/BlobStoredProcedureTest and jdbcapi/ClobStoredProcedureTest fail with 
> weme6.1
> -------------------------------------------------------------------------------------
>
>                 Key: DERBY-2427
>                 URL: https://issues.apache.org/jira/browse/DERBY-2427
>             Project: Derby
>          Issue Type: Test
>          Components: Test
>    Affects Versions: 10.3.0.0
>            Reporter: A B
>         Assigned To: V.Narayanan
>            Priority: Minor
>         Attachments: FailureWithweme6_1_v1.diff, FailureWithweme6_1_v1.stat, 
> FailureWithweme6_1_v2.diff, FailureWithweme6_1_v2.stat
>
>
> BlobStoredProcedureTest and ClobStoredProcedureTest, introduced as part of 
> DERBY-2257, are failing when run with weme6.1.  The traces are all similar to 
> the following:
> 5) 
> testBlobGetBytesSP(org.apache.derbyTesting.functionTests.tests.jdbcapi.BlobStoredProcedureTest)ERROR
>  38000: The exception 'java.lang.NoClassDefFoundError: 
> java.sql.DriverManager' was thrown while evaluating an expression.
>       at org.apache.derby.iapi.error.StandardException.newException(Unknown 
> Source)
>       at 
> org.apache.derby.iapi.error.StandardException.unexpectedUserException(Unknown 
> Source)
>       at org.apache.derby.impl.services.reflect.DirectCall.invoke(Unknown 
> Source)
>       at 
> org.apache.derby.impl.sql.execute.RowResultSet.getNextRowCore(Unknown Source)
>       at 
> org.apache.derby.impl.sql.execute.BasicNoPutResultSetImpl.getNextRow(Unknown 
> Source)
>       at org.apache.derby.impl.jdbc.EmbedResultSet.movePosition(Unknown 
> Source)
>       at org.apache.derby.impl.jdbc.EmbedResultSet.next(Unknown Source)
>       at 
> org.apache.derby.impl.jdbc.EmbedCallableStatement.executeStatement(Unknown 
> Source)
>       at 
> org.apache.derby.impl.jdbc.EmbedPreparedStatement.executeUpdate(Unknown 
> Source)
>       at 
> org.apache.derbyTesting.functionTests.tests.jdbcapi.BlobStoredProcedureTest.setUp(BlobStoredProcedureTest.java:80)
>       at 
> org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:80)
>       at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
>       at junit.extensions.TestSetup$1.protect(TestSetup.java:19)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to