如何在persistence.xml中指定JPA 2.1版本?

13 浏览
0 Comments

如何在persistence.xml中指定JPA 2.1版本?

在互联网上进行快速搜索会发现有三到四种方式来指定`persistence.xml`中的`xmlns`和`xsi:schemaLocation`。那么,指定JPA版本2.1的“正确”方式是什么呢?我正在使用以下方式:

0