db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Knut Anders Hatlen (JIRA)" <j...@apache.org>
Subject [jira] Commented: (DERBY-5117) ParameterMetaDataJdbc30Test fails with "'DUMMYINT' is not recognized as a function or procedure"
Date Wed, 09 Mar 2011 12:44:01 GMT

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

Knut Anders Hatlen commented on DERBY-5117:
-------------------------------------------

The procedure DUMMYINT is

  - created by testCallableStatement, but not dropped

  - called, dropped and created by testMetatdataAfterProcRecompile

If testMetatdataAfterProcRecompile runs before testCallableStatement, it fails because it
cannot find the DUMMYINT procedure.

> 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
>
> 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

Mime
View raw message