Hibernate5.X的SchemaExport的使用方法

xiaoxiao2021-02-28  15

public void exportTables() throws HibernateException { Configuration cfg = new Configuration() .addClass(Blog.class) .addClass(BlogItem.class); new SchemaExport(cfg).create(true, true); }
转载请注明原文地址: https://www.6miu.com/read-2450194.html

最新回复(0)