Hibernate, @SequenceGenerator and allocationSize
To be absolutely clear… what you describe does not conflict with the spec in any way. The spec talks about the values Hibernate assigns to your entities, not the values actually stored in the database sequence. However, there is the option to get the behavior you are looking for. First see my reply on Is … Read more