class JDBCCertRecordStoreConnection implements CertRecordStoreConnection {

    @Override
    public List<X509CertRecord> updateUnrefreshedCertificatesNotificationTimestamp(String lastNotifiedServer,
                                                                      long lastNotifiedTime,
                                                                      String provider) {

        final String caller = "updateUnrefreshedCertificatesNotificationTimestamp";
        int affectedRows;
        try (PreparedStatement ps = con.prepareStatement(SQL_UPDATE_UNREFRESHED_X509_RECORDS_NOTIFICATION_TIMESTAMP)) {
            ps.setTimestamp(1, new java.sql.Timestamp(lastNotifiedTime));
            ps.setString(2, lastNotifiedServer);
            ps.setString(3, provider);

            affectedRows = executeUpdate(ps, caller);
        } catch (SQLException ex) {
            throw sqlError(ex, caller);
        }
        if (affectedRows > 0) {
            return getNotifyUnrefreshedCertificates(lastNotifiedServer, lastNotifiedTime);
        }

        return new ArrayList<>();
    }

    public  JDBCCertRecordStoreConnection(Connection con);

}