gonzao_diaz wrote:
Since the values you refer to are primary keys, the way in which they are generated depends on what generator mechanism you specified in the "id" section on your mapping file.
In your case, the mechanism would seem to be an Oracle sequence shared by both entities.
Hello gonzao_diaz
I got the problem, thanks for your reply.
I have specified generated as native, and when I run the ant task with schema export it creates a sequence, now I have a question in my mind how to create more than one sequence useing schema-export task, please help me.
Thanks and regards
Nitin Kalaskar