Mapping Oracle XMLType on JPA (EclipseLink)

前端 未结 2 626
野性不改
野性不改 2021-01-03 05:34

We have a project with some special requirements, one of wich is getting data from a XMLType database column from an Oracle 10g database.

We have found an easy solut

2条回答
  •  走了就别回头了
    2021-01-03 06:36

    Did you try just mapping it as a String?

    In EclipseLink you can also map it using a DirectToXMLTypeMapping using a DescriptorCustomizer (no annotation support yet), or using the Converter as you have done.

提交回复
热议问题