I was doing a remote debug for a sql exception. The jar was present in the remote location. I was doing a remote debug from eclipse. Suddenly, I realised that it was throwing exception for connection.close()
without a connection.commit()
.
So, I dropped the frame in the debug and added the connection.commit()
. This worked. The connection was closed.
My question is how is this even possible? The class file was present in the jar and the code change was done locally on my eclipse..!!!