What is the use of transient?



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

Post New Answer

More Hibernate Interview Questions

How many stages are there in hibernate inheritance?

1 Answers  


How to fetch foreign key data in hibernate?

1 Answers  


What orm means?

1 Answers  


How many objects are there in hibernate architecture?

1 Answers  


What is <unk>onetomany mappedby?

1 Answers  


What is the is the default transaction factory in hibernate?

1 Answers  


What is the difference between sessionfactory and session in hibernate?

1 Answers  


How transaction management works in Hibernate?

1 Answers  


What is collection mapping in hibernate?

1 Answers  


What is the difference between merge and merge join in ssis?

1 Answers  


What are the steps of calling a stored procedure in hibernate?

1 Answers  


What is callback interface?

1 Answers  


Categories