Informix JDBC problem

From: Kuang-Ming Kuo (kmkuo001_at_ms75.hinet.net)
Date: 04/21/04


Date: Wed, 21 Apr 2004 23:40:28 +0800

Hi there: I'm new to java and jdbc. How can I use informix's "SET LOCK MODE
TO WAIT" in java?
I've tried the following way:
------------------------------------------------------------------
..... some code here
Statement stmt = con.createStatement();
stmt.executeUpdate("SET LOCK MODE TO WAIT");
..... some code here
--------------------------------------------------------------------

Sometimes it works,but the other time it gets the following error message:
"Internal System error .....",
Any help is appreciated!

Kaung-Ming Kuo
kmkuo001@ms75.hinet.net