SQLAlchemy的达梦数据库方言设计与实现  

Design and Implementation of Dameng Database Dialect for SQLAIchemy

在线阅读下载全文

作  者:蒋洪磊[1] 王骜[2] 

机构地区:[1]中国电子科技集团公司第五十四研究所,河北石家庄050081 [2]云南大学信息学院,云南昆明650091

出  处:《计算机与网络》2015年第15期48-50,共3页Computer & Network

基  金:国家高技术研究发展计划(863计划)(Z1214102)

摘  要:SQLAlchemy已成为Python下进行ORM开发的事实标准,针对其缺乏达梦数据库方言的现状,在分析SQLAlchemy方言接口及其内置数据库方言实现的基础上,针对达梦数据库的特点,结合SQLAlchemy通过对内置的Oracle、MySQL、MS SQL Server和PostgreSQL等方言的静态源码分析与动态调试,完成达梦数据库方言实现,在实际系统中测试表明,该方言能够正确的进行数据库的反射和执行ORM操作。SQLAlchemy has already been the de-fact standard in Python language. In view of the reality of lack of dialect for Dameng database, this paper implements the Dameng-dialect for SQLAlchemy by analyzing the dialect interface in SQLAlchemy and imbedded database dialects (Oracle, MySQL, PostgreSQL and so on), combining with the methods such as static source analysis and runtime debugging. The test results show that the dialect can reflect the database and finish ORM operations correcdy.

关 键 词:SQLAlchemy 达梦数据库 对象关系模型 方言 

分 类 号:TP311.13[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象