|
|
@ -54,7 +54,7 @@ class DatabaseEngine(object):
|
|
|
|
'postgresql': 'postgresql+psycopg2://{0}:{1}@{2}:{3}/{4}',
|
|
|
|
'postgresql': 'postgresql+psycopg2://{0}:{1}@{2}:{3}/{4}',
|
|
|
|
'oracle': 'oracle+cx_oracle://{0}:{1}@{2}:{3}/?service_name={4}'
|
|
|
|
'oracle': 'oracle+cx_oracle://{0}:{1}@{2}:{3}/?service_name={4}'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
# 连接池容器名称,具体看ObjContainer对象
|
|
|
|
attr = 'engines'
|
|
|
|
attr = 'engines'
|
|
|
|
|
|
|
|
|
|
|
|
def __init__(self, db_name, conf_path=DEFAULT_CONF_PATH):
|
|
|
|
def __init__(self, db_name, conf_path=DEFAULT_CONF_PATH):
|
|
|
|