Package org.nutz.dao.impl.ext

Examples of org.nutz.dao.impl.ext.LazyNutDao.fetch()


   
    @Test
    public void test_lazy_toJson() {
      LazyNutDao dao = new LazyNutDao(ioc.get(DataSource.class));
      dao.setCycle(false);
      Base base = dao.fetch(Base.class);
      System.out.println("================"+Json.toJson(base));
    }
}
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.