자바(Java)

Could not read resultset: unexpected end of stream

xemaker 2024. 5. 23. 17:05

Could not read resultset: unexpected end of stream, read 0 bytes from 4

이런 에러가 났다.

흠.. 뭐지..

알고보니.. Dao에서 잘 못 썼다.

sqlSession.selectOne 은 Object를 리턴하는데 스트링으로 받을려고 해서 에러가 발생하였다.