HagaHood
HagaHood

Reputation: 199

Getting SQL from ResultSet Java

I have a ResultSet Object that I do not know the SQL and params of it. how I discover ResultSet's SQL?

Upvotes: 1

Views: 51

Answers (1)

ninesided
ninesided

Reputation: 23273

Short answer? You can't. A ResultSet object is independent of the query or stored procedure that produced it.

Upvotes: 2

Related Questions