Chapter Three: Donna K. Keesling and James L. Spiller, in 2014 (7) Oracle 12 C
Chapter Three: Donna K. Keesling and James L. Spiller, in 2014 (7) Oracle 12 C
Introduction
This chapter is present the design of Oracle Based Banking Database. The
system deals with tables and entries that concerns complicated multi-level of
data . The main core of the designed system is Oracle 12C that achieves all
functions of the proposed design. This chapter gives brief definitions of system
functions, mechanism and the communication between the system components.
Oracle Create Query :- is used to create table , view , sequence, procedure and
function .
3-1-1 Performance :-
3-1-3 Scalability:-
3-1-4 Maintainability:-
3-1-5 Interoperability:-
3-1-6 Security:-
You can restrict access to Oracle data by allowing users to manipulate the data
only through stored procedures that execute with their definer's privileges. For
example, you can allow access to a procedure that updates a database table, but
deny access to the table itself.
3-1-7 Replication:-
COMMIT Statement :-
In Oracle 12C Database, the COMMIT statement commits all changes for
the current transaction. Once a commit is issued, other users will be able to see
your changes as shown in figure (3-). The syntax for the COMMIT statement in
Oracle/PLSQL is :
Create Trigger:-
A trigger is a named program unit that is stored in the database
and fired (executed) in response to a specified event. The specified event is
associated with either a table, a view, a schema, or the database, and it is one of
the following:
A database manipulation (DML) statement .
A database definition (DDL) statement .
A database operation .
States Of Triggers :-
A trigger can be in either of two states ( Enable and Disable ) :-
Disabled. A disabled trigger does not execute its trigger body, even if a
triggering statement is entered and the trigger restriction (if any) evaluates to
TRUE .
Create view:-
Use the statement to define a view, which is a logical table based on one or
more tables or views. A view contains no data itself. The tables upon which a
view is based are called base tables. Views are virtual tables formed by a query.
A view is a dictionary object that you can use until you drop it. Views are not
updatable. If a qualified view name is specified, the schema name cannot begin
with SYS.
A view operates with the privileges of the owner of the view. See "Using SQL
standard authorization" and "Privileges on views, triggers, and constraints" in
the Java DB Developer's Guide for details.
The view owner automatically gains the SELECT privilege on the view. The
SELECT privilege cannot be revoked from the view owner .The view owner
can only grant the SELECT privilege to other users if the view owner also owns
the underlying objects.
Create table:-
The create table statement to create one of the following table as shown in
figure (3-) :-
An object table :- which is a table that uses an object type for a column
and hold object instances of a particular type as shown in figure (3-).
Transactions table:-
Account table
Create table called (account table) content customer Id (PK) ,Branch Id,
Currency number, and GL number . this is used to record information of
account .
Java Swing
Java swing was developed to provide a more sophisticated set of GUI
components . Swing provides several advanced components such as tabbed
panel, scroll panes , trees, table and lists as shown in figure (3-).