I want to automatize my DAO tests, so I want to use the liquibase schema to create a tables for me. Also, as I didn't see the other way, I want it to import some initial data from CSV file. Here's code :
Syntax error in SQL statement "INSERT INTO PUBLIC.FLASHCARDS (ID,
QUESTION, ANSWER, DECKID) VALUES
(6AB90E8C[*]-3F28-46B2-81F3-B668F6908C09, ' testQuestion1', '
testAnswer1', C6C4D451-65DD-4AC0-9E53-974397C7BEA7) ";
expected "[, ::, *, /, %, +, -, ||, ~, !~, NOT, LIKE, REGEXP, IS, IN,
BETWEEN, AND, OR, ,, )";
SQL statement: INSERT INTO PUBLIC.flashcards (id, question, answer,
deckId) VALUES (6ab90e8c-3f28-46b2-81f3-b668f6908c09, '
testQuestion1', ' testAnswer1', c6c4d451-65dd-4ac0-9e53-974397c7bea7)
[42001-190] [Failed SQL:
INSERT INTO PUBLIC.flashcards (id, question, answer, deckId) VALUES
(6ab90e8c-3f28-46b2-81f3-b668f6908c09, ' testQuestion1', '
testAnswer1', c6c4d451-65dd-4ac0-9e53-974397c7bea7)]
liquibase.exception.DatabaseException: Syntax error in SQL statement
"INSERT INTO PUBLIC.FLASHCARDS (ID, QUESTION, ANSWER, DECKID) VALUES
(6AB90E8C[*]-3F28-46B2-81F3-B668F6908C09, ' testQuestion1', '
testAnswer1', C6C4D451-65DD-4AC0-9E53-974397C7BEA7) ";
expected "[, ::, *, /, %, +, -, ||, ~, !~, NOT, LIKE, REGEXP, IS, IN,
BETWEEN, AND, OR, ,, )";
SQL statement: INSERT INTO PUBLIC.flashcards (id, question, answer,
deckId) VALUES (6ab90e8c-3f28-46b2-81f3-b668f6908c09, '
testQuestion1', ' testAnswer1', c6c4d451-65dd-4ac0-9e53-974397c7bea7)
[42001-190]
[Failed SQL: INSERT INTO PUBLIC.flashcards (id, question, answer,
deckId) VALUES (6ab90e8c-3f28-46b2-81f3-b668f6908c09, '
testQuestion1', ' testAnswer1',
c6c4d451-65dd-4ac0-9e53-974397c7bea7)]