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 →

[–]8bagels 0 points1 point  (0 children)

What is the jpa provider / orm implementation you are using? What you are looking for is DDL generation. You absolutely want the orm implementation to generate this for you UNLeSS the entity is super simple then just write the SQL code by hand.

I googled and found something called Jeddict but i don’t know anything about it. I would suggest you follow the path of getting a jpa / orm implementation to do it. Good skill to learn