Skip to content

Samyak2/simple-db

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SimpleDB

The initial code has been derived from simpledb

The package and refactoring was done to make it simpler to manage and maven build added to it.

Following is list of changes to original zip file

  • Maven build added
  • Modules added as maven multi-modules
  • Updated packages as com.simpledb*
  • Moved test classes to test folder

How to Build

Pre-requisite

  • JDK 21
  • Maven 3.9.4+

Run following command to build/install

$mvn clean install

or

$mvn clean package

NOTE: to use a lower version of JDK update maven.compiler.release to jdk version and derby.version in pom.xml to the version compatible with JDK release. This has not been tested with lower JDK version.

Usage

Run a nix-shell, mvn package and then start a server:

java com.simpledb.server.StartServer

In another terminal, start a client:

java com.simpledb.simpleclient.SimpleIJ

Use jdbc:simpledb://localhost as the connection URI.

About

Code for the book "Database Design and Implementation" by Edward Sciore

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Java 99.9%
  • Nix 0.1%