No Dialect mapping for JDBC type: 2003

前端 未结 2 511
遇见更好的自我
遇见更好的自我 2021-01-13 06:05

Though there are some question exists with this title , but my query does not solve from those thread.

I am executing recursive (using with clause) query through hib

2条回答
  •  星月不相逢
    2021-01-13 06:40

    Hibernate does not provide and Converter class/Mapper class to convert DB text[] datatype, For this either we can write our own converted type implementing UserType or we using sqlQuery.addScalar( "path", Hibernate.TEXT ); we can map text[] to text and then in java code we can split it from ','

提交回复
热议问题