*
The moose likes JDBC and the fly likes tool to generate sql ? 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 » JDBC
Bookmark "tool to generate sql ?" Watch "tool to generate sql ?" New topic
Author

tool to generate sql ?

Edward Chen
Ranch Hand

Joined: Dec 23, 2003
Posts: 798
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
internet detective
Marshal

Joined: May 26, 2003
Posts: 30361
    
150

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.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: tool to generate sql ?