** 要使本demo 可以在mysql 中运行起来
1. 修改 test/resources/META-INF/persistence.xml 中的
<property name="hibernate.connection.username" value="root" />
<property name="hibernate.connection.password" value="root" /> \
设为自己的mysql 的用户& 密码
2. 修改 test/BaseHumanTaskTest 中的
ds1.getDriverProperties().put("user", "root");
ds1.getDriverProperties().put("password", "root");
设为自己的mysql 的用户& 密码
评论9
最新资源