filmov
tv
Hibernate Tip : How to create and initialize a database
Показать описание
Today I will answer a very simple but important question, before that, please subscribe to this channel and hit the bell icon so that you don’t miss any future Hibernate tips.
Here is a question I got on my blog: “I need to create a database and initialize it with a set of test data. Is there an easy way to do that with Hibernate?”
Yes, there is an easy way defined by the JPA specification. But before we take a closer look at it, I want to make clear that you shouldn’t use it to initialize or change a production database. There are a much better options for that, like Liquibase or Flyway. You can find videos about both of them on this channel.
If you like this video, please give me your thumbs up and share it with your friends and co-workers.
Like my channel? Subscribe!
Join the free Member Library:
Want to connect with me?