found another possible source of error in respect to hibernate constraint violation exception and fixed it