JPA Hibernate Call Postgres Function Void Return MappingException:

前端 未结 7 2080
不知归路
不知归路 2020-12-31 11:38

I have a problem where I am getting an: org.hibernate.MappingException: No Dialect mapping for JDBC type: 1111 when trying to call a postgres function using JPA cre

7条回答
  •  庸人自扰
    2020-12-31 12:20

    It seems that the problem occurs when the postgres stored procedure returns void. Try to change the return type to return some dummy value, perhaps a string. This worked in my case.

提交回复
热议问题