Skip to content

Commit 283d105

Browse files
committed
Fix MultiplePersistenceUnitTest as id pool by default has gaps of 50
1 parent a98e822 commit 283d105

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

021-quarkus-panache-multiple-pus/src/main/resources/import-fruits.sql

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ INSERT INTO fruit (id, name) VALUES (4, 'Plum');
55
INSERT INTO fruit (id, name) VALUES (5, 'Cherry');
66
INSERT INTO fruit (id, name) VALUES (6, 'Berry');
77
INSERT INTO fruit (id, name) VALUES (7, 'Cranberry');
8-
ALTER SEQUENCE fruit_SEQ RESTART WITH 57; -- 7 + pool size TODO: https://github.com/quarkusio/quarkus/issues/31481
8+
ALTER SEQUENCE fruit_SEQ RESTART WITH 8;

021-quarkus-panache-multiple-pus/src/main/resources/import-vegetables.sql

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ INSERT INTO vegetable (id, name) VALUES (nextval('Vegetable_SEQ'), 'Kohlrabi');
66
INSERT INTO vegetable (id, name) VALUES (nextval('Vegetable_SEQ'), 'Leek');
77
INSERT INTO vegetable (id, name) VALUES (nextval('Vegetable_SEQ'), 'Onion');
88
INSERT INTO vegetable (id, name) VALUES (nextval('Vegetable_SEQ'), 'Garlic');
9-
ALTER SEQUENCE Vegetable_SEQ RESTART with 57; -- 7 + pool size TODO: https://github.com/quarkusio/quarkus/issues/31481
9+
ALTER SEQUENCE Vegetable_SEQ RESTART with 8;

0 commit comments

Comments
 (0)