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

tool to generate sql ?

 
Edward Chen
Ranch Hand
Posts: 798
  • 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: 34178
340
Eclipse IDE Java VI Editor
  • 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