fixes bug#24029
qua: dev:Aristides git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Model/trunk/modelWeb@110913 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
84f28f8caa
commit
09505c802f
|
@ -1,8 +1,5 @@
|
||||||
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 {
|
||||||
|
@ -10,10 +7,4 @@ 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