Hello, i get this error when one of my application is trying to access oracle storage using Hibernate. I have absolutely no clue on what is going wrong. Does someone have any idea???
Hibernate version:
3.0.x
Mapping documents:
Code:
<class name="com.xpn.xwiki.doc.XWikiDocument" table="xwikidoc">
<id name="id" type="long" unsaved-value="any">
<column name="XWD_ID" not-null="true"/>
<generator class="assigned" />
</id>
<property name="fullName" type="string">
<column name="XWD_FULLNAME" length="255" not-null="true"/>
</property>
<property name="name" type="string">
<column name="XWD_NAME" length="255" not-null="true"/>
</property>
<property name="language" type="string">
<column name="XWD_LANGUAGE" length="5" />
</property>
<property name="defaultLanguage" type="string">
<column name="XWD_DEFAULT_LANGUAGE" length="5" />
</property>
<property name="translation" type="integer">
<column name="XWD_TRANSLATION" not-null="true" />
</property>
<property name="date" type="timestamp">
<column name="XWD_DATE" not-null="true"/>
</property>
<property name="creationDate" type="timestamp">
<column name="XWD_CREATION_DATE" />
</property>
<property name="author" type="string">
<column name="XWD_AUTHOR" length="255"/>
</property>
<property name="creator" type="string">
<column name="XWD_CREATOR" length="255"/>
</property>
<property name="web" type="string">
<column name="XWD_WEB" length="255" not-null="true"/>
</property>
<property name="content" type="text">
<column name="XWD_CONTENT" not-null="true"/>
</property>
<property name="archive" type="text">
<column name="XWD_ARCHIVE" not-null="true"/>
</property>
<property name="version" type="string">
<column name="XWD_VERSION" length="255" not-null="true"/>
</property>
<property name="parent" type="string">
<column name="XWD_PARENT" length="511"/>
</property>
</class>
Full stack trace of any exception that occurs:Code:
Hibernate: insert into xwikidoc (XWD_FULLNAME, XWD_NAME, XWD_LANGUAGE, XWD_DEFAULT_LANGUAGE, XWD_TRANSLATION, XWD_DATE, XWD_CREATION_DATE, XWD_AUTHOR, XWD_CREATOR, XWD_WEB, XWD_CONTENT, XWD_ARCHIVE, XWD_VERSION, XWD_PARENT, XWD_ID) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
15:30:49,171 WARN http-8080-Processor3 http://localhost:8080/wiki/bin/view/Main/WebHome JDBCExceptionReporter:logExceptions:71 - SQL Error: 17410, SQLState: null
15:30:49,172 ERROR http-8080-Processor3 http://localhost:8080/wiki/bin/view/Main/WebHome JDBCExceptionReporter:logExceptions:72 - Il n'y a plus de données à lire dans le socket
15:30:49,173 ERROR http-8080-Processor3 http://localhost:8080/wiki/bin/view/Main/WebHome AbstractFlushingEventListener:performExecutions:277 - Could not synchronize database state with session
org.hibernate.exception.GenericJDBCException: could not insert: [com.xpn.xwiki.doc.XWikiDocument]
at org.hibernate.exception.ErrorCodeConverter.handledNonSpecificException(ErrorCodeConverter.java:92)
at org.hibernate.exception.ErrorCodeConverter.convert(ErrorCodeConverter.java:80)
at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
at org.hibernate.persister.entity.BasicEntityPersister.insert(BasicEntityPersister.java:1869)
at org.hibernate.persister.entity.BasicEntityPersister.insert(BasicEntityPersister.java:2200)
at org.hibernate.action.EntityInsertAction.execute(EntityInsertAction.java:46)
at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:239)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:223)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:136)
at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:274)
at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27)
at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:730)
at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiClassProperty(XWikiHibernateStore.java:1262)
at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiClass(XWikiHibernateStore.java:1165)
at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:517)
at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:557)
at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:77)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:556)
at com.xpn.xwiki.XWiki.getPrefsClass(XWiki.java:1418)
at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:405)
at com.xpn.xwiki.XWiki.<init>(XWiki.java:343)
at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:134)
at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:202)
Name and version of the database you are using:
Oracle 9i