本文整理汇总了Java中org.insightech.er.db.impl.oracle.OracleDBManager类的典型用法代码示例。如果您正苦于以下问题:Java OracleDBManager类的具体用法?Java OracleDBManager怎么用?Java OracleDBManager使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
OracleDBManager类属于org.insightech.er.db.impl.oracle包,在下文中一共展示了OracleDBManager类的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: isNeedCharSemantics
import org.insightech.er.db.impl.oracle.OracleDBManager; //导入依赖的package包/类
public boolean isNeedCharSemantics(final String database) {
if (!OracleDBManager.ID.equals(database)) {
return false;
}
if (name.startsWith(SQL_TYPE_ID_CHAR) || name.startsWith(SQL_TYPE_ID_VARCHAR)) {
return true;
}
return false;
}
示例2: isNeedCharSemantics
import org.insightech.er.db.impl.oracle.OracleDBManager; //导入依赖的package包/类
public boolean isNeedCharSemantics(String database) {
if (!OracleDBManager.ID.equals(database)) {
return false;
}
if (this.name.startsWith(SQL_TYPE_ID_CHAR)
|| this.name.startsWith(SQL_TYPE_ID_VARCHAR)) {
return true;
}
return false;
}
示例3: loadTablespace
import org.insightech.er.db.impl.oracle.OracleDBManager; //导入依赖的package包/类
private Tablespace loadTablespace(Element element, LoadContext context) {
String id = this.getStringValue(element, "id");
Tablespace tablespace = new Tablespace();
tablespace.setName(this.getStringValue(element, "name"));
NodeList nodeList = element.getElementsByTagName("properties");
for (int i = 0; i < nodeList.getLength(); i++) {
Element propertiesElemnt = (Element) nodeList.item(i);
String environmentId = this.getStringValue(propertiesElemnt,
"environment_id");
Environment environment = context.environmentMap.get(environmentId);
TablespaceProperties tablespaceProperties = null;
if (DB2DBManager.ID.equals(this.database)) {
tablespaceProperties = this
.loadTablespacePropertiesDB2(propertiesElemnt);
} else if (MySQLDBManager.ID.equals(this.database)) {
tablespaceProperties = this
.loadTablespacePropertiesMySQL(propertiesElemnt);
} else if (OracleDBManager.ID.equals(this.database)) {
tablespaceProperties = this
.loadTablespacePropertiesOracle(propertiesElemnt);
} else if (PostgresDBManager.ID.equals(this.database)) {
tablespaceProperties = this
.loadTablespacePropertiesPostgres(propertiesElemnt);
}
tablespace.putProperties(environment, tablespaceProperties);
}
if (id != null) {
context.tablespaceMap.put(id, tablespace);
}
return tablespace;
}
示例4: loadTablespace
import org.insightech.er.db.impl.oracle.OracleDBManager; //导入依赖的package包/类
private Tablespace loadTablespace(final Element element, final LoadContext context) {
final String id = getStringValue(element, "id");
final Tablespace tablespace = new Tablespace();
tablespace.setName(getStringValue(element, "name"));
final NodeList nodeList = element.getElementsByTagName("properties");
for (int i = 0; i < nodeList.getLength(); i++) {
final Element propertiesElemnt = (Element) nodeList.item(i);
final String environmentId = getStringValue(propertiesElemnt, "environment_id");
final Environment environment = context.environmentMap.get(environmentId);
TablespaceProperties tablespaceProperties = null;
if (DB2DBManager.ID.equals(database)) {
tablespaceProperties = loadTablespacePropertiesDB2(propertiesElemnt);
} else if (MySQLDBManager.ID.equals(database)) {
tablespaceProperties = loadTablespacePropertiesMySQL(propertiesElemnt);
} else if (OracleDBManager.ID.equals(database)) {
tablespaceProperties = loadTablespacePropertiesOracle(propertiesElemnt);
} else if (PostgresDBManager.ID.equals(database)) {
tablespaceProperties = loadTablespacePropertiesPostgres(propertiesElemnt);
}
tablespace.putProperties(environment, tablespaceProperties);
}
if (id != null) {
context.tablespaceMap.put(id, tablespace);
}
return tablespace;
}