I have been working on an EER chart for my Mysql database for the past 7 days. This is a rather complex model with many connections and attributes. Now I know that spring boot automatically creates tables based on your entities (including foreign keys and other parameters) if you use spring.jpa.hibernate.ddl-auto = update in your .properties applications, but is it possible to create object classes after providing good credentials to a table-based DataSource?
Point - I probably need another 3-4-day coding to create all classes with all attributes, relationships, etc.
Given the fact that this can only be done in one correct way, based on schematic tables, and this is not really rocket science. Why not do it just once?
This question arises. Automatically create entities from the database but I use spring boot not JPA project, and the second blog is no longer active.
Any clues?
source share