
JPA
哈哈和呵呵
这个作者很懒,什么都没留下…
展开
-
A different object with the same identifier value was already
A different object with the same identifier value was already https://www.jianshu.com/p/7925ae1edab6原创 2020-06-25 10:53:37 · 1318 阅读 · 0 评论 -
使用eclipse的JPA Tools根据数据库表自动创建实体
1.在eclipse里面创建数据库连接 window —> show view —> Data Source Explorer —> OK,如果找不到Data Source Explorer,在other里面搜索other就可以看到. Database Connections右键-->new-->MySQL-->next-->添加数据库驱动-->然后填写相应的数据库名称,host(如果本地数据库就localhost,远程的话就写远程ip),port num转载 2020-05-31 22:58:38 · 421 阅读 · 0 评论