-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: org.xml.sax.SAXParseException: The content of element type &
PostPosted: Fri Jan 30, 2004 1:20 pm 
Newbie

Joined: Fri Oct 24, 2003 1:50 pm
Posts: 2
Location: Brazil
Hi,

The following error occurs when try to use the hibernate:

14:53:21,881 ERROR XMLHelper:37 - Error parsing XML: XML InputStream(10)
org.xml.sax.SAXParseException: The content of element type "id" is incomplete, it must match "(meta*,column*,generator)".
...
...
...

result: 123

It is funny, because this mistake doesn't abort the execution, because (result: 123) it is an information of the recovered record.

the file mapping is:

<class name="UserAccesses" table="USER_ACCESSES">
<id name="userAccessCode" type="int" unsaved-value="null">
<column name="USER_ACCESS_CODE" sql-type="NUMBER" not-null="true"/>
<generator class="sequente">
<param name="sequence">UACC_CODE_SEQ</param>
</generator>
</id>
<property name="accessKey" type="string">
<column name="ACCESS_KEY" sql-type="VARCHAR2" not-null="true"/>
</property>
<property name="accessPassword" type="string">
<column name="ACCESS_PASSWORD" sql-type="VARCHAR2" not-null="true"/>
</property>
<property name="rowversionStatus" type="string">
<column name="ROWVERSION_STATUS" sql-type="VARCHAR2" not-null="true"/>
</property>
<property name="rowversionUser" type="string">
<column name="ROWVERSION_USER" sql-type="VARCHAR2" not-null="true"/>
</property>
<property name="rowversionDate" type="calendar">
<column name="ROWVERSION_DATE" sql-type="DATE" not-null="true"/>
</property>
<property name="rememberPassword" type="string">
<column name="REMEMBER_PASSWORD" sql-type="VARCHAR2" not-null="false"/>
</property>
<property name="lastAccessDate" type="calendar">
<column name="LAST_ACCESS_DATE" sql-type="DATE" not-null="false"/>
</property>
</class>

What is the problem????

Thanks,
Marcelo Dannus


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.