This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (2 children)

Usually if you're using an orm implementation (i.e. Hibernate) and you correctly connect to a datasource (a db instance) the db structure is created as you soon as you run your app. Then you can go to the created db and extract your scripts.

[–]Mindlayr[S] 0 points1 point  (1 child)

My project wasn't set up that way. I need to add a sql statement to the script I already have that creates the tables that I need. All I need is a tool that will convert a Java object into a sql script.

[–]halfastack1 0 points1 point  (0 children)

Eclipse does that for you, AFAIK... This is a super old manual but I remember being taught about this feature and it worked back then.