Re: Expert's, Answer me.
Posted by: William Anthony
Date: May 27, 2008 03:34AM

When you execute the query, SQLException is thrown.
try {
    ....
} catch (SQLException e) {
    String sqlState = e.getSQLState();
}

If sqlState is 08S01, then something wrong with your connection.

Options: ReplyQuote


Subject
Written By
Posted
Re: Expert's, Answer me.
May 27, 2008 03:34AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.