Spring-Boot 2.0.0 seems to have modified the way Hibernate is auto configured.
Let\'s suppose two simple and independent JPA entities:
You can use
@Id @GeneratedValue(strategy = GenerationType.IDENTITY) private Long id;
to use MySQL autoincrement.