Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Lightweight SQL->Java converter

 
L Duperval
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Does anyone know of a lightweight tool that will connect to any JDBC-enabled database, connect to a table and generate a Java class based on the table's metadata?

Nothing fancy and overweight like Torque. I thought DbGen would do the trick but something is broken in the code, and I don't know ahat, exactly.

Any ideas?

Thanks,

L
 
L Duperval
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, I found something: http://sql2java.sf.net

It generates much more code than what I want, but it's fast and I can tweak it to add some Xdoclet tags for Hibernate support.

If someone has a better alternative, let me know.

Thanks,

L
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic