Using Oracle XMLType column in hibernate

后端 未结 5 644
情话喂你
情话喂你 2020-12-02 13:29

I need to map Oracle XMLType column to hibernate entity class. There is a working (and I think well-known) solution that involves implementing UserType; however

5条回答
  •  天命终不由人
    2020-12-02 14:08

    I had the issue when migrating from Hibernate 3.6.* to Hibernate 5.4, I resolved by adding dbUnit maven dependency before Oracle xmlparserv2. dbUnit has xerces:xercesImpl as transient dependency. This way I don't have to mess with App Server Config and unit tests runs just fine.

提交回复
热议问题