try {
Statement stmt = executeStmt(
nodeReferenceSelectSQL, new Object[]{targetId.toString()});
rs = stmt.getResultSet();
if (!rs.next()) {
throw new NoSuchItemStateException(targetId.toString());
}
in = rs.getBinaryStream(1);
NodeReferences refs = new NodeReferences(targetId);
Serializer.deserialize(refs, in);