我从Hibernate应用程序中收到此错误:
错误:org.hibernate.tool.schema.spi.SchemaManagementException:架构验证:缺少序列[hibernate_sequence]
而且我不应该寻找我的错误 . 任何建议?它发生在我将 registrationNumber
添加到我的模型后:
public class CompanyCar {
@Id @GeneratedValue(strategy = GenerationType.AUTO)
@Column(name = "id")
private int id;
@Column(name = "Numer_rejestracyjny")
private String registrationNumber;
@Column(name = "Marka_pojazdu")
private String carBrand;
@Column(name = "Model_pojazdu")
private String carModel;
}