hibernate 动态配置表 hibernate动态配置表 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 首先配置<property name="hibernate.hbm2ddl.auto">create</property>自己写一个main或者其他测试类 加入如下代码。okConfiguration conf=new Configuration(); conf.configure("/hibernate.cfg.xml"); SchemaExport dbExport=new SchemaExport(conf); dbExport.create(true, true); 如果我没理解错,你是要用hibernate映射动态表名吗?这个不难继承DefaultNamingStrategy实现classToTableName struts 中action问题 hibernate问题 急! Hibernate Annotation级联插入的问题 struts 中使用tree出了 [b]IE无法打开站点……已终止操作![/b] java 题 !!!!! Struts2分页显示数据 请问tomcat如何设置www.xxx.com/test 这样的域名? struts 中参数的传递问题 Struts的下拉框问题 跪求weblogic8方面的中文教程(电子版) Jsp网页求助。List list=new ArrayList();中有警告。怎么去除? Tomcat报错救助
自己写一个main或者其他测试类 加入如下代码。ok
Configuration conf=new Configuration();
conf.configure("/hibernate.cfg.xml");
SchemaExport dbExport=new SchemaExport(conf);
dbExport.create(true, true);