摘要: 第一种方式:Hibernate中利用工具类自动生成数据库表1.建好POJO object, XML Mapping File,配置文件(hibernate.cfg.xml).2.编写工具类import org.hibernate.cfg.Configuration; import org.hibernate.tool.hbm2ddl.SchemaExport; public class Expor... 阅读全文
posted @ 2010-12-01 11:58 V仔 阅读(1805) 评论(0) 推荐(1)