This came out of hibernate's test suite, the following tests fail:
- org.hibernate.engine.spi.ExtraStateTest shouldMaintainExtraStateWhenUsingIdentityIdGenerationStrategy
- org.hibernate.id.CreateDeleteTest createAndDeleteAnEntityInTheSameTransactionTest
- org.hibernate.id.FlushIdGenTest testPersistBeforeTransaction
Due to a sequence not existing.
create table ChineseTakeawayRestaurant (
id bigserial not null,
gobelinStars int4 not null,
primary key (id)
)
insert into ChineseTakeawayRestaurant (gobelinStars)
values 3
select currval('ChineseTakeawayRestaurant_id_seq')
Postgres automatically creates a sequence whenever a serial or big serial type is used. We don't do this.
This came out of hibernate's test suite, the following tests fail:
Due to a sequence not existing.
Postgres automatically creates a sequence whenever a serial or big serial type is used. We don't do this.