Hi,
I'm updating some old code from Hibernate 3 to 5.2. It appears that the column name in the table `hibernate_sequences` changed from `sequence_next_hi_value` to `next_val`. Is there a place I can control which column Hibernate looks for, with a global configuration setting?
Some details ... when inserting entities that use table ID generation, I get SQL errors with messages like:
Unknown column 'tbl.next_val' in 'field list'I see in the 5.2 User Guide, section 2.6.10 that the column in `hiberate_sequences` is called `next_val`, but in our DB it is `sequence_next_hi_value`.
The entity's ID property in Java looks like this:
Code:
@Id
@TableGenerator(name = "t_generator")
@GeneratedValue(strategy = GenerationType.TABLE, generator = "t_generator")
private Long id;
thanks,
Rob