Skip to content
Advertisement

SpringBoot JPA data.sql failed

i wanna sql script to load my data. but my SQL script dosen’t work. and i don’t know why error is caused.

my data.sql is

and my test code is

and my domain Person class is

}

and my error is

I digging this error issues so long time. but i didn’t find out. plz help me

Advertisement

Answer

data.sql code

have to change

User contributions licensed under: CC BY-SA
9 People found this is helpful
Advertisement