java.sql.SQLException: 결과 집합을 종료했음: next

jsp 학습중 제목과같은 에러를 맞닥트림

connection, preparedStatement, resultset 중 하나라도 close 한뒤에

resultset에서 데이터를 읽어오려하면 발생함

 

그럼 저 3가지 객체는 어디서 닫아줘야하는거지?

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s