I have one column hold primary key, we need to put every time uniqe value for it, i have one oracle sequence when we execute that sequence it generate different value from previously generated then we insert that value into that table.
I saw one example some thing like this
<id name=”userId” type=”integer” column=”USER_ID” >
<generator class=”sequence”>
<param name=”sequence”>MD_USER_SEQ</param>
</generator>
</id>
which i guess automaticaly call sequence inside oracle and assign value to the userid.
but we have t do it manualy if i m not wrong,
while reverse enginering i saw option to configure for column but do not know how to use.
hope nnow you understand the question clearly.
Thanks
Faisal khan