Table ‘sell.hibernate_sequence‘ doesn‘t exist

Problem Description:

When adding data to the database, the primary key of the data is not specified, and the entity auto increment is not set at this time. As a result, the data cannot be added to the database

Solution:

Set entity class as primary key auto increment, or specify primary key when adding data

    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Integer categoryId;

Read More: