[Spring/MySQL] SQL Error: 1064, SQLState: 42000 - MySQL μμ½μ΄ μ¬μ©ν΄μ λλ μλ¬
π» μλ¬ λ©μμ§
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'match (distance, match_date, max_start_time, min_start_time, place_id) values ' at line 1
π μμΈ
ν μ΄λΈλͺ μΈ match κ° MySQL μμ½μ΄μ¬μ λ¬λ€.
MySQL μμ½μ΄ λͺ©λ‘μ κ²μν΄μ μ°Ύμ κ²°κ³Ό MATCH κ° μλ κ²μ νμΈν μ μμλ€.
https://zetawiki.com/wiki/MySQL_%EC%98%88%EC%95%BD%EC%96%B4
MySQL μμ½μ΄ - μ νμν€
λ€μ λ¬Έμμ΄ ν¬ν¨...
zetawiki.com
π‘ ν΄κ²°
@Table(name = "`match`")
`@Table` μ΄λ Έν μ΄μ `name`μ ν μ΄λΈ μ΄λ¦μ λ°±ν±(`)μΌλ‘ κ°μΈμ€μ μ€μ νλ€.
π μ°Έκ³ μλ£
https://www.reimaginer.me/entry/JPA-SQL-Error-1064-SQLState-42000
JPAμμ SQL Error: 1064, SQLState: 42000 λ§λ¬μ λ
https://stackoverflow.com/questions/41149529/sql-error-1064-sqlstate-42000-caused-by-org-hibernate-exception-sqlgrammar SQL Error: 1064, SQLState: 42000 - Caused by: org.hibernate.exception.SQLGrammarException: could not execute statement I am really exhau
www.reimaginer.me