Reputation: 14436
I know @Transient field value does not get persisted in the database. But does the field value get loaded from the table when Entity is created from a query? (The field exists in the table)
@Transient
@Column (name = "zipcode")
Integer zipcode;
Upvotes: 5
Views: 2194
Reputation: 17422
No, @Transient is to be totally ignored either in storing or loading from database
Upvotes: 3