class JDBCConnection implements ObjectStoreConnection {

    @Override
    public DomainMetaList listModifiedDomains(long modifiedSince) {
        
        final String caller = "listModifiedDomains";

        DomainMetaList domainModifiedList = new DomainMetaList();
        List<Domain> nameMods = new ArrayList<>();

        try (PreparedStatement ps = prepareDomainScanStatement(null, modifiedSince)) {
            try (ResultSet rs = executeQuery(ps, caller)) {
                while (rs.next()) {
                    final String domainName = rs.getString(ZMSConsts.DB_COLUMN_NAME);
                    nameMods.add(saveDomainSettings(domainName, rs));
                }
            }
        } catch (SQLException ex) {
            throw sqlError(ex, caller);
        }
    
        domainModifiedList.setDomains(nameMods);
        return domainModifiedList;
    }

    public  JDBCConnection(Connection con, boolean autoCommit);

}