C
cowboy129
I'm using Hibernate3.2GA
and I want to get the id generator class name in my program.
such as a mapping configuraton :
<class name="beans.Employee" table="Employee">
<id name="ids" column="Employee_ID" type="int">
<generator class="native"/>
</id>
<property name="name" type="string"/>
<property name="email" type="string"/>
<property name="age" type="int"/>
</class>
how can I get the value "native" without parsing XML file?
thanks
and I want to get the id generator class name in my program.
such as a mapping configuraton :
<class name="beans.Employee" table="Employee">
<id name="ids" column="Employee_ID" type="int">
<generator class="native"/>
</id>
<property name="name" type="string"/>
<property name="email" type="string"/>
<property name="age" type="int"/>
</class>
how can I get the value "native" without parsing XML file?
thanks