Hi,
Am migrating my application from hibernate 2.0 to hibernate 3.0. In one of my module named subscriptions, there
are 3 hbm.xml files and i converted the DTD specifications to hibernate 3.0 and when i execute , i am getting this
error. please help me where i do i went wrong....
Here is the error
Unable to instantiate ID Generator class
Here is the XML file
Code:
<?xml version="1.0"?>
<!DOCTYPE hibernate-mapping PUBLIC
"-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<hibernate-mapping default-cascade="none">
<class name="com.wamu.dashboard.subscriptions.DashboardEmailRecordAM" table="WAMU_USER">
<id name="employeeId" type="string" unsaved-value="null">
<column name="EMPLOYEE_ID" sql-type="varchar(7)" not-null="true" />
<generator class="uuid.string" />
</id>
<property name="emailAddressString" type="string">
<column name="EMAIL" sql-type="varchar(50)" not-null="false" />
</property>
<property name="firstName" type="string">
<column name="FIRST_NAME" sql-type="varchar(30)" not-null="true" />
</property>
<property name="lastName" type="string">
<column name="LAST_NAME" sql-type="varchar(30)" not-null="true" />
</property>
<property name="workPhone" type="string">
<column name="WORK_PHONE" sql-type="varchar(15)" not-null="false" />
</property>
<property name="workPhoneExt" type="string">
<column name="WORK_PHONE_EXTENSION" sql-type="varchar(7)" not-null="false" />
</property>
<property name="organizationId" type="string">
<column name="ORGANIZATION_ID" sql-type="varchar(10)" not-null="false" />
</property>
</class>
</hibernate-mapping>
Thanks in advance