Skip to content

Commit

Permalink
Merge pull request #375 from michalvavrik/feature/fix-hibernate-test
Browse files Browse the repository at this point in the history
Fix MultiplePersistenceUnitTest by removing workaround that adds a gap of 50 as pool optimizer now uses pooled-lo strategy
  • Loading branch information
rsvoboda authored Mar 21, 2023
2 parents 9b192cf + 283d105 commit b3913e6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ INSERT INTO fruit (id, name) VALUES (4, 'Plum');
INSERT INTO fruit (id, name) VALUES (5, 'Cherry');
INSERT INTO fruit (id, name) VALUES (6, 'Berry');
INSERT INTO fruit (id, name) VALUES (7, 'Cranberry');
ALTER SEQUENCE fruit_SEQ RESTART WITH 57; -- 7 + pool size TODO: https://github.com/quarkusio/quarkus/issues/31481
ALTER SEQUENCE fruit_SEQ RESTART WITH 8;
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ INSERT INTO vegetable (id, name) VALUES (nextval('Vegetable_SEQ'), 'Kohlrabi');
INSERT INTO vegetable (id, name) VALUES (nextval('Vegetable_SEQ'), 'Leek');
INSERT INTO vegetable (id, name) VALUES (nextval('Vegetable_SEQ'), 'Onion');
INSERT INTO vegetable (id, name) VALUES (nextval('Vegetable_SEQ'), 'Garlic');
ALTER SEQUENCE Vegetable_SEQ RESTART with 57; -- 7 + pool size TODO: https://github.com/quarkusio/quarkus/issues/31481
ALTER SEQUENCE Vegetable_SEQ RESTART with 8;

0 comments on commit b3913e6

Please sign in to comment.