How to insert a specific UUID in h2 database?
问题 I need to insert some default data in my database. I am using Spring Boot with the Flyway integration. For testing, I use H2. For production MySQL will be used. I have made separate Flyway migration scripts so I can use database specific stuff for the default data (Creating the tables is done in a common script). For MySQL, I have something like this: INSERT INTO survey_definition (id, name, period) VALUES (0x2D1EBC5B7D2741979CF0E84451C5BBB1, 'disease-activity', 'P1M'); How can I do the same