public static void main(String[] args) throws Exception { ProgressMonitor.setConsoleMode(true); DaoSampleList daoSampleList = new DaoSampleList(); ArrayList<SampleList> sampleListMaster = daoSampleList.getAllSampleLists(); for (SampleList sampleList : sampleListMaster) { System.out.println( sampleList.getSampleListId() + ": " + sampleList.getStableId() + ": " + sampleList.getName()); } }