Hi,
what is the type of generator used when we use the following hibernate annotation
Code:
@GeneratedValue
While using the hbm file, we have option of specifying generator using following tag
Code:
<id name="id" type="long" unsaved-value="null">
<generator class="native"/>
</id>
Do we have similar kind of option while using annotations.
I check the ouput while saving Message entity, and came across following o/p
select GC820NODE3.hibernate_sequence.nextval from dualHow does hibernate associate hibernate_sequence with GeneratedValue.
Thanks in advance.