Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp
3:
Mapping documents:
None at this time:
Full stack trace of any exception that occurs:
Access
The generated SQL (show_sql=true):
Debug level Hibernate log excerpt:
Why am I getting this compile error in Eclipse:
The content of element type "class" must match "(meta*,subselect?,cache?,synchronize*,comment?,(id|composite-id),discriminator?,natural-id?,(version|timestamp)?,(property|many-to-one|one-to-one|component|dynamic-component|properties|any|map|set|list|bag|idbag|array|primitive-array|query-list)*,((join*,subclass*)|joined-subclass*|union-subclass*),loader?,sql-insert?,sql-update?,sql-delete?,filter*)". Person.hbm.xml
Person.hbm.xml is
<hibernate-mapping package="org.david">
<class name="Person" table="Person">
<property name="seqId" column="Seq_Id" type="integer" not-null="true" />
<property name="firstName" column="First_Name" type="string" />
<property name="lastName" column="Last_Name" type="string" />
</class>
</hibernate-mapping>
Thanks