Issue Details (XML | Word | Printable)

Key: JDBC-334
Type: Improvement Improvement
Status: Closed Closed
Resolution: Won't Fix
Priority: Major Major
Assignee: Mark Rotteveel
Reporter: Pavel Zotov
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Jaybird JDBC Driver

Provide ability to see REMOTE_PROCESS name and REMOTE_PID in MON$ATTACHMENTS when doing connect via JDBC

Created: 16/Dec/13 05:30 AM   Updated: 05/Jan/19 09:13 AM
Component/s: None
Affects Version/s: None
Fix Version/s: None

File Attachments: 1. Zip Archive FbConnExploring.zip (2 kB)

Issue Links:
Duplicate


 Description  « Hide
Currently we can NOT see such info - there are NULLs in both fields.
It will be useful for debug purposes to have ability of watching for them.


 All   Comments   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Mark Rotteveel added a comment - 16/Dec/13 05:41 PM
This feature already exists (since Jaybird 2.1.6, see JDBC-118 and http://jaybirdwiki.firebirdsql.org/jaybird/doku.php?id=download:older#jaybird_2.1.6 ).

There are two options:
* Set the system properties org.firebirdsql.jdbc.processName and org.firebirdsql.jdbc.pid on the commandline
* Add the connection properties process_name and process_id

It is currently not possible to get the actual PID of the process automatically as - at least at the time of implementation - there was no platform independent method of obtaining the pid. JDBC-225 will look into that.