Examples of DaoTipoUsuario


Examples of labsis.usuario.dao.DaoTipoUsuario

  // metodos usados para formularios

  public List<TipoUsuario> getTipoUsuarios() {
    List<TipoUsuario> l = new ArrayList<TipoUsuario>();
    DaoTipoUsuario dt = null;
    try {
      dt = new DaoTipoUsuario();
      for (Object o : dt.retrieve()) {
        TipoUsuario tu = (TipoUsuario) o;
        l.add(tu);
      }
    } catch (SQLException e) {
      e.printStackTrace();
    } catch (ClassNotFoundException e) {
      e.printStackTrace();
    } finally {
      try {
        dt.close();
      } catch (SQLException e) {
        e.printStackTrace();
      } catch (Exception e) {
        e.printStackTrace();
      }
View Full Code Here
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.