Skip to content

Latest commit

 

History

History
48 lines (34 loc) · 754 Bytes

README.md

File metadata and controls

48 lines (34 loc) · 754 Bytes

SQL Minus

Requirement

  • Java11 or above

Build

./gradlew clean build

Run

mkdir db_files
java -jar build/libs/*.jar 8001

Native Build

download GraalVM20

~/graalvm-ce-java11-20.0.0/Contents/Home/bin/gu install native-image
~/graalvm-ce-java11-20.0.0/Contents/Home/bin/native-image --no-fallback -jar build/libs/*.jar

Native Run

./sql_minus-1.0-SNAPSHOT 8001

Practice

telnet localhost 8001
> create database db_1
> connect db_1
> create table sample_table (id int, name varchar(20), status smallint )
> insert into sample_table(id, name, status) values (101, 'Taro', 1)
> select * from sample_table
> exit
Bye