title: Spring boot. Automatically create Entity classes from MySql schema
body: <p>I have been working on EER diagram model for my Mysql base for the last 7 days. It is a rather complicated model with lots of connections and attributes. Now i know spring boot automatically creates tables based on your entity classes(including foreign keys and other settings) if you use spring.jpa.hibernate.ddl-auto = update in your application.properties, but is it possible to create entity classes after providing good credentials to DataSource object based on tables withing schema?</p>
  
  <p>Point is i would probably need another 3-4 days of back-end coding to create all the classes with all the attribute, relationships etc. </p>
  
  <p>Given the fact it can only be done in one correct way, based on schema tables and it is not really rocket science. Why not do the thing just once? </p>
  
  <p>There is this question <a href="https://stackoverflow.com/questions/2356521/automatically-create-entities-from-database">Automatically create Entities from database</a>
  but 1. i am using spring boot not JPA project and second blog is no longer active.</p>
  
  <p>Any hints?</p>