I\'m using JDBC for very simple database connectivity.
I have created my connection/statement and executed a query. I check the query object of the statement in the
Yeah, I had the same problem as the OP. It happens when you have two or more open connections with the database on the same user. For example one connection in SQL Developer and one connection in Java. The result is always an empty resultset.
EDIT: Also, I noticed that it happens when you execute procedure or insert in the databse and you don't commit your transactions.