System and method for browsing database schema information
First Claim
1. A system operable in a computer having a memory for displaying to a user database schema information of a database having metadata describing the database schema, the system comprising:
- a database schema access object in the memory having database specific methods for connecting to the database and for retrieving the metadata;
a database independent browsing object which calls the methods in the database schema access object to retrieve the metadata and format the metadata as database independent information; and
a display mechanism for displaying the database independent information to the user.
3 Assignments
0 Petitions
Accused Products
Abstract
A query object generator tool which generates interface definitions and code that implement a query object also generates a database schema access query object that retrieves the schema of an underlying database. Instead of retrieving data from the database, the database schema access query object retrieves “metadata”, including the names of tables and stored procedures in the database and their descriptions, from the database. The metadata is then displayed as part of a graphic user interface which is used to construct the SQL query implemented by the query object. In accordance with one embodiment of the invention, the database schema access object also verifies that an SQL query generated by a user is valid by submitting the query to the database engine of the underlying database. In accordance with another embodiment of the invention the database schema access object contains methods which perform automatic mapping of “standard” SQL data types to vendor-specific data.
-
Citations
25 Claims
-
1. A system operable in a computer having a memory for displaying to a user database schema information of a database having metadata describing the database schema, the system comprising:
-
a database schema access object in the memory having database specific methods for connecting to the database and for retrieving the metadata;
a database independent browsing object which calls the methods in the database schema access object to retrieve the metadata and format the metadata as database independent information; and
a display mechanism for displaying the database independent information to the user. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
-
-
12. A method operable in a computer having a memory for displaying to a user database schema information of a database having metadata describing the database schema, the method comprising the steps of:
-
(a) creating a database schema access object in the memory having database specific methods for connecting to the database and for retrieving the metadata;
(b) creating a database independent browsing object which calls the methods in the database schema access object to retrieve the metadata and format the metadata as database independent information; and
(c) displaying the database independent information to the user. - View Dependent Claims (13, 14, 15, 16, 17, 18, 19, 20)
(c1) displaying the database independent information graphically to the user.
-
-
15. A method according to claim 12 wherein the database schema access object includes a method for retrieving metadata describing database objects.
-
16. A method according to claim 12 wherein the database schema access object includes a method for retrieving metadata describing database procedures.
-
17. A method according to claim 12 wherein the database schema access object includes a method for retrieving metadata describing database column information.
-
18. A method according to claim 12 wherein the database schema access object includes a method for submitting a query to the database for validating the query syntax.
-
19. A method according to claim 18 wherein the method for submitting a query to the database comprises a method for performing a rollback of changes made to the database by the query.
-
20. A method according to claim 12 wherein the database schema access object includes a method for translating data types between SQL data types and database specific data types.
-
21. A computer program product operable in a computer having a memory for displaying to a user database schema information of a database having metadata describing the database schema, the computer program product comprising a computer usable medium having computer readable program code thereon, including:
-
program class code for creating a database schema access object in the memory having database specific methods for connecting to the database and for retrieving the metadata;
program class code for creating a database independent browsing object which calls the methods in the database schema access object to retrieve the metadata and format the metadata as database independent information; and
program code for displaying the database independent information to the user. - View Dependent Claims (22, 23, 24, 25)
-
Specification