MySQL Forums
Forum List  »  Connector/JDBC and Java

createStatement() returning null?
Posted by: Laird Nelson
Date: October 07, 2009 07:04AM

I am seeing something mysterious in my server logs.

There is an assertion failure in some Java code that is testing whether the Statement returned from connection.prepareStatement() is non-null.

This implies that connection.prepareStatement() is returning null. This is in violation of the JDBC specification.

Is this a known bug?

Thanks,
Laird

Options: ReplyQuote


Subject
Written By
Posted
createStatement() returning null?
October 07, 2009 07:04AM


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.