• 如何与JPA/Hibernate绘制XMLType地图
在URL的帮助下,我与Hibernate @Type进行了XMLType勘测。
当我坚持使用HibernateXmlType的数据类型时,它会进行罚款。 但结果如下:
org.springframework.orm.hibernate3.HibernateJdbcException: JDBC exception on Hibernate data access: SQLException for SQL [update BTI_DBA.SAMPLE_XMLINSTRUCTIONS set INSTRUCTION_XML=? where INSTRUCTION_ID=?]; SQL state [99999]; error code [31011]; could not update: [com.tutorial.model.SampleXmlInstructions#4871852354547076634]; nested exception is org.hibernate.exception.GenericJDBCException: could not update: [com.tutorial.model.SampleXmlInstructions#4871852354547076634] ......... ......... Caused by: java.sql.SQLException: ORA-31011: XML parsing failed ORA-19202: Error occurred in XML processing LPX-00209: PI names starting with XML are reserved Error at line 1