随笔-124  评论-49  文章-56  trackbacks-0
import org.hibernate.cfg.Configuration;
import org.hibernate.tool.hbm2ddl.SchemaExport;


public class Test {

    
/**
     * 
@param args
     
*/

    
public static void main(String[] args) {
        Configuration cfg
=new Configuration().configure();
        SchemaExport export
=new SchemaExport(cfg);
        export.create(
truetrue);
    }


}

posted on 2009-11-03 17:57 junly 阅读(228) 评论(0)  编辑  收藏 所属分类: hibernate/orm

只有注册用户登录后才能发表评论。


网站导航: