JDBC returning empty result set

前端 未结 14 1900
醉话见心
醉话见心 2020-12-15 06:15

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

14条回答
  •  情书的邮戳
    2020-12-15 06:42

    In java.sql.connection you should call this method after you create your connection :

    conn.setTransactionIsolation(Connection.TRANSACTION_READ_COMMITTED);
    

    maybe there is a similar method in Oracle.

提交回复
热议问题