For performance and reliability reasons, these data sources should not be used with MID Server clusters:
-JDBC data sources
These external data sources should only be used with dedicated MID Servers.
For further information , i would like to ask you to check below documentation.
There is no workaround for this limitation.