>What I would like to have is access to the loadProcedure function via the connection object.
You can't. As I said earlier, you need to use the connection object passed in via the XSODATA framework in order to have access to the temporary tables and for consistency with the external commit/rollback. That connection object which is passed in by the XSODATA framework is a $.db connection objection and not a $.hdb connection object.