App now initializes connection

This commit is contained in:
Marcin Kostrzewski 2020-10-29 13:52:41 +01:00
parent 8d88a554f7
commit ca345b3422

View File

@ -1,13 +1,20 @@
package Main;
import org.apache.log4j.BasicConfigurator;
import org.apache.log4j.LogManager;
import org.apache.log4j.Logger;
import java.io.IOException;
public class App {
private static final Logger logger = LogManager.getLogger(App.class);
public static void main(String[] args){
BasicConfigurator.configure();
try {
Connection connection = new Connection("localhost");
} catch (IOException exception) {
exception.printStackTrace();
}
}
}