tlaukkan / vaadin-lazyquerycontainer

Lazy Query Container is a lazy loading container implementation for accessing data from business services.
http://vaadin.com/directory#addon/117
39 stars 73 forks source link

MongoDB/Morphia Support? #73

Closed gpedro closed 8 years ago

gpedro commented 9 years ago

is possible add support to the MongoDB / Morphia?

tlaukkan commented 9 years ago

Hi

Thank you for bringing up interesting topic.

I have not had the privilege to work with either MongoDb or Morphia but I can see two ways of implementing support for them.

1) If they have extensive enough support for JPA then it would be simply matter of configuring JPA and using EntityContainer class of LazyQueryContainer out of box. 2) Another option would be to write custom EntityQueryFactory and EntityQuery.

Should the JPA support be lacking I am happy to review and accept pull requests related to MongoDb and other NoSQL databases. Please note that it is easier and faster for me to handle pull requests if they contain single topic per pull request and no changes outside that scope.

Best regards, Tommi