03 2016 档案

摘要:在没有容器支持的环境下,JPA的实体类(Entity)一般要在persistence.xml中逐个注册,类似下面这样: 1 <?xml version="1.0" encoding="UTF-8"?> 2 <persistence version="2.1" xmlns="http://xmlns. 阅读全文
posted @ 2016-03-09 09:37 gems 阅读(914) 评论(0) 推荐(1) 编辑