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

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 (2 kB)

Issue Links:

 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 ).

There are two options:
* Set the system properties org.firebirdsql.jdbc.processName and 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.