all groups > vj# > march 2004 >
You're in the

vj#

group:

Problem with Jdbc


Problem with Jdbc Ulf Werner
3/12/2004 1:36:07 AM
vj#:
Hi,

I have migrated a large application from J++ to J# which makes extensive use of Jdbc classes for database access. My code works fine in J++ but in J# the process hangs in the Jdbc classes and NEVER returns. The hangs occur seemingly random but mostly in different close statements. I have tried to remove my explicit close statements and the situation improved but now I experience hangs in for instance PrepareStatement calls.

Has anyone used Jdbc in J# and seen this (or not seen this)?
Re: Problem with Jdbc Lars-Inge Tønnessen
3/12/2004 4:04:01 PM
Which JDBC driver and database?
(The "com.ms.jdbc.odbc.JdbcOdbcDriver" is supported.)

Class.forName("com.ms.jdbc.odbc.JdbcOdbcDriver");

Or did you try to comvert the JDBC driver fra a jar file into .net with the
jbimp tool?


You are not alone... =:o)
( http://www.jroller.com/comments/kenlars99/Weblog/j_and_jdbc )


Does it involve a huge job to convert it into ADO.Net?



Lars-Inge Tønnessen
www.larsinge.com

AddThis Social Bookmark Button