Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp
I've scoured through Hibernate in Action, and Hibernate Quickly and through this forum trying to find an answer to this question.  I have a table that has not primary key or unique key.  When I generate a hbm.xml file for this table from eclipse.  There is an error because there is no identifer in that table stating a primary key.  Although I can add one such as a numeric value to each row, I wanted to know if it is possible to put in a dummy id tag with a dummy column?
Hibernate version: 3
Mapping documents:
Here is the hbm.xml file:
	<class name="RefAddressValidation" table="REF_ADDRESS_VALIDATION">
		<property name="postcode" column="POSTCODE" type="string"
			not-null="true" />
		<property name="stateprovcode" column="STATEPROVCODE"
			type="string" />
		<property name="city" column="CITY" type="string"
			not-null="true" />
		<property name="county" column="COUNTY" type="string" />
		<property name="preference" column="PREFERENCE" type="string" />
		<property name="validity" column="VALIDITY" type="string" />
		<property name="countryid" column="COUNTRYID" type="string" />
		<property name="stateprovname" column="STATEPROVNAME"
			type="string" />
		<property name="shiptoflag" column="SHIPTOFLAG" type="byte" />
	</class>
Code between sessionFactory.openSession() and session.close():
Full stack trace of any exception that occurs:
Name and version of the database you are using:
The generated SQL (show_sql=true):
Debug level Hibernate log excerpt: