Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JPA and alternative databases (i.e. NoSQL)

 
andrew ennamorato
Ranch Hand
Posts: 100
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
With Grails + GORM, there are some interesting plugins and work being done to connect Grails/GORM to NoSQL databases.

Do you see anything like this happening in the future w/ JPA? I know so many of the NoSQL DBs are different and each have their own way of doing things, but it seems like at some point more and more people are going to be interested in this avenue and it would be cool to see a generic ORM that handles a few different options?

Or maybe I'm just way out in left field.
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
An ORM to NoSQL databases? NoSQL databases are not relational so you don't need an ORM.
 
Joe Harry
Ranch Hand
Posts: 10106
3
Eclipse IDE Mac PPC Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is something new for me. Interesting to know about NoSQL. Can you please give me some pointers to any of the NoSQL DB implementations? I googled it and came across Hadoop and just trying my hands on it.
 
Joe Harry
Ranch Hand
Posts: 10106
3
Eclipse IDE Mac PPC Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Paul Sturrock wrote:An ORM to NoSQL databases? NoSQL databases are not relational so you don't need an ORM.


Then why "With Grails + GORM, there are some interesting plugins and work being done to connect Grails/GORM to NoSQL databases."
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Jothi Shankar Kumar wrote:
Paul Sturrock wrote:An ORM to NoSQL databases? NoSQL databases are not relational so you don't need an ORM.


Then why "With Grails + GORM, there are some interesting plugins and work being done to connect Grails/GORM to NoSQL databases."


No idea. NoSQL databases are a catch all term for newer non-relational data stores. They are non-relational, hence don't need an ORM layer.
 
andrew ennamorato
Ranch Hand
Posts: 100
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Paul,

Errr...yeah, I stand corrected. Hey, it was late and I needed a question to post for the drawing.

However, maybe it's just the convention over configuration approach of Grails, but it does seem nifty if you were able to created objects that are based on non-relational data stores through some sort of "persistence layer" (maybe that's a better term for this question). i.e. the fields of an object are another document in the data store, but the details (keys? views?) are hidden.

Then again, as I said in the original post, maybe I'm way out in left field...

Jothi, check out the IBM Developer works article on CouchDB (google for it), or just head over to dzone.com and look for "NoSQL" - should be lots of articles/tutorials popping up all over the place.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic