Connection

Check database connection

At the beginning, check the database connection.


Prepare:

- an url with database IP and PORT
- username
- password
- database Driver library
- Driver class 


Having such data, we can check the connection from DaobabGenerator class.

You can do it from some class with main method for example, or even from some test unit case.


Example connection check for PosgreSql


Example connection to MySql database:

If all parameters are correct, after execution you should see some information about accessed database:

Above example shows PostgreSql database having one catalog 'postgres' and four schemas inside.

If your database connection is fine, you may begin the reverse engineering.

© Copyright 2018-2023 Elephant Software Klaudiusz Wojtkowiak 
e-mail: contact@daobab.io