【文件属性】:
文件名称:timesten jdbc
文件大小:169KB
文件格式:JAR
更新时间:2012-05-11 07:30:31
timesten jdbc
timesten jdbc,内存数据库的jdbc链接
private static void initDSPoolParams(ObservableConnectionDS ds) {
String sMax = props.getProperty("tt.MaxPoolSize");
String sMin = props.getProperty("tt.MinPoolSize");
String sInit = props.getProperty("tt.InitialPoolSize");
String sMaxStmts = props.getProperty("tt.MaxStatements");
int max = Integer.parseInt(sMax);
int min = Integer.parseInt(sMin);
int init = Integer.parseInt(sInit);
int maxStmts = Integer.parseInt(sMaxStmts);
ds.setMaxPoolSize(max);
ds.setMinPoolSize(min);
ds.setInitialPoolSize(init);
ds.setMaxStatements(maxStmts);
}
网友评论
- 文件就是ttjdbc5.jar
- 这段代码和ttodbc.jar有啥关系啊?