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:39:59 UTC
[jira] Created: (DERBY-5117) ParameterMetaDataJdbc30Test fails with
"'DUMMYINT' is not recognized as a function or 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
[jira] Updated: (DERBY-5117) ParameterMetaDataJdbc30Test fails with
"'DUMMYINT' is not recognized as a function or procedure"
Posted by "Knut Anders Hatlen (JIRA)" <ji...@apache.org>.
[ 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
[jira] Resolved: (DERBY-5117) ParameterMetaDataJdbc30Test fails
with "'DUMMYINT' is not recognized as a function or procedure"
Posted by "Knut Anders Hatlen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DERBY-5117?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Knut Anders Hatlen resolved DERBY-5117.
---------------------------------------
Resolution: Fixed
Fix Version/s: 10.8.0.0
Assignee: Knut Anders Hatlen
Committed revision 1079779.
> 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
> Assignee: Knut Anders Hatlen
> Fix For: 10.8.0.0
>
> 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
[jira] Commented: (DERBY-5117) ParameterMetaDataJdbc30Test fails
with "'DUMMYINT' is not recognized as a function or procedure"
Posted by "Knut Anders Hatlen (JIRA)" <ji...@apache.org>.
[ 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