Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

tool to generate sql ?

 
Edward Chen
Ranch Hand
Posts: 798
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do we have a tool to generate sql insert / update / delete ? for example, I give a POJO class name as an input, then it will output all CRUD sql to console ?

Thanks.
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 33694
316
Eclipse IDE Java VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Edward Chen wrote:Do we have a tool to generate sql insert / update / delete ? for example, I give a POJO class name as an input, then it will output all CRUD sql to console ?

Thanks.

Or you could use an ORM library like Hibernate and eliminate the need to write so much SQL by yourself.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic