In DDD we say that the domain Entity is not a representation of the database model/entity. We also say that to correctly extract the domain model from the application, the domain model is not supposed to have any information about the way it is persisted or the way it is returned to the client.
The problem I have is that when dealing with most ORM's or database abstractions, we are required to annotate the database entity with some database specific annotations, thereby breaking the rules.
Does this mean that we are supposed to create one entity for the domain and another one for the persisting?
I am new to this and not sure what the correct approach is.