The question is in the title.
Some explanation: I can't implement necessary mapping. But I can get all necessary data using queries in DAOs. So, I want to insert that data manually to my entity in DAOs findAll () method.
But JPA treats all entity's fields as persistent attributes and adds them to generated sql-queries. Of course, I get an exception that query cannot be performed. So, I need to state that 'this field will be set manually, skip it'.
P.S. This solution sounds ugly even to me, but I cant find any better solution because I have 'immutable' DB schema and I need to map it on my entities.