Hibernate + Derby: Comparisons between 'BOOLEAN' and 'INTEGER' are not supported

前端 未结 4 1819
执笔经年
执笔经年 2021-01-13 16:32

I have a problem with querying Derby database. I am using Hibernate with JPA. Problem is related (probably) to boolean columns. Each query ends with error:

org.h

4条回答
  •  自闭症患者
    2021-01-13 17:32

    Boolean datatype was added in Derby 10.7, you appear to be using 10.7 or newer so you should use the org.hibernate.dialect.DerbyTenSevenDialect dialect which adds Boolean support.

提交回复
热议问题