New posts for Spring and Hibernate
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
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.
|
||||
Reference in New Issue
Block a user