Have a look at the (albeit already 4 years old) discussion in the ideas forum:
https://forum.mendix.com/link/ideas/64
Perhaps the JDBC connector can help you out?
https://marketplace.mendix.com/link/component/2888