Existing System
Existing System
Whenever the user needs to access the required databases he must leave
the current database and to access the required databases.
Existing systems are used to access the database and build the queries and to
run it in the same editor pane.
Proposed System:
Browse the database from catalog to schema to table type to table and
columns. A text field is supplied to add a regular expression that filters the
tree.
Query Builder enables to code the syntax in simplified form
Select a table in the database navigator to creating select, insert, update, and
delete query statements.
Other nifty features as in a clean function that extracts SQL from a Java
String.
Distributed JDBC Query Builder enables to access all databases in the same
environment
SYSTEM REQUIREMENTS:
HARDWARE REQUIREMENTS
Processor : Intel Pentium IV
Hard disk : 80 GB
CD-RO : 52X
Memory Size :128 MB RAM
Monitor : 15“ Color Monitor
Key board : 107 Keys
SOFTWARE REQUIREMENTS
Platform : Windows XP, 2000, NT
Software : Java, SQl
Running a query:
This module has the editor pane to type the queries and to run it. The custom
queries that are compiled in the editor pane is listed in the appropriate tab
column.
The default size that the result will be 1000 rows. But we can able to alter it.
As the way the column for the result set returned can also be able to resize.
The results can be able to export either in clipboard or to a file and in two
formats tab delimited and comma delimited
Prepared St Editor:
The feature of Distributed Query Builder is to run SQL statements that are
prepared statements. A textbox in the left hand side will appear with the
option of defining the value and type of the question mark.
The types are little different column that has varchar, char and text are
processed as type String.
The database navigator displays the tree level node of the tables. It allows to
input a regular expression to filter the tree.
Query Builder:
Query builder is a graphical way of building queries. The query builder is useful
as a starting point to create queries.
Select Builder
There are three parts of creating a select statement with the select query
builder.
First is the fields to display in the select section.
Second is the alias of the table in the table section.
If an alias is used, that fields will update to use
the alias.
Third is the where clause in the where section. There are four parts to
each clause in the where section: the left field , the relationship, the value,
and the conjunction.
If none of these fields are selected, then the query generated will be of the
form "SELECT * FROM <table selected>". All the sections are editable,
even the drop downs.
Update Builder
The update builder is similar to the select builder except there is a set section
instead of a select section.
You can specify the values for each of the columns in the set section and they
will be inputted as values in a prepared statement.
Insert Builder
The insert builder has only one section and that is to specify the values
of the new row.
Delete Builder
The delete query builder allows you to create a delete statement and
prerun it as a select statement to see which rows you are actually deleting
Clean
The clean option takes Java code and extract SQL from it.
IPlug-in
A plug-in that integrate with Query Builder. Defines
the basic structure of a plug-in. Most of the time this will not be the interface to
use.
IPlug-inAction
A plug-in that defines an action to perform in Distributed JDBC Query
Builder. Provides hooks within Distributed JDBC Query Builder to define a
menu path and a short cut to execute an action
IPluginMultipleAction
A plugin which defines multiple plugin actions.
Future Enhancements:
This project deals with highly secured query building in various database
drivers. Since the requirement may rice in future, this project canbe updated
accordingly.
In future the project will be implemented through modern database
connectivity or developed in advanced features of future java technology.
The result of the Distributed JDBC Query Builder is that it supports many
corporate clients and the individual users unique interface, through which the
DB problems are solved within given time and it shows efficiency to create
accurate results, run with the minimal administration.