2013年11月4日星期一

spring + Jpa (hibernate) integration initialization configuration file does not generate the mapping file corresponding database

@ Test
public void save () {
new ClassPathXmlApplicationContext ("beans.xml");
}

I was through unit tests to initialize the
------ Solution ------------------------ --------------------
libraries to create their own , the table will be generated automatically .
------ For reference only -------------------------------------- -
good thank

没有评论:

发表评论