Files
hibernate-demo/id-generation/output/02b-default-sequence-naming.txt
T

18 lines
829 B
Plaintext

Sequence names Hibernate 7 picks when you name nothing, and the legacy switch
######## H2 ########
database: H2Dialect / H2 2.4.240 (2025-09-22)
== hibernate.id.db_structure_naming_strategy = standard (entities: AutoLongItem, SeqDefaultItem)
create sequence AutoLongItem_SEQ start with 1 increment by 50;
create sequence SeqDefaultItem_SEQ start with 1 increment by 50;
== hibernate.id.db_structure_naming_strategy = legacy (entities: AutoLongItem, SeqDefaultItem)
create sequence hibernate_sequence start with 1 increment by 1;
== hibernate.id.db_structure_naming_strategy = single (entities: AutoLongItem, SeqDefaultItem)
create sequence hibernate_sequence start with 1 increment by 1;
######## POSTGRES ########
SKIPPED: no Docker daemon was reachable when this transcript was generated, so PostgreSQL was not run.