class JDBCConnection implements ObjectStoreConnection {

    @Override
    public Domain getDomain(String domainName) {
        
        final String caller = "getDomain";
        try (PreparedStatement ps = con.prepareStatement(SQL_GET_DOMAIN)) {
            ps.setString(1, domainName);
            try (ResultSet rs = executeQuery(ps, caller)) {
                if (rs.next()) {
                    return saveDomainSettings(domainName, rs);
                }
            }
        } catch (SQLException ex) {
            throw sqlError(ex, caller);
        }
        return null;
    }

    public  JDBCConnection(Connection con, boolean autoCommit);

}