English 中文(简体)
XMLType - 状态[999];错误代码[31011];无法更新:
原标题:XMLType - SQL state [99999]; error code [31011]; could not update:
  • 时间:2010-07-02 14:25:25
  •  标签:
  • java

• 如何与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

问题回答

证明您的意见有一个而且只有一个内容......

<?xml version="1.0"?>

页: 1

我已经解决这个问题。 我知道,它是如何两次进入 pro。





相关问题
Spring Properties File

Hi have this j2ee web application developed using spring framework. I have a problem with rendering mnessages in nihongo characters from the properties file. I tried converting the file to ascii using ...

Logging a global ID in multiple components

I have a system which contains multiple applications connected together using JMS and Spring Integration. Messages get sent along a chain of applications. [App A] -> [App B] -> [App C] We set a ...

Java Library Size

If I m given two Java Libraries in Jar format, 1 having no bells and whistles, and the other having lots of them that will mostly go unused.... my question is: How will the larger, mostly unused ...

How to get the Array Class for a given Class in Java?

I have a Class variable that holds a certain type and I need to get a variable that holds the corresponding array class. The best I could come up with is this: Class arrayOfFooClass = java.lang....

SQLite , Derby vs file system

I m working on a Java desktop application that reads and writes from/to different files. I think a better solution would be to replace the file system by a SQLite database. How hard is it to migrate ...

热门标签