Hi Pierre,
with correction like that :
Statement s = con.createStatement();
try {
s.execute(this.connectionTestStatement);
} finally {
try {
s.close();
} catch (SQLException e) {
logger.warn("Error on statement closure ",e);
}
}
You should check if s == null before trying to close otherwise it will
throw an NPE.
Some drivers return null on createStatement without throwing an exception.
Maybe this need a JIRA entry ?
Yes, I think it should.
Thanks for your feedback,
Emmanuel
_______________________________________________
Sequoia mailing list
[email protected]
https://forge.continuent.org/mailman/listinfo/sequoia