Removed sql line in domain class