Hi All,
I have been using Hibernate 3.2.4 in my application over MSSQL Server 2005 with a rather default ID generation declared like:
Code:
@Id
@GeneratedValue(strategy = GenerationType.TABLE)
private Long id;
The IDs are generated just fine, however every time the application loads, the IDs "jump" by 32768. I read a little bit about the HiLo generator and saw this is by default but I would still like to ask: is there any way to reconfigure the generator to not make this jump (e.g. configure MAX_LO to be smaller)?
I have found online several hbm example that seem to make it but is there a reasonable way to do it via the JPA annotations?
Thanks in advance.