Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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;
like image 876
Kevin Rave Avatar asked Oct 21 '22 06:10

Kevin Rave


1 Answers

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

like image 147
morgano Avatar answered Oct 29 '22 00:10

morgano