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-87c2c4800839master
parent
85f1d256ca
commit
84f28f8caa
|
@ -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;
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue