fixes bug#24029

qua:
dev:Aristides

git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Model/trunk/modelWeb@110897 d1611594-4594-4d17-8e1d-87c2c4800839
master
valdevir 2022-02-16 13:53:22 +00:00
parent 85f1d256ca
commit 84f28f8caa
1 changed files with 9 additions and 0 deletions

View File

@ -1,5 +1,8 @@
package com.rjconsultores.routing; package com.rjconsultores.routing;
import java.sql.SQLFeatureNotSupportedException;
import java.util.logging.Logger;
import org.springframework.jdbc.datasource.lookup.AbstractRoutingDataSource; import org.springframework.jdbc.datasource.lookup.AbstractRoutingDataSource;
public class MultipleDataSource extends AbstractRoutingDataSource { public class MultipleDataSource extends AbstractRoutingDataSource {
@ -7,4 +10,10 @@ public class MultipleDataSource extends AbstractRoutingDataSource {
protected Object determineCurrentLookupKey() { protected Object determineCurrentLookupKey() {
return DynamicDataSourceHolder.getRouteKey(); return DynamicDataSourceHolder.getRouteKey();
} }
public Logger getParentLogger() throws SQLFeatureNotSupportedException{
return null;
}
} }