object and PreparedStatement object need to be closed ?
ResultSet PreparedStatement Connection In that order
Use try with resources
I'm surprised that PreparedStatement is a closeable. But yeah, if it's closeable, thne the proper order is as Roy posted. If not, just exclude PreparedStatement from the list
Обсуждают сегодня