* 드라이브 이름을 찾지 못했을 때
java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver1
* db url이 올바르지 않을 때
java.sql.SQLException: Listener refused the connection with the following error:
ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
The Connection descriptor used by the client was:
* db id나 pw가 틀릴 때
java.sql.SQLException: ORA-01017: invalid username/password; logon denied
* ?개수만큼 바인딩을 해주지 않았을 때
java.sql.SQLException: 인덱스에서 누락된 IN 또는 OUT 매개변수::
* ?개수보다 추가해서 바인딩하려고 할 때
java.sql.SQLException: 부적합한 열 인덱스
DB에서는 주로 SQL이 틀려서 실행이 안되는 경우가 많으므로
웹 콘솔 등에서 값을 실제 값으로 넣어준 후 되는지 확인한 후 복사해서 사용하는 것이 좋다!
'DB > Oracle' 카테고리의 다른 글
[Oracle SQL Developer Error]The Network Adapter could not establish the connection (0) | 2019.06.28 |
---|---|
Dual 테이블이란? (0) | 2019.06.27 |
oracle 11g 트랜잭션 관리COMMIT ROLLBACKDML 인강 (0) | 2019.05.31 |
Oracle sql developer tool : oracle developer the network adapter could not establish the connection (0) | 2019.05.28 |
커넥션풀(DBCP) (0) | 2019.05.07 |