Oracle 12c or higher |
jdbc:<database type>:<driver name>:@<database host name>:<port>:<SID/Service> |
jdbc:oracle:thin:@localhost:1521:XE |
MySQL 8 or higher |
jdbc:<database type>://<database host name>:<port>/<database name> |
jdbc:mysql://localhost:3306/employeeData |
PostgreSQL 10 or higher |
jdbc:<database type>://<database host name>:<port>/<database name> |
jdbc:postgresql://localhost:5432/employee_db |
Microsoft SQL 2015 or higher |
jdbc:<database type>://<database host name>\<instance>:<port> |
jdbc:sqlserver://localhost\employeeData:5432 |