Fixed connection to the database/ Problem was in ConnectionFactory/ Variables as Strings