[ http://issues.apache.org/jira/browse/DERBY-842?page=comments#action_12374607 ]
Dyre Tjeldvoll commented on DERBY-842: -------------------------------------- It looks like revision 393967 breaks a number of tests in the jdbc4 suite. Anurag Shekar writes: All wrapper tests are failing because of a change in SQLState for failing to unwrap. (from XJ120 to XJ128). org.apache.derbyTesting.functionTests.util.SQLStateConstants.java still have the XJ120 for this state. anurag [EMAIL PROTECTED] wrote: > When I try to run TestDbMetaData.java on a clean trunk (compile and > run with b80) I get: > > java.sql.SQLException: Unable to unwrap for 'interface > java.sql.PreparedStatement' > at > org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(SQLExceptionFactory.java:44) > at > org.apache.derby.impl.jdbc.SQLExceptionFactory40.wrapArgsForTransportAcrossDRDA(SQLExceptionFactory40.java:136) > at > org.apache.derby.impl.jdbc.SQLExceptionFactory40.getSQLException(SQLExceptionFactory40.java:71) > at org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Util.java:87) > at org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Util.java:93) > at > org.apache.derby.impl.jdbc.Util.generateCsSQLException(Util.java:172) > at > org.apache.derby.impl.jdbc.EmbedConnection.newSQLException(EmbedConnection.java:1939) > at > org.apache.derby.impl.jdbc.ConnectionChild.newSQLException(ConnectionChild.java:150) > at > org.apache.derby.impl.jdbc.EmbedDatabaseMetaData40.unwrap(EmbedDatabaseMetaData40.java:113) > at > org.apache.derbyTesting.functionTests.tests.jdbc4.TestDbMetaData.t_wrapper(TestDbMetaData.java:377) > at > org.apache.derbyTesting.functionTests.tests.jdbc4.TestDbMetaData.testDatabaseMetaDataMethods(TestDbMetaData.java:173) > > Can anyone shed some light on this? This is a bit of a problem since the primary test suite for the jdbc4 work is now broken. > Internationalize messages in PreparedStatement to Section in > org.apache.derby.client.am > --------------------------------------------------------------------------------------- > > Key: DERBY-842 > URL: http://issues.apache.org/jira/browse/DERBY-842 > Project: Derby > Type: Sub-task > Components: Network Client > Reporter: David Van Couvering > Assignee: David Van Couvering > -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
