Topic
2 replies Latest Post - ‏2012-05-22T21:08:14Z by DGawron
aryan_raj
aryan_raj
67 Posts
ACCEPTED ANSWER

Pinned topic SQL Server: nvarchar to int

‏2012-05-18T09:42:14Z |
Hi All,

I am calling a stored procedure, SQL Server is the db, below is the error message in the logs, does WPF support nvarchar

java.sql.SQLException: IBMSQLServer JDBC DriverSQLServerError converting data type nvarchar to int.
at com.ibm.websphere.jdbc.base.BaseExceptions.createException(Unknown Source)
at com.ibm.websphere.jdbc.base.BaseExceptions.getException(Unknown Source)
at com.ibm.websphere.jdbc.sqlserver.tds.TDSRequest.processErrorToken(Unknown Source)
at com.ibm.websphere.jdbc.sqlserver.tds.TDSRequest.processReplyToken(Unknown Source)
at com.ibm.websphere.jdbc.sqlserver.tds.TDSRPCRequest.processReplyToken(Unknown Source)
at com.ibm.websphere.jdbc.sqlserver.tds.TDSRequest.processReply(Unknown Source)
at com.ibm.websphere.jdbc.sqlserver.SQLServerImplStatement.getNextResultType(Unknown Source)
at com.ibm.websphere.jdbc.base.BaseStatement.commonTransitionToState(Unknown Source)
at com.ibm.websphere.jdbc.base.BaseStatement.postImplExecute(Unknown Source)
at com.ibm.websphere.jdbc.base.BasePreparedStatement.postImplExecute(Unknown Source)
at com.ibm.websphere.jdbc.base.BaseStatement.commonExecute(Unknown Source)
Updated on 2012-05-22T21:08:14Z at 2012-05-22T21:08:14Z by DGawron
  • aryan_raj
    aryan_raj
    67 Posts
    ACCEPTED ANSWER

    Re: SQL Server: nvarchar to int

    ‏2012-05-18T09:45:04Z  in response to aryan_raj
    Forgot to mention the wpf version, I am using wpf 7.
  • DGawron
    DGawron
    76 Posts
    ACCEPTED ANSWER

    Re: SQL Server: nvarchar to int

    ‏2012-05-22T21:08:14Z  in response to aryan_raj
    What is the full stack trace?