• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Transparent OR mapping?

 
Mani Venkatesan
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have been doing some persistence coding where all I needed to do was take a value object and put it in the database. I am wondering if it would be useful to have some kind of transparent mapping tool.

Such a tool would just take my javabean-like object and persist it in the DB. Of course, there needs to be a way to figure out the DB Schema from the javabean structure.
 
Scott Ambler
author
Ranch Hand
Posts: 608
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you considered Prevayler?

- Scott
 
Sonny Gill
Ranch Hand
Posts: 1211
IntelliJ IDE Mac
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
prevayler seems like something really interesting.

And there's an article on developerworks too -


http://www-106.ibm.com/developerworks/web/library/wa-objprev/index.html
 
Mani Venkatesan
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Prevayler sure looks interesting!

However, I was thinking of a tool that could persist simple java bean like objects to an RDBMS without requiring any client code for it. No need to buy an expensive app server and no coding up a JDBC persistence layer and no writing declarative persistence files for hibernate etc.
 
Edward Kenworthy
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Mani Venkatesan:
Prevayler sure looks interesting!

However, I was thinking of a tool that could persist simple java bean like objects to an RDBMS without requiring any client code for it. No need to buy an expensive app server and no coding up a JDBC persistence layer and no writing declarative persistence files for hibernate etc.


That would be Hibernate.

I recommend "Hibernate in Action" by Gavin King from Manning. Or just go to hibernate.org and read the documenation.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic