开发者

Is Morphia based on Java driver for MongoDb and can it work if domain model is scala?

Is it based on mongoDb java driver ?

Can I use it when the domain model is scala program in version 1.2.2RC1+ of play framework?

Please note that questions that may have been answered before may not be relevant to play framework v开发者_JAVA技巧ersion 1.2.2RC1+.


If you are looking for a high level Java client for MongoDB, Give Kundera (https://github.com/impetus-opensource/Kundera) a try. It’s a JPA based client library for Cassandra, Hbase and MongoDB. There is a pretty good example here: https://github.com/impetus-opensource/Kundera/wiki/Getting-started


Morphia does run on top of/uses the mongodb java driver. All java ORM solutions do. I don't see why it would be a problem to run it in Scala. I have no experience with the "play framework".

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜