package com.test.demo.jdbc;
import org.apache.commons.dbcp.BasicDataSource;
/**
* @ClassName: SchemaDataSource
* @Description: 增加schemaName属性,以支持Oracle数据库
*
*/
public class SchemaDataSourceextends BasicDataSource {
private StringschemaName;
public SchemaDataSource() {
}
public SchemaDataSource(String driverClassName, String url,
String username, String password, String schemaName) {
super();
this.schemaName = schemaName;
}
public StringgetSchemaName() {
return schemaName;
}
public void setSchemaName(String schemaName) {
this.schemaName = schemaName;
}
}
网友评论