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

V.Narayanan updated DERBY-2427:
-------------------------------

    Attachment: FailureWithweme6_1_v2.stat
                FailureWithweme6_1_v2.diff

Hi,

There was a problem in my test environment yesterday as a result of which there 
were failures in derbyall. I switched to my regular machine and things ran 
fine. I however took the opportunity to do a minor fix

Earlier I was returning a EmbedConnection from the method in the Util class. I 
changed this to return a Connection object. This avoided the casting to an 
EmbedConnection in Util and a recast back to Connection in SystemProcedure. 

Thank you for running this test with weme6.1 and giving the test output. Since 
this patch is along the same lines I expect this to pass.

I request for this patch to be considered for reviews and comments.

----------------------------------------------------------------------------------------------------------------

Details Tests I ran for new patch
--------------------------------------------

derbyall suite - (All except  Upgrade_10_1_10_3 passed. This failure was due to 
jars not bein found. I corrected this and the test passed.)

I had run the junit test yesterday and everything had passed. Since the changes 
today were only minor. I ran the following to confirm

jdbcapi/BlobStoredProcedureTest
jdbcapi/ClobStoredProcedureTest
jdbc4/TestDbMetaData

All of them passed.

Narayanan

> 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