Hibernate Should be to Programmers what Cake Mixes are to Bakers – Cake mixes consist of a mix of things you already have in your cupboard plus a load of unnecessary, potentially harmful preservatives. They cost more than making cake from scratch, the resulting cake tastes worse, they take away people’s confidence in their ability to make their own cakes, and they don’t even save you any time. Hibernate has the same misperceived benefits and the same draw-backs. Gordon Ramsay wouldn’t be caught dead using any cake mix. As professional programmers, we should be more skeptical of generic frameworks like Hibernate.
dzone.com – Using MongoDB with Morphia – Morphia is a Java library which acts sort of like an ORM for MongoDB – it allows us to seamlessly map Java objects to the MongoDB datastore. It uses annotations to indicate which collection a class is stored in, and even supports polymorphic collections