= "SELECT Xpdl FROM process WHERE DBId = ? ";
prepStmt = con.prepareStatement(selectStatement);
prepStmt.setLong(1, ((Long)ctx.getPrimaryKey()).longValue());
rs = prepStmt.executeQuery();
if (!rs.next()) {
throw new NoSuchEntityException
("No process with DBId = " + ctx.getPrimaryKey());
}
return JDBCUtil.getString(ds, rs, 1);
} catch (IOException e) {
throw new EJBException (e);