Motivated by this answer I began to study more in details the functionality of JPA's @Transient annotation. In mentioned answer stands:
One merge or refresh too many and your transient field value is lost.
Then every documentation I have had a glance says approximately the same:
Fields annotated with @Transient are not persisted
I found nothing about ignoring such a field totally and I realize I have no explicit evidence but somehow I have always understood it implicitly like @Transient annotated fields are ignored by JPA (provider).
Would there be a point - for an example - to fetch such a field from the database if it is never persisted there, I mean persisted in a JPA context. For such there are @Column(insertable=false, updatable=false) I guess?
So could it really be that I should be aware that merge or refresh for an entity, managed or not at the time of operation, makes the value of some @Transient field change?
And if yes, what would be a simple example of such situation?