private ProxyConnection createNewConnection() throws DaoConnectException{
        ProxyConnection conn = null;
        try {
            Class.forName(DB_DRIVER);
            Connection connection = (Connection) DriverManager.getConnection(DB_URL, DB_USER_NAME, DB_PASSWORD);
            connection.setAutoCommit(false);
            conn = new ProxyConnection(connection);
        } catch (SQLException | ClassNotFoundException ex) {
            throw new DaoConnectException("Connection not created.", ex);
        }
        return conn;
    }