SequenceGenerator problem with unit testing in Hsqldb/H2
问题 I have tried using both Hsqldb and H2 for unit testing but facing problem with sequence generators. Field declaration looks like this. @Id @GeneratedValue(strategy=GenerationType.SEQUENCE, generator="keyword_seq") @SequenceGenerator(name="keyword_seq",sequenceName="KEYWORD_ID_SEQ", allocationSize=1) @Column(name="IM_KEYWORD_ID") private Long keywordId; When I try to test simple insert in this table in Hsqldb with following configuration, it gives error <prop key="hibernate.connection.driver