Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

tool to generate sql ?  RSS feed

 
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
Sheriff
Posts: 36406
454
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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!