199200201202203204205206207208209
while(rows2.hasNext()){ System.out.println(rows2.next()); } rows2.close(); //md.dump(); md.commit(); md.close(); } public void addVisits(List<Visit> visited){
256257258259260261262263264265266
while(rows2.hasNext()){ System.out.println(rows2.next()); } rows2.close(); //md.dump(); md.commit(); md.close(); } public List<Visit> getVisits(Person person, List<Visit> visited){
125126127128129130131132133134135
while(rows2.hasNext()){ System.out.println(rows2.next()); } rows2.close(); md.dump(); md.commit(); md.close(); } //TODO: create query for this operation /**