목록error (4)
devNyong
I am trying to insert data into an existing table and keep receiving an error. This happens because my typo my error code INSERT INTO TEST_TABLE( ID , ITEM_VALUE ) VALUES ( #{item.id} , #{item.value} ) solution : REMOVING THE INSERT INTO TEST_TABLE( ID , ITEM_VALUE ) VALUES ( #{item.id} , #{item.value} )
ERROR : ORA-01861 I am trying to insert data into an existing table and keep receiving an error. This happens because A literal with a format string. request { date : '2022-09-25 16:17:59' } receive String date; solution TO_DATE(#{date},'YYYY-MM-DD HH24:MI:SS')
error executing DDL "create table spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQL5InnoDBDialect 해결 spring.datasource.url=jdbc:h2:~/dbname;MODE=MySQL;DATABASE_TO_LOWER=TRUE
- 오류 Could not find method compile() for arguments [org.springframework.boot:spring-boot-starter-web] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler. gradle 버전이 안맞아서 그렇다. - 해결 compile('') => implementation으로 변경해준다. dependencies { implementation 'org.springframework.boot:spring-boot-starter' }