A SQL database connection can pass an "ApplicationName" that is visible when debugging the active connections server-side.
For instance on PostgreSQL, you can see it in the application_name column of pg_stat_activity.
-> Use this to pass info about what nuxeo mapper is using the connection