MuleESB AnyPointStudio JPA 实现

MuleESB AnyPointStudio JPA implementation

我正在使用 CE Mule Server 3.5.0 和 AnyPoint Studio IDE。

我就是找不到用 EntityManager 实现 JPA 的方法;老实说,没有关于如何做到这一点的教程或解释,如何将 DS 放入 MuleServer 或使用 DBconnector 作为 DS...只是不知道...

我可以猜到我的 persistence.xml 进入了我项目的 src/main/resource,但也不确定。

任何人都可以指出正确的方向吗?

感谢4合作社!

你见过下面的例子吗?:

http://java.dzone.com/articles/getting-started-jpa-and-mule

Mule in Action 书附录 D 中提供了很好的示例。

此处提供代码:

https://github.com/ddossot/mule-in-action-2e/tree/master/appendixD