Example #1
0
 public static void insertTest() {
   Businesselements e = new Businesselements();
   e.setName("test");
   e.setIsRequired(false);
   ElementsMgrImpl impl = new ElementsMgrImpl();
   impl.insertElements(e);
 }
Example #2
0
  public static void queryAll() {
    ElementsMgrImpl impl = new ElementsMgrImpl();
    List l = impl.queryAll();
    Iterator i = l.iterator();
    while (i.hasNext()) {
      Businesselements b = (Businesselements) i.next();
      System.out.println(b.getId() + " " + b.getName() + " " + b.getIsRequired());
    }
    //		return impl.queryAll();

  }