problem with table name conversation on windows - linux ( for example on windows entity Pet will be table pet BUT in linux it will be Pet, so problem occur because in mysql database contains table pet). To fix it, add name in @Entity( name = "pet") required.