public int Obtener_Secuencia() {
        try {
            int id1 = 0;
            String sql = "select count(*) from mamas";
            ResultSet rs;
            if ((rs = conn.consultar(sql)).next()) {
                id1 = Integer.parseInt(rs.getString(1));
            }
            return id1;
        } catch (SQLException ex) {
            System.out.println("ex = " + ex.getMessage());
        }
        return 0;
    }