Skip to content

plm/exposed-entityid-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

Exposed EntityID reference example

A test for unexpected behavior JetBrains' Exposed library when creating records where columns reference an EntityId.

Setup

docker run \
       --name exposed-entityid-example \
       --publish 54321:5432 \
       --rm \
       --detach \
       --env POSTGRES_PASSWORD=example \
       postgres:9.6-alpine
docker run \
       --interactive \
       --rm \
       --link exposed-entityid-example:postgres \
       --env PGPASSWORD=example \
       postgres:9.6-alpine \
       psql --host=postgres \
            --username=postgres <<EOF
CREATE ROLE example NOSUPERUSER NOCREATEDB NOCREATEROLE INHERIT LOGIN PASSWORD 'example';
CREATE DATABASE example OWNER example ENCODING 'UTF8';
EOF

Run

./gradlew test

Cleanup

docker stop exposed-entityid-example

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages