JP2000276386A - Method and device for generating program utilizing relation of relational data base - Google Patents

Method and device for generating program utilizing relation of relational data base

Info

Publication number
JP2000276386A
JP2000276386A JP11080969A JP8096999A JP2000276386A JP 2000276386 A JP2000276386 A JP 2000276386A JP 11080969 A JP11080969 A JP 11080969A JP 8096999 A JP8096999 A JP 8096999A JP 2000276386 A JP2000276386 A JP 2000276386A
Authority
JP
Japan
Prior art keywords
program
tables
information
related information
processing
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
Application number
JP11080969A
Other languages
Japanese (ja)
Inventor
Yukiko Nonogaki
由紀子 野々垣
Tomihiko Tsunoda
東明彦 角田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP11080969A priority Critical patent/JP2000276386A/en
Publication of JP2000276386A publication Critical patent/JP2000276386A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

PROBLEM TO BE SOLVED: To reduce working load in the manual preparation of a program and to prevent the generation of problem due to a description miss in the program by utilizing related information between tables and automatically generating the program for applying data operation processing to plural tables. SOLUTION: In the program generation system, related information between tables is managed by tool repository 104. The related information is provided with two sorts of information, i.e., depending information and non-depending information. Program patterns are utilized for the generation of a program and these program patterns are prepared in each program language to be used, in each of reference and updating processing patterns and in each of depending and non-depending related sorts. When a master table and a slave table are specified at the time of generating the program, a pattern corresponding to the sort of relation between the tables concerned is acquired and table definition information such as table names and column names are padded to generate the program.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、データベース設計
または、開発支援ツールを利用して作業を行う際の、デ
ータベース操作プログラムの生成方法に関し、特にリレ
ーショナルデータベースのテーブル間の関連情報の管理
と、プログラムパターンを利用したプログラム生成方法
に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for generating a database operation program when working using a database design or development support tool, and more particularly to a method for managing relational information between tables in a relational database and a program. The present invention relates to a program generation method using a pattern.

【0002】[0002]

【従来の技術】従来のリレーショナルデータベースにア
クセスするプログラム自動生成について、特開平10−
161914号公報に記載のように、ツールで管理して
いるテーブル定義情報より、各テーブル単位にデータを
追加、修正、削除、参照するプログラムを個々に生成す
る方式であった。
2. Description of the Related Art Conventional automatic generation of a program for accessing a relational database is disclosed in
As described in Japanese Patent Application Laid-Open No. 161914, a program for individually adding, modifying, deleting, and referencing data for each table is generated from table definition information managed by a tool.

【0003】[0003]

【発明が解決しようとする課題】従来の方法において
は、次のような問題点がある。従来のデータベース設
計、開発ツールでは、識別キー、参照キーというテーブ
ル間の関連情報を管理し、データベース定義文の生成を
行うことは出来たが、データベースに対して追加、更
新、削除、参照のデータ操作処理をするためのプログラ
ムを生成する場合、各テーブル単位にデータ操作をする
プログラムを生成しなければならなかった。複数のテー
ブルのデータ操作をするプログラムを作成する場合に
は、各テーブル単位のプログラムを生成し、その呼び出
しや呼び出し順序は人手で記述する必要があった。
However, the conventional method has the following problems. With the conventional database design and development tools, it was possible to manage the related information between tables such as identification keys and reference keys and generate database definition statements, but to add, update, delete, and reference data to the database When generating a program for performing the operation processing, it is necessary to generate a program for performing a data operation for each table unit. When creating a program for manipulating data in a plurality of tables, it is necessary to generate a program for each table, and to manually describe the calls and call order.

【0004】本発明では、テーブル間の関連情報を利用
し、複数のテーブルに対するデータ操作処理をするため
のプログラムを自動で生成することにより、人手による
プログラム作成時の作業負荷を軽減し、またプログラム
記述ミスの問題を解決する。また、生成するプログラム
はデータを操作する際の関連する処理をまとめたプログ
ラムとなるため、プログラム呼び出しに対する負荷の問
題を改善する。
According to the present invention, a program for performing data manipulation processing on a plurality of tables is automatically generated by using information related to tables, thereby reducing the work load at the time of manually creating a program, and Solve the problem of writing errors. In addition, since the generated program is a program that summarizes related processes when data is manipulated, the problem of load on program calling is improved.

【0005】[0005]

【課題を解決するための手段】本発明では、予めデータ
ベースのテーブル定義情報、及び各テーブルの関連情報
をリポジトリに保持する。リポジトリとは、ツール上で
の作業により定義される設計データを管理するためのデ
ータベース、及び管理システムのことである。リポジト
リは、データベース管理システムを用いての作成、また
は表計算ソフト等のファイルとして作成することも可能
である。リポジトリでは、依存関係と非依存関係という
2種類のテーブル関連情報を持たせる。依存関係とは、
関連元テーブル(以後、親テーブルと呼ぶ)のレコード
が存在しなければ、関連先テーブル(以後、子テーブル
と呼ぶ)のレコードが存在できない関係を示す。非依存
関係とは、親テーブルのレコードがなくても、子テーブ
ルのレコードが存在できる関係を示す。プログラム生成
の際、親テーブル名、子テーブル名を指定することで、
関連の種類に対応したプログラムを生成する。
According to the present invention, table definition information of a database and related information of each table are stored in a repository in advance. The repository is a database and a management system for managing design data defined by work on the tool. The repository can be created using a database management system, or can be created as a file such as spreadsheet software. The repository has two types of table-related information: a dependency relationship and a non-dependency relationship. Dependencies are
If there is no record of the relation source table (hereinafter, referred to as a parent table), it indicates a relation in which no record of the relation destination table (hereinafter, referred to as a child table) cannot exist. The non-dependency indicates a relationship in which a record in the child table can exist without a record in the parent table. By specifying the parent table name and child table name when generating the program,
Generate a program corresponding to the type of association.

【0006】プログラムパターンは生成プログラムの雛
形となるファイルであり、使用するプログラム言語を用
いてプログラム処理の雛形を記述したものである。プロ
グラムパターンは、DBMS(データベースマネージメ
ントシステム)毎、依存、非依存というテーブル間の関
連の種類毎、参照、更新(例えば、追加、修正、削除)
という処理の種別によってそれぞれ用意する。プログラ
ムパターンが、依存かつ参照の場合のプログラム処理
は、親テーブルを検索し、取得したレコードを検索条件
として子テーブルを検索する。非依存かつ参照の場合の
プログラム処理は、親テーブルの識別キー項目を用いて
親テーブルと子テーブルを結合させ、親テーブルのレコ
ードを子テーブルのレコードに付加した形式で情報を取
得する。依存かつ更新の場合のプログラム処理は、追加
の際には、親テーブルにレコードを追加した後、子テー
ブルにレコードを追加し、修正及び削除の際には、子テ
ーブルのレコードを修正、削除した後、親テーブルを修
正、削除する。非依存かつ更新の場合のプログラム処理
は、依存かつ更新の場合と同様の処理である。プログラ
ム生成の際、プログラムパターンに親テーブルのテーブ
ル名、カラム名、及び子テーブルのテーブル名、カラム
名等のテーブル定義情報を埋め込むことでプログラムを
生成する。
The program pattern is a file serving as a template of a generation program, and describes a template of program processing using a programming language to be used. The program pattern is referred to and updated (for example, added, modified, and deleted) for each DBMS (database management system), for each type of association between tables such as dependent and non-dependent.
Are prepared according to the type of the process. When the program pattern is dependent and referenced, the program processing searches the parent table, and searches the child table using the obtained record as a search condition. In the program processing independent and referencing, the parent table and the child table are joined using the identification key item of the parent table, and information is obtained in a format in which the record of the parent table is added to the record of the child table. In the case of dependency and update, the program processing added a record to the parent table at the time of addition, then added a record to the child table, and modified and deleted the record of the child table at the time of modification and deletion Later, modify and delete the parent table. The program processing in the case of non-dependency and updating is the same processing as in the case of dependency and updating. At the time of program generation, a program is generated by embedding table definition information such as the table name and column name of the parent table and the table name and column name of the child table in the program pattern.

【0007】[0007]

【発明の実施の形態】以下、本発明の実施の形態を図面
を利用して、プログラムを生成する場合について詳細に
説明する。
Embodiments of the present invention will now be described in detail with reference to the drawings, in which a program is generated.

【0008】図1は、本発明のデータ操作プログラム生
成(101)の方式を示す機能構成図である。図1にお
いて、入力装置(102)は、生成するプログラムの定
義を行う際、及びプログラム生成を行う際に使用する。
表示装置(103)は、プログラム定義やプログラム生
成を行う際、テーブル名等の項目を表示する。リポジト
リ(104)は、テーブル名やカラム名等の情報を表の
形式で保持しているテーブル定義情報保持領域(30
0)、テーブル間の関連情報を表の形式で保持している
テーブル関連情報保持領域(400)、生成プログラム
に関する親テーブル、子テーブル等を表の形式で保持し
ているプログラム定義情報保持領域(600)、及びプ
ログラムの雛形となるパターンファイル(800)で構
成されている。パターンファイル(800)はプログラ
ム言語毎、参照・更新の処理毎に用意する。
FIG. 1 is a functional block diagram showing a method of generating a data operation program (101) according to the present invention. In FIG. 1, an input device (102) is used when defining a program to be generated and when generating a program.
The display device (103) displays items such as table names when defining a program or generating a program. The repository (104) holds a table definition information holding area (30) holding information such as table names and column names in a table format.
0), a table related information holding area (400) that holds related information between tables in a table format, and a program definition information holding area (400) that holds a parent table, a child table, and the like related to a generated program in a table format. 600) and a pattern file (800) serving as a model of the program. The pattern file (800) is prepared for each program language and for each reference / update process.

【0009】図2は、テーブル間の依存関係、非依存関
係の関連を表す。受注テーブル(201)と受注明細テ
ーブル(202)の関連の種別は、受注テーブル(20
1)を親テーブルとし、受注明細テーブル(202)を
子テーブルとする依存関係(204)であり、受注テー
ブル(201)のレコードが存在しなければ、受注明細
テーブル(202)のレコードは存在できない。また、
社員テーブル(203)と受注テーブル(201)の関
連の種別は、社員テーブル(203)を親テーブルと
し、受注テーブル(201)を子テーブルとする非依存
関係(205)であり、社員テーブル(203)のレコ
ードが存在しなくても、受注レコードは存在できる。
FIG. 2 shows the relationship between tables in a dependency relationship and a non-dependency relationship. The type of association between the order table (201) and the order detail table (202) is the order table (20
This is a dependency relationship (204) in which 1) is a parent table and the order details table (202) is a child table. If there is no record in the order table (201), no record in the order detail table (202) can exist. . Also,
The type of association between the employee table (203) and the order table (201) is a non-dependency (205) using the employee table (203) as a parent table and the order table (201) as a child table. Even if the record of ()) does not exist, the order record can exist.

【0010】図3は、リポジトリ(104)内のテーブ
ル定義情報保持領域(300)を示し、表TABLE
(301)と表TABLE_COLUMN(302)を
保持している。
FIG. 3 shows a table definition information holding area (300) in the repository (104).
(301) and table TABLE_COLUMN (302).

【0011】図4は、リポジトリ(104)内のテーブ
ル関連情報保持領域(400)を示し、表RELATI
ON(401)と、テーブル間の関連の種別をコードと
して管理する表RELATION_KIND(402)
を保持している。
FIG. 4 shows a table-related information holding area (400) in the repository (104).
ON (401) and a table RELATION_KIND (402) for managing the type of association between tables as codes
Holding.

【0012】図5は、プログラム定義情報の登録処理を
示したフローチャートである。表示装置(103)にお
いて、テーブル定義情報保持領域(300)の表TAB
LE(301)に保存されているテーブル名とテーブル
関連情報保持領域(400)の表RELATION(4
01)に保存されているテーブル間の関連情報より、親
テーブルと子テーブルに該当するテーブル名を表示す
る。また、生成するプログラムのプログラム言語と参
照、更新というデータ操作の種別について表示する。表
示装置(103)上の表示内容より、親テーブル名の選
択(501)、子テーブル名の選択(502)、プログ
ラム言語の選択(503)、及び参照・更新というデー
タを操作する処理の種別の選択(504)が可能とな
り、入力装置(102)において生成するプログラムの
定義の情報を入力する。この入力情報により、プログラ
ム言語、テーブル間の関連情報、及び処理が決定され、
内部的にプログラムパターンが選択(505)され、プ
ログラム定義の情報がプログラム定義情報保持領域(6
00)の表PROGRAM_LST(601)に保存
(506)される。
FIG. 5 is a flowchart showing a process for registering program definition information. The table TAB of the table definition information holding area (300) on the display device (103).
The table name stored in the LE (301) and the table RELEATION (4) in the table-related information holding area (400).
The table names corresponding to the parent table and the child table are displayed based on the related information between the tables stored in 01). Also, the program language of the program to be generated and the type of data operation such as reference and update are displayed. From the contents displayed on the display device (103), selection of a parent table name (501), selection of a child table name (502), selection of a program language (503), and type of processing for operating data referred to / updated. Selection (504) becomes possible, and information on the definition of a program to be generated in the input device (102) is input. With this input information, the programming language, related information between tables, and processing are determined,
A program pattern is internally selected (505), and information of the program definition is stored in a program definition information holding area (6).
00) is stored (506) in the table PROGRAM_LST (601).

【0013】図6は、リポジトリ(104)内のプログ
ラム定義情報保持領域(600)を示し、プログラム定
義の登録内容を管理する表PROGRAM_LST(6
01)を保持している。
FIG. 6 shows a program definition information holding area (600) in the repository (104), and a table PROGRAM_LST (6) for managing the registered contents of the program definition.
01).

【0014】図7は、プログラム生成処理(101)を
示したフローチャートである。ユーザはプログラム定義
情報保持領域(600)の表PROGRAM_LST
(601)に保存されているプログラム定義情報より生
成するプログラムの定義情報を選択(701)する。選
択されたプログラム定義情報を基に、テーブル定義情報
保持領域(300)に保存されている表TABLE(3
01)と表TABLE_COLUMN(302)より親
テーブルのテーブル名、カラム名などを取得(702)
し、同様に子テーブルについても取得(703)する。
また、パターンファイルを取得(704)し、親テーブ
ル、及び子テーブルのテーブル名、カラム名などをパタ
ーンに埋め込み(705)、プログラムソース(10
5)を生成する。
FIG. 7 is a flowchart showing the program generation processing (101). The user can create a table PROGRAM_LST in the program definition information holding area (600).
The program definition information generated from the program definition information stored in (601) is selected (701). Based on the selected program definition information, the table TABLE (3) stored in the table definition information holding area (300) is stored.
01) and the table name and column name of the parent table from the table TABLE_COLUMN (302) (702).
Then, similarly, the child table is obtained (703).
Further, a pattern file is obtained (704), the table names and column names of the parent table and child table are embedded in the pattern (705), and the program source (10
5) is generated.

【0015】以下、プログラム生成において、プログラ
ム言語としてCOBOLを用い、テーブル間の関連の種
類が依存であるテーブルに対してデータを参照する処理
のプログラムを生成する場合について具体的に説明す
る。入力装置(102)において、親テーブルとして受
注テーブル(201)、子テーブルとして受注明細テー
ブル(202)を選択し、プログラム言語はCOBO
L、データを操作する処理の種別は参照を選択し登録す
る。登録の際、テーブル関連情報保持領域(400)の
表RELATION(401)に格納されている依存と
いうテーブル間の依存関係を取得し、パターンファイル
はプログラム言語がCOBOL、かつデータを操作する
処理の種別が参照、かつテーブル間の関連の種別が依存
のパターンファイルをプログラム定義情報保持領域(6
00)の表PROGRAM_LST(601)に格納す
る。プログラム生成において、プログラム定義情報よ
り、上記のプログラム定義を選択すると、テーブル定義
情報保持領域(600)の表TABLE(301)と表
TABLE_COLUMN(302)に格納されている
受注テーブル(201)と受注明細テーブル(202)
のテーブル名やカラム名などを取得し、パターンファイ
ル(805)に取得したテーブル名やカラム名などを埋
め込む。
Hereinafter, a specific description will be given of a case in which COBOL is used as a program language in generating a program, and a program of processing for referencing data to a table on which the type of association between tables depends is described. In the input device (102), an order receiving table (201) is selected as a parent table and an order receiving detail table (202) is selected as a child table, and the programming language is COBO.
L, the type of the process for operating data is selected and registered. At the time of registration, a dependency relationship between the tables called dependencies stored in the table RELEATION (401) of the table related information holding area (400) is acquired, and the pattern file has a program language of COBOL and a type of processing for operating data. Is referred to and the pattern file in which the type of association between the tables depends is defined in the program definition information holding area (6).
00) in the table PROGRAM_LST (601). In the program generation, when the above-described program definition is selected from the program definition information, the order table (201) stored in the table TABLE (301) and the table TABLE_COLUMN (302) of the table definition information holding area (600) and the order details Table (202)
Then, the table name and column name are acquired, and the acquired table name and column name are embedded in the pattern file (805).

【0016】図8はプログラム言語がCOBOLであ
り、データを操作する処理の種別が参照であり、テーブ
ル間の関連の種別が依存のパターンファイルに記述され
ている処理である場合のフローチャートを示している。
このパターンファイルの処理内容は次のような処理であ
る。親テーブルの受注テーブル(201)を検索し、1
件目のレコードを取得(801)する。取得した親テー
ブルのレコードを条件として、該当する子テーブルの受
注明細テーブル(202)を検索し、1件目のレコード
を取得(802)し、全てのレコードを取得(803)
するまで繰返す。この処理を、親テーブルの全件のレコ
ードを取得(804)するまで繰返す。図9に生成した
受注テーブル(201)、及び受注明細(202)テー
ブルのデータを参照する処理のプログラムの一部(90
1)を示す。
FIG. 8 shows a flowchart in the case where the programming language is COBOL, the type of processing for operating data is reference, and the type of association between tables is a processing described in a dependent pattern file. I have.
The processing contents of this pattern file are as follows. The order table (201) of the parent table is searched, and 1
The first record is acquired (801). With the acquired parent table record as a condition, the corresponding child table order detail table (202) is searched, the first record is acquired (802), and all records are acquired (803).
Repeat until This process is repeated until all records of the parent table are obtained (804). A part of a program (90) for referring to the data of the order table (201) and the order detail (202) table generated in FIG.
1) is shown.

【0017】プログラム言語はCOBOL以外の言語で
も同様の方式で可能であり、データ操作処理についても
更新系の処理も参照系の処理と同様の方式で可能であ
る。
The programming language can be a language other than COBOL in the same manner, and the data manipulation processing and the update processing can be performed in the same manner as the reference processing.

【0018】[0018]

【発明の効果】関連情報を利用し、複数のテーブルのデ
ータを操作するプログラムを生成することにより、ユー
ザが各テーブル単位のデータベース操作プログラムを生
成し、その呼び出しや呼び出し順序を人手で記述する必
要がなくなるため、人手による記述ミス等がなくなる。
また、テーブル単位ではなく、関連する処理をまとめた
複数のテーブルのデータを操作するプログラムとなるた
めプログラムの呼び出しに対する負荷が少なくなり、実
行性能が向上する。
According to the present invention, by generating a program for operating data of a plurality of tables by using related information, a user must generate a database operation program for each table and manually describe the calling and calling order thereof. As a result, there is no manual description error.
In addition, since the program operates not on a table basis but on data in a plurality of tables in which related processes are put together, the load on calling the program is reduced, and the execution performance is improved.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の機能を示す構成図。FIG. 1 is a configuration diagram showing functions of the present invention.

【図2】本発明のテーブル関連を示す図。FIG. 2 is a diagram showing a table related to the present invention.

【図3】本発明のテーブル定義情報保持領域のデータ構
成を示す図。
FIG. 3 is a diagram showing a data configuration of a table definition information holding area according to the present invention.

【図4】本発明のテーブル関連情報保持領域のデータ構
成を示す図。
FIG. 4 is a diagram showing a data configuration of a table related information holding area of the present invention.

【図5】本発明のプログラム定義情報登録処理のフロー
チャート。
FIG. 5 is a flowchart of a program definition information registration process according to the present invention.

【図6】本発明のプログラム定義情報保持領域のデータ
構成を示す図。
FIG. 6 is a diagram showing a data configuration of a program definition information holding area according to the present invention.

【図7】本発明のプログラム生成処理のフローチャー
ト。
FIG. 7 is a flowchart of a program generation process according to the present invention.

【図8】本発明のパターンファイルの処理概要を示す
図。(プログラム言語:COBOL 処理:参照 テー
ブル関連種別:依存)
FIG. 8 is a view showing an outline of processing of a pattern file according to the present invention. (Program language: COBOL Processing: Reference Table related type: Dependent)

【図9】本発明の生成プログラムソース例を示す図。
(プログラム言語:COBOL処理:参照 テーブル関
連種別:依存)
FIG. 9 is a diagram showing an example of a generation program source according to the present invention.
(Program language: COBOL processing: Reference table related type: Dependent)

【符号の説明】[Explanation of symbols]

101…プログラム生成処理、 102…入力装
置、103…表示装置、 104…リポ
ジトリ、105…プログラムソース、 201…
テーブル「受注」、202…テーブル「受注明細」、
203…テーブル「社員」、204…依存関係(親テ
ーブル:「受注」 子テーブル:「受注明細」)、20
5…非依存関係(親テーブル:「社員」 子テーブル:
「受注」)、300…テーブル定義情報保持領域、30
1…表TABLE、302…表TABLE_COLUM
N、400…テーブル関連情報保持領域、401…表R
ELATION、402…表RELATION_KIN
D、500…プログラム定義処理、 501…対象
親テーブルの選択、502…対象子テーブルの選択、
503…プログラム言語の選択、504…データ操作
の種別の選択、 505…プログラムパターンの選択、
506…プログラム定義の登録、 600…プログラ
ム定義情報保持領域、601…表PROGRAM_LS
T、700…プログラム生成処理、701…プログラム
定義の選択、 702…対象親テーブルの取得、70
3…対象子テーブルの取得、 704…プログラムパ
ターンの取得、705…プログラムパターンに埋め込
む、800…パターンファイル、801…親テーブルレ
コード1件目を取得、802…子テーブルレコード1件
目を取得、803…子テーブルレコードを全件取得、8
04…親テーブルレコードを全件取得、805…パター
ンファイルの例、(プログラム言語…COBOL 処
理:参照 テーブル関連種別:依存))、901…生成
プログラムソースの例、(プログラム言語:COBOL
処理:参照 テーブル関連種別:依存)。
101: Program generation processing, 102: Input device, 103: Display device, 104: Repository, 105: Program source, 201:
Table "Orders", 202 ... Table "Order Details",
203: table "employee", 204: dependency (parent table: "order" child table: "order details"), 20
5 ... Independent relationship (parent table: "Employee" child table:
"Order"), 300 ... table definition information holding area, 30
1 ... Table TABLE, 302 ... Table TABLE_COLUM
N, 400: table related information holding area; 401: table R
ELATION, 402 ... table RELEATION_KIN
D, 500: Program definition processing, 501: Selection of target parent table, 502: Selection of target child table,
503: Selection of programming language, 504: Selection of type of data operation, 505: Selection of program pattern,
506: Registration of program definition, 600: Program definition information holding area, 601: Table PROGRAM_LS
T, 700: Program generation processing, 701: Selection of program definition, 702: Acquisition of target parent table, 70
3: Acquisition of target child table, 704: Acquisition of program pattern, 705: Embedding in program pattern, 800: Pattern file, 801: Acquisition of first parent table record, 802: Acquisition of first child table record, 803 … Get all child table records, 8
04: Acquisition of all parent table records, 805: Example of pattern file, (Program language: COBOL processing: Reference table related type: Dependent), 901: Example of generated program source, (Program language: COBOL)
Processing: Referencing Table related type: Dependent).

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】データベース設計作業の支援または開発支
援に用いるプログラム生成方法において、テーブル間の
関連情報を入力することによって、関連を持つ複数のリ
レーショナルデータベースに格納されているデータを操
作するプログラムを生成することを特徴とするプログラ
ム生成方法。
In a method for generating a program used for supporting database design work or developing, a program for operating data stored in a plurality of relational databases having a relation by inputting related information between tables is generated. A program generation method.
【請求項2】データベース設計作業の支援または開発支
援に用いるプログラム生成装置において、リレーショナ
ルデータベースに格納されているデータを操作するプロ
グラムを作成する際にテーブル間の関連情報を入力する
手段と、設計データを管理するリポジトリ内でテーブル
間の関連情報とプログラムの雛形となるパターンを保持
する手段と、テーブル間の関連の種類に該当するプログ
ラムパターンを取得する手段とを有し、テーブル間の関
連の種類に適合したプログラムを生成することを特徴と
するプログラム生成装置。
2. A program generating apparatus for supporting database design work or development support, comprising: means for inputting related information between tables when creating a program for operating data stored in a relational database; In the repository that manages the relationship between the tables and a pattern that is a template of the program, and a unit that acquires a program pattern corresponding to the type of the relationship between the tables. A program generating apparatus for generating a program adapted to a program.
【請求項3】請求項2記載において、該テーブル間の関
連情報は、依存関係と非依存関係であることを特徴とす
るプログラム生成装置。
3. The program generation device according to claim 2, wherein the related information between the tables is a dependency relationship and a non-dependency relationship.
【請求項4】請求項3記載において、該プログラムの雛
形となるパターンは、依存または非依存毎、参照または
更新という処理毎に対応して用意してあることを特徴と
するプログラム生成装置。
4. The program generating apparatus according to claim 3, wherein a pattern serving as a model of the program is prepared for each dependent or non-dependent, and for each processing of reference or update.
JP11080969A 1999-03-25 1999-03-25 Method and device for generating program utilizing relation of relational data base Pending JP2000276386A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11080969A JP2000276386A (en) 1999-03-25 1999-03-25 Method and device for generating program utilizing relation of relational data base

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11080969A JP2000276386A (en) 1999-03-25 1999-03-25 Method and device for generating program utilizing relation of relational data base

Publications (1)

Publication Number Publication Date
JP2000276386A true JP2000276386A (en) 2000-10-06

Family

ID=13733354

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11080969A Pending JP2000276386A (en) 1999-03-25 1999-03-25 Method and device for generating program utilizing relation of relational data base

Country Status (1)

Country Link
JP (1) JP2000276386A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002366401A (en) * 2001-06-06 2002-12-20 Nippon Yunishisu Kk Integral data mart structure, and operation supporting system
JP2008027072A (en) * 2006-07-19 2008-02-07 Fujitsu Ltd Database analysis program, database analysis apparatus and database analysis method
CN100383793C (en) * 2006-03-17 2008-04-23 华为技术有限公司 Method and system for realizing update data in real time data bank
CN108415998A (en) * 2018-02-24 2018-08-17 平安科技(深圳)有限公司 Using dependence update method, terminal, equipment and storage medium

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002366401A (en) * 2001-06-06 2002-12-20 Nippon Yunishisu Kk Integral data mart structure, and operation supporting system
CN100383793C (en) * 2006-03-17 2008-04-23 华为技术有限公司 Method and system for realizing update data in real time data bank
JP2008027072A (en) * 2006-07-19 2008-02-07 Fujitsu Ltd Database analysis program, database analysis apparatus and database analysis method
CN108415998A (en) * 2018-02-24 2018-08-17 平安科技(深圳)有限公司 Using dependence update method, terminal, equipment and storage medium
CN108415998B (en) * 2018-02-24 2020-02-21 平安科技(深圳)有限公司 Application dependency relationship updating method, terminal, device and storage medium

Similar Documents

Publication Publication Date Title
US5802524A (en) Method and product for integrating an object-based search engine with a parametrically archived database
US7013312B2 (en) Web-based strategic client planning system for end-user creation of queries, reports and database updates
JP5065056B2 (en) Method, computer program, and system for processing a workflow (integrating data management operations into a workflow system)
US6418450B2 (en) Data warehouse programs architecture
JP2002502075A (en) How to synchronize a database schema with its representation in an object-oriented repository
Rajlich et al. VIFOR: A tool for software maintenance
US6301581B1 (en) Method and system for managing access to a plurality of data objects
US20040044989A1 (en) Apparatus and method using pre-described patterns and reflection to generate source code
JPH04172542A (en) Function extension system for data base management system
US7707211B2 (en) Information management system and method
JP2006524376A (en) Generic database schema
JP3204044B2 (en) Organization chart processing device
JP2000276386A (en) Method and device for generating program utilizing relation of relational data base
US7251641B2 (en) Adjustable database runtime kernel
US20050114404A1 (en) Database table version upload
KR100428706B1 (en) Method for Creating Program Code Automatically Using Pattern and Component
JPH07271569A (en) Program specification preparation system
JPH0695861A (en) Program parts reuse managing device
JP2001350883A (en) Organization chart processor
JP2004126680A (en) Sql masking type database access method and computer program
JP2003280956A5 (en)
JP2000029898A (en) Sql generation system
Park et al. An expert classification system for production system
KR0175579B1 (en) Version Control Method of Object-Oriented SDL Specification
KR100309670B1 (en) System for converting schema of case model information