BigInteger lastMessageNr = seq.getLastMessageNumber();
updateDestSequenceStmt.setBigDecimal(1, lastMessageNr == null ? null
: new BigDecimal(lastMessageNr));
InputStream is = PersistenceUtils.getInstance()
.serialiseAcknowledgment(seq.getAcknowledgment());
updateDestSequenceStmt.setBinaryStream(2, is, is.available());
updateDestSequenceStmt.setString(3, seq.getIdentifier() .getValue());
updateDestSequenceStmt.execute();
}
protected void createTables() throws SQLException {