Entities and MySQL Connection