Notice
반응형
Recent Posts
Recent Comments
Link
250x250
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
Tags
- react
- node
- googleCharts
- SCIPRT
- 붙여넣기방지
- Eclipse
- 이클립스
- input
- 병행프로세스와 상호배제
- php version
- SQL
- js
- Oracle
- script
- googleChart
- BREW
- TSX
- createBro
- jsp
- CSS
- IntelliJ
- 정처산기
- 이론
- 책추천
- 이미지용량제한
- txs
- 응용SW
- npm
- html
- java
Archives
- Today
- Total
개발하자
[SQLException] java.sql.SQLException: JDBC-90627:Not all parameters are bound. 본문
ERROR/SQL
[SQLException] java.sql.SQLException: JDBC-90627:Not all parameters are bound.
개발리미 2023. 9. 13. 16:15728x90
not all parameters are bound = 변수를 전부다 bound 하지 않았다는 뜻
public String insert(){
String insert = "";
insert += "INSERT INTO SUPPORT_T( ";
insert += "BUSI_SUPPORT_CD, ";
insert += "BUSI_SUPPORT_NM, ";
insert += "BUSI_SECTION_CD, ";
insert += "OPEN_YN, ";
insert += "REG_START_DT, ";
insert += "REG_END_DT, ";
insert += "BUSINESS_OUTLINE ";
insert += ") VALUES ( ";
insert += "?,?,?,?,?,?,?) ";
return insert;
}
깔끔하게 저장하려고 했는데 라인 정리가 안돼서 뒤죽박죽...
Integer result = 0;
result = jdbcTemplate.update(insert().toString()
, busi_cd
, busiSupportNm
, 0
, openYn
);
위 코드를 보면 ?가 7개 넣는 값은 4개!
이렇게 되면 bound 에러
개수를 잘 맞추자
728x90
반응형