Skip to content
This repository has been archived by the owner on Jun 8, 2022. It is now read-only.

Eakan-Git/DBMS-Course

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dir

image

WinForms Application

Final version (Uncompleted)

  • This application requires local database to be loaded, as well as triggers, procedures,...
  • This application is not completed yet, but has no plans to be develop in the future. Well, we stepped on ours deadline.
  • Open source for education purpose.

Login

image

Sign Up

As A Customer

image

Sign Up To Be A Shipper

image

Sign Up To Be A Partner

image

Profile (As A Customer)

image

Products Manage

image

Orders Manage

image

Customer Manage

image

Staff Manage

image

Shipper Manage

image

Partner Manage

image

Concurrency Demo

Dirty Read

Problem

  • Staff updates price for all products of a department, a customer request to read all product of this department at the same time, too.
  • Well, after the customer read data, a issue occured that staff's transaction has to be rolled back. image

Handled

  • Customer has to wait until the staff's transaction is commited or rolled back. (??? :D How silly) image

Unreapeatable Read

Problem

  • Shipper want to search specified products quantity of an order
  • But the customer makes change of quantity at the same time. image

Handled

  • Customer has to waits until shipper's transaction is finished.
  • image

Phantom Read

Problem

  • Customer search all products have price bigger than given value.
  • Staff added a new product has price in range which to be searched by customer.
  • Staff's transaction is rolled back. image

Handled

  • Staff has to wait for customer. image