Kevin Rave
Kevin Rave

Reputation: 14436

Does @Transient field value get loaded?

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

Answers (1)

morgano
morgano

Reputation: 17422

No, @Transient is to be totally ignored either in storing or loading from database

Upvotes: 3

Related Questions