现代电子技术2012,Vol.35Issue(6):33-35,38,4.
一种类图转化为关系数据库的自适应算法研究
Research of adaptive algorithm to convert class diagram into relational database
王丽丽1
作者信息
- 1. 宝鸡职业技术学院电子信息工程系,陕西宝鸡 721008
- 折叠
摘要
Abstract
An adaptive algorithm for translating class diagram into relational database is proposed. The class diagram is generated with Rational Rose, and represented by Java language. The Java source code text as an algorithm is executed. The keywords of "class", "attribute" and "relation" are compared by means of specific algorithm to discriminate their classes, natures and relations. After the setting description for the names of database tables, and the type and size of attribute fields is completed, the algorithm is executed in MYSQL database and SQL commands are generated to establish the relative database and tables. It shows that this algorithm can reduce error probability and time of translation.关键词
自适应算法/转化/类图/关系数据库Key words
adaptive algorithm/translation/class diagram/relational database分类
信息技术与安全科学引用本文复制引用
王丽丽..一种类图转化为关系数据库的自适应算法研究[J].现代电子技术,2012,35(6):33-35,38,4.