java – Do I need to create table for Hibernate TableGenerator on my own?

I am trying to figure out the different types of generating primary keys for classes that inherit from a superclass, I am using the embedded H2 database, the data is stored in a file. Everything worked well, the entities that I had previously created manually in the database were loaded, but when I tried to save a new entity using Hibernate, I got an error

Table “ID_GENERATOR” not found.

I wonder, should I create the table for “ID_GENERATOR” table generator manually? I thought Hibernate creates it automatically

Here’ my superclass:

@Inheritance(strategy = InheritanceType.TABLE_PER_CLASS)
public class FundEvent implements Comparable<FundEvent>{
    @TableGenerator(name = "id_generator")
    @GeneratedValue(strategy = GenerationType.TABLE, generator = "id_generator")
    protected int id;

    @Column(name = "amount")
    protected int amount;

    @Column(name = "deadline")
    protected Date deadline;

    @JoinColumn(name = "user_id")
    protected User user;

    //getters and setters

And here’s Entity class object of which I’m trying to save:

@Table(name = "purchases")
public class Purchase extends FundEvent{
    @Column(name = "goal")
    private String goal;

    @Column(name = "bought")
    private boolean bought;

    @Column(name = "removed")
    private boolean removed;

    private int activeAmount;

    //getters and setters

Do I miss something?