@Test public void testTXTs() { try { List<TXT> txts = dbDao.getTXTs("bcs.com"); for (TXT tx : txts) { assertNotNull(tx.gethostName()); System.out.println(tx.getinformation()); } db.close(); } catch (Exception ex) { System.err.println(ex.getMessage()); } }