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;
No, @Transient is to be totally ignored either in storing or loading from database
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With