I'm debugging an issue where I'm running a query against an oracle database and not getting a response. More specifically the query will run forever unless I set a timeout, in which case it will timeout. The query is a prepared statement created by java code using an oracle jdbc driver.
Using wireshark I've tried to capture what is being sent between the database server and the application, and I see a prepared statement similar to this being sent:
SELECT * FROM MY_SCHEMA.MY_TABLE_VIEW
WHERE DATE_CREATED > :1
AND DATE_CREATED <= :2
ORDER BY DATE_CREATED
Using wireshark (or any other packet capture tool) is it possible to capture the parameters :1
and :2
? Alternately, can I in any other way verify that they reach the database server?