Package org.nutz.dao

Examples of org.nutz.dao.Dao.create()


 
  public void init(NutConfig config) {
    Dao dao = config.getIoc().get(Dao.class);
    for (Class<?> klass : Scans.me().scanPackage("org.nutz.safe.bean")) {
      if (klass.getAnnotation(Table.class) != null)
        dao.create(klass, false);
    }
   
    //初始化Enc
    //--------------------------------------------------------------
   
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.