Skip to content

485Spring2023/SimpleFDBExample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple FDB Example

Overview

This project presents how to use FoundationDB's Java API to develop software by a simple Employee-Department example.

Employee.java and Department.java define the schema of two entity sets.

SimpleEmployeeDepartment.java creates two tables, Employee and Department. Employee table looks like this:

SSN Name Salary Dno
1 Bob 10000 1
2 Alice 5000 2
3 Ketty 7000 2

Department table looks like this:

Dno Name Address
1 Computer Science 3650 McClintock Ave
2 Cinematic Arts 900 W 34th St

How to build and run

First, please make sure that the FDB is up and running on your local machine.

Then, change your current directory to this project's directory, and type:

bash run.sh

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published