What is the use of transient?
Answer / Savitri Devi
The transient keyword in Java is used to indicate that a field should not be saved or restored when an object's state is written to or read from a persistent storage such as a database. This can be useful for fields that don't need to be stored, like temporary calculations.
| Is This Answer Correct ? | 0 Yes | 0 No |
How many stages are there in hibernate inheritance?
How to fetch foreign key data in hibernate?
What orm means?
How many objects are there in hibernate architecture?
What is <unk>onetomany mappedby?
What is the is the default transaction factory in hibernate?
What is the difference between sessionfactory and session in hibernate?
How transaction management works in Hibernate?
What is collection mapping in hibernate?
What is the difference between merge and merge join in ssis?
What are the steps of calling a stored procedure in hibernate?
What is callback interface?