java.sql.Connection interface: JDBC 4.0 features Connection interface LOB creation Validity tracking

JDBC 4.0 adds new capabilities to Connections:

  • LOB creation - New methods, createBlob() and createClob() let you create empty Blobs and Clobs, which you can then fill up before stuffing into a column.
  • Validity tracking - The isValid method tells you whether your Connection is still alive.