IntelliJ IDEA H2 Support
Jump to navigation
Jump to search
Internal
Overview
An external H2 instance must be running and exposing access over network. This article explains how to do that: Accessing an H2 Instance Embedded within a Different JVM.
Right edge tabs -> Database -> + -> Driver -> PostgreSQL -> make sure it's downloaded and it is new enough.
Right edge tabs -> Database -> + -> Data Source -> PostgreSQL:
Name: Docker Posgres
Host: localhost
Port: 5432
Database: postgres
User: admin
Password: the password you used during the container configuration phase. Select "Remember password".
Test Connection.
Apply -> OK.