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
|