Hi,
Is there a way to specify the seuence used by the sequence-based ID generator?
For now it seems the generator always uses "hibernate_sequence", however it would be great if I could specify each time which sequence to use.
Something like:
Code:
@GeneratedValue(strategy = GenerationType.SEQUENCE, sequenceName="startkladde_id_seq)
public Integer id;
Is this possible at all, and if so, only via XML or also via Annotations?
Furthermore, if I insert into "startkladde" the id-values start with 10, although "hibernate_sequence" says the current value is 1.
Any idea why?
Thank you in advance, Clemens