当前位置:编程学习 > JAVA >>

hibernate save 方法 ,放到run里面

就是说,threa有run方法,public void run() {

Timingcopy timingcopy = new Timingcopy();
if (null == timingcopy.getId()) {
timingcopy.setId(1);
}
timingcopy.setPhoneT("11");

this.timingcopyService.save(timingcopy);
--------------------编程问答-------------------- 怎么不行没发sava --------------------编程问答-------------------- 启动线程了没啊,多用用system.out.println(""); 输出点信息看看,调试调试一下
补充:Java ,  Java SE
CopyRight © 2022 站长资源库 编程知识问答 zzzyk.com All Rights Reserved
部分文章来自网络,