NXP-12143: use XA datasource when available, otherwise obtain the connection from the pool