Problems executing Stored Procedures via JDBC

  • We have ported an application from Oracle to SQL Server 2000 and are encountered a problem when calling a stored procedure from our java code. I have a cursor in a stored procedure where I am select from a staging table and doing an insert. If any exception is encountered the stored procedure stops execution all together. However, if I executed the same sp from isql it keeps processing the cursor until completion. This is the behavior I want. Any help is greatly appreciated. Thanks.

  • Hi,

    well I'n not very experienced in JAVA, but maybe you can post some code snippets. That will surely help!

    Cheers,

    Frank

    --
    Frank Kalis
    Microsoft SQL Server MVP
    Webmaster: http://www.insidesql.org/blogs
    My blog: http://www.insidesql.org/blogs/frankkalis/[/url]

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply