I have a feeling that adding fields marked with @Transient annotation to entity is very bug-prone. A
- by Roman
I have some philosophical feeling that adding to an entity fields which doesn't mapped to the DB is a wrong way of solving problems.
But are there any concrete situations where using @Transient fields leads to implicit and hard fixing problems?
For example, is it possible that adding/removing 2nd level cache will break our app when there are @Transient fields in our entities?