gloeglm wrote:
shouldm't the hibernate.class tag be in the ICustomerGroup interface, rather than the CustomerGroupImpl class? What does the Hibernate mapping you are trying to achive look like?
It should look something like the following (ISecurityRealm.hbm.xml):
<hibernate-mapping package="com.bosch.mds.authorization">
<class name="ISecurityRealm" table="securityrealm">
<id name="id" type="long" column="id">
<generator class="native"/>
</id>
<joined-subclass
name="CustomerGroupImpl"
table="customergroups">
<key column="id"/>
<property name="name"/>
</joined-subclass>
</class>
</hibernate-mapping>