dynamobi/dynamobi — Issue #582: [FRG-290] For ResultSet created by engine driver, getStatement() returns null
Author: dynamobi-build
Created: 2011-12-30 03:36:57+00:00
State: open
Labels: FRG, JDBC Engine Driver

[reporter="jhyde", created="Wed, 22 Aug 2007 02:40:55 -0500 (GMT-05:00)"]
For ResultSet created by engine driver, getStatement() returns null. JDBC says this method returns "the object that this ResultSet object or if the result set was produced some other way". Yet

Statement stmt;

ResultSet rset = stmt.executeQuery("...");

assert rset.getStatement() != null;

fails.