How to Oracle XMLTYPE in Hibernate

前端 未结 2 1405
情歌与酒
情歌与酒 2021-01-14 16:29

One of the column is of the type XMLTYPE in Oracle database. In my application, I want to persist the data and using Hibernate.

I did the following for mapping XMLTY

2条回答
  •  礼貌的吻别
    2021-01-14 17:10

    I solved this same problem, but mapped the XMLType column to java.lang.String in my entity, which simplified the solution.

    I left a detailed, step-by-step solution as an answer to another question.

提交回复
热议问题