What is transient annotation in hibernate?
Answer / Swadesh Kumar Niranjan
The transient annotation in Hibernate is used to indicate that a field or property of an entity should not be persisted by Hibernate. This means the value of the field will not be stored in the database and any changes made to the value during session operations will be lost once the session is closed.
| Is This Answer Correct ? | 0 Yes | 0 No |
How does hibernate distinguish between transient (i.e. Newly instantiated) and detached objects?
How many stages are there in hibernate inheritance?
What is cascadetype in hibernate annotations?
What are the steps of calling a stored procedure in hibernate?
What are the advantages of hibernate?
What is a configuration in hibernate?
What is the default cache in hibernate?
How can we reduce database write action times in Hibernate?
What is an sql dialect?
How to create foreign key in hibernate annotation?
What does hibernate simplify?
What is true for hibernate and jpa?