QueryDSL: All content tagged as QueryDSL in NoSQL databases and polyglot persistence
Tuesday, 27 September 2011
MongoDB Type Safe Queries With QueryDSL and Spring
Short intro to using Spring and QueryDSL for getting type-safe MongoDB queries:
The way QueryDSL works is by generating query classes based upon your persistence domain model. QueryDSL has a simple maven plugin that scans for appropriate annotations and generates the query classes for you.
If you’re looking for MongoDB query DSLs, take a look at Foursquare’s Rogue: a Scala-based query DSL and how to create a Clojure query DSL.
Original title and link: MongoDB Type Safe Queries With QueryDSL and Spring (©myNoSQL)
via: http://cjharris5.blogspot.com/2011/09/spring-mongodb-type-safe-queries.html