Provide a datasource proxy that can inject your own logic into all queries
View the Project on GitHub ttddyy/datasource-proxy
<dependency> <groupId>net.ttddyy</groupId> <artifactId>datasource-proxy</artifactId> <version>[LATEST_VERSION]</version> </dependency>