File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Object Relational Mapping and the fly likes JPA and alternative databases (i.e. NoSQL) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "JPA and alternative databases (i.e. NoSQL)" Watch "JPA and alternative databases (i.e. NoSQL)" New topic
Author

JPA and alternative databases (i.e. NoSQL)

andrew ennamorato
Ranch Hand

Joined: Oct 03, 2007
Posts: 100
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

Joined: Apr 14, 2004
Posts: 10336

An ORM to NoSQL databases? NoSQL databases are not relational so you don't need an ORM.


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
Joe Harry
Ranch Hand

Joined: Sep 26, 2006
Posts: 9351
    
    2

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.


SCJP 1.4, SCWCD 1.4 - Hints for you, Certified Scrum Master
Did a rm -R / to find out that I lost my entire Linux installation!
Joe Harry
Ranch Hand

Joined: Sep 26, 2006
Posts: 9351
    
    2

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

Joined: Apr 14, 2004
Posts: 10336

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

Joined: Oct 03, 2007
Posts: 100
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.
 
Don't get me started about those stupid light bulbs.
 
subject: JPA and alternative databases (i.e. NoSQL)