org.hibernate.tool.schema.spi.CommandAcceptanceException: Error executing DDL via JDBC Statement in SpringBoot with h2 and JPA
@shubh.. Your Entity Field names are matching with SQL reserved keywords
,
So try to change the field names otherwise use name
attribute with @Column Annotation
(which gives alias names to the DATABASE)
@Column(name="valueFrom")
private String from;
@Column(name="valueTo")
private String to;
private BigDecimal conversionMultiple;
private int port;