JP2003280956A5 - - Google Patents
Download PDFInfo
- Publication number
- JP2003280956A5 JP2003280956A5 JP2002087220A JP2002087220A JP2003280956A5 JP 2003280956 A5 JP2003280956 A5 JP 2003280956A5 JP 2002087220 A JP2002087220 A JP 2002087220A JP 2002087220 A JP2002087220 A JP 2002087220A JP 2003280956 A5 JP2003280956 A5 JP 2003280956A5
- Authority
- JP
- Japan
- Prior art keywords
- database
- class
- file
- template
- source
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Description
【0008】
【課題を解決するための手段】
上記目的を達成するために、請求項1に係る発明は、プログラム開発に用いるツールである、コンピュータを利用した、データベースCASE装置であって、データベーススキーマ情報を格納したデータベース設計文書ファイルを記憶する手段と、該データベース設計文書ファイルを解析し、データベーススキーマ定義文を自動生成する手段と、データベースアクセス基本クラスライブラリを記憶する手段と、データベースアクセス基本クラスの派生クラスとしてデータベースの各テーブルへアクセスするクラスを生成するためのテンプレートファイルを記憶する手段と、前記データベース設計文書ファイルと前記テンプレートファイルから前記データベースの各テーブルへアクセスするクラスのソースプログラムを自動生成する手段とを備えることを特徴とする。
[0008]
[Means for Solving the Problems]
In order to achieve the above object, the invention according to claim 1 is a database CASE apparatus using a computer which is a tool used for program development, and means for storing a database design document file storing database schema information. And means for analyzing the database design document file and automatically generating database schema definition statements, means for storing the database access basic class library, and classes for accessing each table of the database as derived classes of the database access basic class. means for storing a template file for generating to, Bei and means for automatically generating a class source programs to be accessed from the database design document file and the template file to the table of the database And wherein the Rukoto.
Claims (5)
データベーススキーマ情報を格納したデータベース設計文書ファイルを記憶する手段と、
該データベース設計文書ファイルを解析し、データベーススキーマ定義文を自動生成する手段と、
データベースアクセス基本クラスライブラリを記憶する手段と、
データベースアクセス基本クラスの派生クラスとしてデータベースの各テーブルへアクセスするクラスを生成するためのテンプレートファイルを記憶する手段と、
前記データベース設計文書ファイルと前記テンプレートファイルから前記データベースの各テーブルへアクセスするクラスのソースプログラムを自動生成する手段と
を備えることを特徴とするデータベースCASE装置。 A database CASE apparatus using a computer, which is a tool used for program development,
A means for storing a database design document file storing database schema information;
A means for analyzing the database design document file and automatically generating a database schema definition statement;
A means for storing a database access base class library;
A means for storing a template file for generating a class for accessing each table of the database as a derived class of the database access basic class;
And a means for automatically generating a source program of a class for accessing each table of the database from the database design document file and the template file.
前記データベーススキーマ定義文を自動生成する手段は、一つのテーブルの表制約、プライマリキー情報、索引付加情報、列定義名、列定義型、列制約、列の通称、および/または列の説明文を格納した前記データベース設計文書ファイルに基づいて、前記データベーススキーマ定義文をデータベース設計文書ファイルに記載したすべてのテーブルに関して一括または個別に出力することを特徴とするデータベースCASE装置。In the database CASE device according to claim 1,
The means for automatically generating the database schema definition statement includes table constraints of one table, primary key information, index addition information, column definition names, column definition types, column constraints, column common names, and / or column descriptions. A database CASE apparatus characterized by outputting the database schema definition statement collectively or individually for all the tables described in the database design document file based on the stored database design document file.
前記データベースアクセス基本クラスは、SQL文の検索結果を編集するクラスとSQL文の実行と検索結果を処理するクラスとの2つのクラスで構成され、該SQL文の検索結果を編集するクラスは、前記データベースの各テーブルにアクセスするクラスの基底クラスとなり、さらにSQL文の実行と検索結果を処理するクラスの各メンバ関数をカスタマイズすることにより異なるパッケージのデータベースのアクセスインターフェースに適合させることを可能にすることを特徴とするデータベースCASE装置。In the database CASE device according to claim 1 or 2,
The database access basic class is composed of two classes: a class for editing search results of SQL statements and a class for executing SQL statements and a class for processing search results, and the class for editing the search results of the SQL statements is It becomes a base class of the class that accesses each table of the database, and can be adapted to the database access interface of different packages by customizing each member function of the class that processes the execution of SQL statements and the search results. Database CASE apparatus characterized by.
前記テンプレートファイルは、ソーステンプレートファイルとヘッダテンプレートファイルの2つのファイルを含み、これらのテンプレートファイルは、各々、前記ソースプログラムを自動生成する手段が生成する前記データベースの各テーブルにアクセスするクラスのソースファイルとヘッダファイルを出力するために使用する入力データとなるものであり、また、前記テンプレートファイルは、一つのテーブルに追加、更新、削除、または検索を行うメソッドとテーブル固有のSQL文作成補助メソッドを有し、各テーブル固有の情報を埋め込む部分には、埋め込む情報に対応するタグが記載されており、さらにシステム固有のメンバ関数が追加可能なことを特徴とするデータベースCASE装置。In the database CASE apparatus according to any one of claims 1 to 3,
The template file includes two files of a source template file and a header template file, and each of these template files is a source file of a class for accessing each table of the database generated by the means for automatically generating the source program. And the input file used to output the header file, and the template file is a method to add, update, delete, or search in one table and a table-specific SQL statement creation auxiliary method A database CASE apparatus characterized in that a tag corresponding to information to be embedded is described in a portion in which information specific to each table is embedded and a member function unique to the system can be added.
前記ソースプログラムを自動生成する手段は、前記タグが記載されているテンプレートソースファイルとテンプレートヘッダファイルから一つのテーブルに追加、更新、削除、または検索を行うメンバ関数とテーブル固有のSQL文作成補助メンバ関数を有するクラスのソースプログラムを自動生成することを特徴とするデータベースCASE装置。In the database CASE device according to claim 4,
The means for automatically generating the source program includes a member function for adding, updating, deleting, or searching the template source file in which the tag is described and a template header file to a single table from the template source file and a table-specific SQL statement creation assistant member A database CASE device which automatically generates a source program of a class having a function.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2002087220A JP2003280956A (en) | 2002-03-26 | 2002-03-26 | Database case device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2002087220A JP2003280956A (en) | 2002-03-26 | 2002-03-26 | Database case device |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2003280956A JP2003280956A (en) | 2003-10-03 |
JP2003280956A5 true JP2003280956A5 (en) | 2005-05-19 |
Family
ID=29233498
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2002087220A Pending JP2003280956A (en) | 2002-03-26 | 2002-03-26 | Database case device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2003280956A (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006268124A (en) * | 2005-03-22 | 2006-10-05 | Fuji Electric Systems Co Ltd | Automatic creation system and program |
JP2011008443A (en) * | 2009-06-24 | 2011-01-13 | Mitsubishi Electric Corp | Database definition generation device, database design device, database construction system, computer program, and database definition generation method |
JP5314721B2 (en) * | 2011-03-01 | 2013-10-16 | 株式会社エヌ・ティ・ティ・ドコモ | Operation system, server device |
JP7040272B2 (en) * | 2018-05-08 | 2022-03-23 | 富士通株式会社 | Source code conversion program and source code conversion method |
CN110162642A (en) * | 2019-05-21 | 2019-08-23 | 武汉大学 | Patent knowledge map construction method based on object broker database |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH08263277A (en) * | 1995-03-22 | 1996-10-11 | Fujitsu Ltd | Automatic generation device for data operation program |
-
2002
- 2002-03-26 JP JP2002087220A patent/JP2003280956A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP2005529384A5 (en) | ||
CN108563694B (en) | SQL execution method and device for logic deletion, computer equipment and storage medium | |
Jiang et al. | Mapping-driven XML transformation | |
CN107851003A (en) | For improving the field specialization system and method for program feature | |
JPH04172542A (en) | Function extension system for data base management system | |
US7711675B2 (en) | Database simulation of data types | |
JP2007087127A (en) | Data generation program, storage medium for storing the program, open source software developmental environment integration program, and storage medium for storing the program | |
JP2003280956A5 (en) | ||
US20060218174A1 (en) | Method for coordinating schema and data access objects | |
JP6862042B2 (en) | Data migration program creation system and data migration program creation program | |
JP2008077285A (en) | Sql management system and sql management method and program | |
US7953714B2 (en) | Method for maintaining parallelism in database processing using record identifier substitution assignment | |
JP4167889B2 (en) | Data conversion method and computer system therefor | |
JP2003141439A5 (en) | ||
JP5359446B2 (en) | Information processing system, access path determination method, and access path determination program | |
JP5517904B2 (en) | Data access processing management / generation system | |
JP2012118609A (en) | Sql verification system, method and program thereof | |
JP4693807B2 (en) | Program development support system, method and program | |
JP2010218219A (en) | Replica table generating apparatus, replica table generating method, and program | |
JP2003177923A (en) | Reserved word converting method for porting support system | |
JP2000276386A (en) | Method and device for generating program utilizing relation of relational data base | |
RU2008121231A (en) | METHOD FOR RELATIVE DATABASE SYSTEM MANAGEMENT | |
JP2018005822A (en) | Virtual database system management device, management method and management program | |
Xiao et al. | Acquisiting text documents opened by notepad from Windows7 RAM image | |
JP3577480B2 (en) | Reverse engineering equipment |