### Question:
UCSDAnomalyDAO extends DatasetsDAO { public static UCSDAnomaly selectSingle(int id, int tifid) { Object[] params = new Object[] { id, tifid }; String SELECT_SINGLE = "SELECT * FROM UCSD_ANONMALIES WHERE id = ? and tifid = ?"; return Yank.queryBean(SELECT_SINGLE, UCSDAnomaly.class, params); }  static void init(String dataFilesDir); static int dropTable(); static int createTable(); static int getTrainTestSplit(); static int insert(UCSDAnomaly uCSDAnomaly); static UCSDAnomaly selectSingle(int id, int tifid); static List<UCSDAnomaly> selectClip(int id); static long selectCount();  }### Answer:
@Test public void test() { UCSDAnomaly uCSDAnomaly = UCSDAnomalyDAO.selectSingle(3, 3); InputStream bytes; try { bytes = uCSDAnomaly.getTifbytes().getBinaryStream(); System.out.println(); BufferedImage bufferedImage = ImageIO.read(bytes); System.out.println( "image size=" + bufferedImage.getHeight() + "x" + bufferedImage.getWidth()); } catch (Exception e) { e.printStackTrace(); } }