Get more recipes like this one in my new book Hibernate Tips: More than 70 solutions to common Hibernate problems: goo.gl/XfywNk
You probably heard all the discussion about using a database or entity first approach to create your table model. To be honest, I don’t care with which part you start as long as you make sure that your model works for both systems: the database and your Java application. That will most likely require a few adaptions of your initial model. But it’s the only way to get a model that works well for your database and your Java application.
So, let’s say you defined your entities first. How do you now get a setup script that you can optimize and use to create your database?
If you like this video, please give me your thumbs up and share it with your friends and co-workers.
Like my channel? Subscribe!
➜ bit.ly/2cUsid8
Join the free Member Library:
goo.gl/dtyIIC
Read the accompanying post: www.thoughts-on-java.org/hibernate-tips-create-dat…
Want to connect with me?
Blog: www.thoughts-on-java.org/
Twitter: twitter.com/thjanssen123
Facebook: www.facebook.com/thoughtsonjava
#HibernateTips #JPA #entitymapping #Hibernate
コメント