[Spring/JUnit] H2 ์์ฝ์ด user ๋๋ฌธ์ ๋ฐ์ : Error executing DDL "drop table if exists user cascade " via JDBC [Syntax error in SQL statement "drop table if exists [*]user cascade "; expected "identifier";]
ยท
Backend/Spring Boot
โ๏ธ์๋ฌ ๋ฉ์์งError executing DDL "drop table if exists user cascade " via JDBC [Syntax error in SQL statement "drop table if exists [*]user cascade "; expected "identifier";] ๐ป ๊ฐ๋ฐ ํ๊ฒฝFramework : Spring Boot`3.2.3`DB : MySQL(๋ก์ปฌ), H2(ํ
์คํธ)Library : JPA, QueryDSL`5.0.0`Test : JUnit ๐ ์์ธSpring์์ JPA Repository ํ
์คํธ๋ฅผ ์งํํ๋๋ฐ ์๋ฌ๊ฐ ๋ฌ๋ค.DB๋ ๋ก์ปฌ์์ ๊ฐ๋ฐ์ ์ํด MySQL์ ์ฌ์ฉํ๊ณ ์์ง๋ง, ํ
์คํธ๋ฅผ ์ํด์ ๋ด์ฅํ ์ธ๋ฉ๋ชจ๋ฆฌ DB์ธ H2๋ฅผ ์ฌ์ฉํ๊ณ ์์๋ค. ..