Implement distributed transations Management in the Campus System Zhuo Zeng.

Slides:



Advertisements
Similar presentations
Query Methods (SQL). What is SQL A programming language for databases. SQL (structured Query Language) It allows you add, edit, delete and run queries.
Advertisements

Basic SQL Introduction Presented by: Madhuri Bhogadi.
Updating Databases With Open SQL
Murach’s Java SE 6, C21© 2007, Mike Murach & Associates, Inc.Slide 1.
DAVID M. KROENKE’S DATABASE PROCESSING, 10th Edition © 2006 Pearson Prentice Hall 4-1 David M. Kroenke Database Processing Chapter 2 Structured Query Language.
A Guide to SQL, Seventh Edition. Objectives Create a new table from an existing table Change data using the UPDATE command Add new data using the INSERT.
GGF Toronto Spitfire A Relational DB Service for the Grid Peter Z. Kunszt European DataGrid Data Management CERN Database Group.
Spring 2010ACS-3913 Ron McFadyen1 Command The complex remote control (many pairs of buttons; null command) Undo … pages 216+ Macro … pages 224+
Oracle SQL*plus John Ortiz. Lecture 10SQL: Overview2 Overview  SQL: Structured Query Language, pronounced S. Q. L. or sequel.  A standard language for.
Chapter 08 How to Insert, Update, and Delete Data MIT 22033, Database Management Systems By. S. Sabraz Nawaz.
Managing the Data SQL Overview. Client\Server RDMS (relational database management system) Client\Server RDMS (relational database management system)
Accuplacer & Compass Download Application Bettsie Montero – Imperial Valley College.
Managing Multi-User Databases AIMS 3710 R. Nakatsu.
Project Implementation for COSC 5050 Distributed Database Applications Lab2.
MS Access Database Connection. Database? A database is a program that stores data and records in a structured and queryable format. The tools that are.
DBMS Transactions and Rollback Recovery Helia / Martti Laiho.
Component 4/Unit 6f Topic VI: Create simple querying statements for the database The SELECT statement Clauses Functions Joins Subqueries Data manipulation.
Database Management Systems Introduction. In the Beginning… Customer Program 1.
1 Copyright © 2004, Oracle. All rights reserved. Introduction.
MySQL Database Connection
Tutorial 6 SQL Muhammad Sulayman
Quick review of SQL And conversion to Oracle SQL.
1 Chapter Overview Performing Configuration Tasks Setting Up Additional Features Performing Maintenance Tasks.
Web Server Administration Chapter 7 Installing and Testing a Programming Environment.
Course FAQ’s I do not have any knowledge on SQL concepts or Database Testing. Will this course helps me to get through all the concepts? What kind of.
Database Architecture Course Orientation & Context.
CS453: Databases and State in Web Applications (Part 2) Prof. Tom Horton.
DATABASE CONNECTIVITY TO MYSQL. Introduction =>A real life application needs to manipulate data stored in a Database. =>A database is a collection of.
Database Design And Implementation. Done so far… Started a design of your own data model In Software Engineering, recognised the processes that occur.
RAD to Database Connection Glenn Campbell
SQL.. AN OVERVIEW lecture3 1. Overview of SQL 2  Query: allow questions to be asked of the data and display only the information required. It can include.
1 Announcements Reading for next week: Chapter 4 Your first homework will be assigned as soon as your database accounts have been set up.  Expect an .
Transactions, Roles & Privileges Oracle and ANSI Standard SQL Lecture 11.
A Guide to SQL, Eighth Edition Chapter Six Updating Data.
Component 4: Introduction to Information and Computer Science Unit 6: Databases and SQL Lecture 6 This material was developed by Oregon Health & Science.
Oracle 11g: SQL Chapter 7 User Creation and Management.
10 1 Chapter 10 - A Transaction Management Database Systems: Design, Implementation, and Management, Rob and Coronel.
SQL Query Analyzer. Graphical tool that allows you to:  Create queries and other SQL scripts and execute them against SQL Server databases. (Query window)
Oracle 10g Database Administrator: Implementation and Administration Chapter 10 Basic Data Management.
A Guide to MySQL 6. 2 Objectives Create a new table from an existing table Change data using the UPDATE command Add new data using the INSERT command.
A Guide to SQL, Sixth Edition 1 Chapter 5 Updating Data.
7 1 Database Systems: Design, Implementation, & Management, 7 th Edition, Rob & Coronel 7.6 Advanced Select Queries SQL provides useful functions that.
© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/3 The SqlCommand Object ADO.NET - Lesson 03  Training time: 15 minutes  Author:
Delete Data Database Administration Fundamentals LESSON 3.4.
7.5 Using Stored-Procedure and Triggers NAME MATRIC NUM GROUP Muhammad Azwan Bin Khairul Anwar CS2305A Muhammad Faiz Bin Badrol Shah CS2305B.
How To Start a SQL server Connecting to SQL Server.
MATLAB DATABASE Configuration
Database Access with SQL
PHP + MySQL Commands Refresher.
Interacting with the Oracle Server
MS Access Database Connection
Principles of GIS Fundamental database concepts Shaowen Wang
SQL 101.
SQL Data Modification Statements.
Transactions Properties.
Lecture Set 14 B new Introduction to Databases - Database Processing: The Connected Model (Using DataReaders)
PT2520 Unit 9: Database Security II
Data Control Language Grant, Revoke.
مقدمة في قواعد البيانات
SQL Fundamentals in Three Hours
Accessing Your MySQL Database from the Web with PHP (Ch 11)
HAVING,INDEX,COMMIT & ROLLBACK
SQL .. An overview lecture3.
06 | Understanding Databases
Data Access Layer (Con’t) (Overview)
Updating Databases With Open SQL
Database SQL.
Review #1 Intro stuff What is a database, 4 parts, 3 users, etc.
JDBC II IS
Updating Databases With Open SQL
Presentation transcript:

Implement distributed transations Management in the Campus System Zhuo Zeng

Layers Three layers: 1.Presentation Layer 2.Application Layer 3.Data Mapping Layer

Database 3 tables:

Data-Mapping

Strust+Spring+Hibernate

Connection Pool <bean id="dataSource" class="com.mchange.v2.c3p0.ComboPooledDataSource " destroy-method="close" p:driverClass="com.microsoft.sqlserver.jdbc.SQLServer Driver" p:jdbcUrl="jdbc:sqlserver://localhost:1433;databaseNam e=Admin" p:user="sa" p:password="123456" p:maxPoolSize="40" p:minPoolSize="1" p:initialPoolSize="1" p:maxIdleTime="20" />

Transaction The simplistic view of a transaction issued to the database using SQL is as follows: 1.Begin the transaction using begin transaction command. 2.Perform various deleted, update or insert operations using SQL queries. 3.If all the operation are successful then perform commit otherwise rollback all the operations.

Transaction PROPAGATION_REQUIRED PROPAGATION_REQUIRED PROPAGATION_SUPPORTS,readOnly

Login

Administrator

Student Management

Teacher Management

Course Management

Teacher Management System

Student Management System