Package com.zesped.idl

Source Code of com.zesped.idl.CityWriter

package com.zesped.idl;

import com.zesped.DAO;

import es.ipsa.atril.sec.authentication.AtrilSession;

public class CityWriter {

    public static void main(String[] args) throws Exception {
      ModelManager oMan = new ModelManager();
      DAO oDao = new DAO();   
      oDao.init(oMan.getConnectionProperties());
      AtrilSession oSes = DAO.getAdminSession("CityWriter");
      oSes.autoCommit(true);
      oMan.writeCities(oSes, "es");
      oSes.disconnect();
      oSes.close();
      oDao.destroy();
      }
}
TOP

Related Classes of com.zesped.idl.CityWriter

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.