isConnectionHeldByCurrentThread

Get whether this thread currently holds a connection to the database.