- CREATE DATABASE "TESTS"
- WITH OWNER = postgres
- ENCODING = 'UTF8'
- TABLESPACE = pg_default
- CONNECTION LIMIT = -1;
Then create the table in databse 'TESTS':
- CREATE TABLE USERS (
- ID serial NOT NULL,
- USERNAME text NOT NULL,
- NAME text NOT NULL
- );
Download the example from github.Build(mvn clean install) And run Main.java
No comments:
Post a Comment