System.out.println("Converting zone " + zone.getSOA().getName().toString() + "...");
dbZones.add(new DBZone(zone,false));
}
DataSource dataSource = new SimpleDataSource(driver, url, username, password);
SimpleAnnotatedDAOFactory annotatedDAOFactory = new SimpleAnnotatedDAOFactory();
AnnotatedDAO<DBZone> zoneDAO = new AnnotatedDAO<DBZone>(dataSource,DBZone.class, annotatedDAOFactory);
AnnotatedDAO<DBRecord> recordDAO = new AnnotatedDAO<DBRecord>(dataSource,DBRecord.class, annotatedDAOFactory);