开发者

What the difference between providers DATANUCLEUS and DATANUCLEUS_2 in Spring Roo?

开发者 https://www.devze.com 2023-02-16 21:56 出处:网络
Can anyone tell me the difference between theses two commands? 开发者_如何学编程 persistence setup --provider DATANUCLEUS --database H2_IN_MEMORY

Can anyone tell me the difference between theses two commands?

开发者_如何学编程

persistence setup --provider DATANUCLEUS --database H2_IN_MEMORY

persistence setup --provider DATANUCLEUS_2 --database H2_IN_MEMORY

What's dnucleus_2??

Thank you


Have a look at this part of the Roo Reference Documentation:

http://static.springsource.org/spring-roo/reference/html/base-persistence.html

The relevant part of the page notes that ...

Version 1 does not support JPA 2 and should only be used if you are intending to deploy to Google App Engine. Version 2 should be used if you are intending to deploy to VMforce cloud environments.

So, for AppEngine use DATANUCLEUS, and for anything that uses JPA 2 (including VMForce) use DATANUCLEUS_2.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号