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 "Knut Anders Hatlen (JIRA)" <ji...@apache.org> on 2011/03/09 13:52:59 UTC

[jira] Updated: (DERBY-5117) ParameterMetaDataJdbc30Test fails with "'DUMMYINT' is not recognized as a function or procedure"

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

Knut Anders Hatlen updated DERBY-5117:
--------------------------------------

    Attachment: derby-5117-1a.diff

The attached patch makes testCallableStatement drop the procedure when it's done, and testMetatdataAfterProcRecompile create the procedure as its first step and drop it when it's done.

> ParameterMetaDataJdbc30Test fails with "'DUMMYINT' is not recognized as a function or procedure"
> ------------------------------------------------------------------------------------------------
>
>                 Key: DERBY-5117
>                 URL: https://issues.apache.org/jira/browse/DERBY-5117
>             Project: Derby
>          Issue Type: Bug
>          Components: Test
>    Affects Versions: 10.8.0.0
>            Reporter: Knut Anders Hatlen
>         Attachments: derby-5117-1a.diff
>
>
> ParameterMetaDataJdbc30Test has failed a couple of times in the nightly tests on Java 7.
> http://dbtg.foundry.sun.com/derby/test/Daily/jvm1.7/testing/testlog/lin/1078310-suitesAll_diff.txt
> 1) testMetatdataAfterProcRecompile(org.apache.derbyTesting.functionTests.tests.jdbcapi.ParameterMetaDataJdbc30Test)java.sql.SQLSyntaxErrorException: 'DUMMYINT' is not recognized as a function or procedure.
> 	at org.apache.derby.impl.jdbc.SQLExceptionFactory40.getSQLException(Unknown Source)
> 	at org.apache.derby.impl.jdbc.Util.generateCsSQLException(Unknown Source)
> 	at org.apache.derby.impl.jdbc.TransactionResourceImpl.wrapInSQLException(Unknown Source)
> 	at org.apache.derby.impl.jdbc.TransactionResourceImpl.handleException(Unknown Source)
> 	at org.apache.derby.impl.jdbc.EmbedConnection.handleException(Unknown Source)
> 	at org.apache.derby.impl.jdbc.ConnectionChild.handleException(Unknown Source)
> 	at org.apache.derby.impl.jdbc.EmbedPreparedStatement.<init>(Unknown Source)
> 	at org.apache.derby.impl.jdbc.EmbedCallableStatement.<init>(Unknown Source)
> 	at org.apache.derby.impl.jdbc.EmbedCallableStatement20.<init>(Unknown Source)
> 	at org.apache.derby.impl.jdbc.EmbedCallableStatement30.<init>(Unknown Source)
> 	at org.apache.derby.impl.jdbc.EmbedCallableStatement40.<init>(Unknown Source)
> 	at org.apache.derby.jdbc.Driver40.newEmbedCallableStatement(Unknown Source)
> 	at org.apache.derby.impl.jdbc.EmbedConnection.prepareCall(Unknown Source)
> 	at org.apache.derby.impl.jdbc.EmbedConnection.prepareCall(Unknown Source)
> 	at org.apache.derbyTesting.junit.BaseJDBCTestCase.prepareCall(BaseJDBCTestCase.java:317)
> 	at org.apache.derbyTesting.functionTests.tests.jdbcapi.ParameterMetaDataJdbc30Test.testMetatdataAfterProcRecompile(ParameterMetaDataJdbc30Test.java:524)

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira