Can I reuse the session in hibernate?
Answer / Abhishek Jaiswal
Reusing Hibernate sessions is generally not recommended because it can lead to inconsistencies in your application's data and increased risk of transaction-related errors. Instead, you should use a new session for each database operation or manage sessions within a Transaction.
| Is This Answer Correct ? | 0 Yes | 0 No |
How does hibernate save work?
How many attributes are there in column annotation?
What is sessionfactory?
What are the different types of extension interface that is present in hibernate?
Name few hibernate annotations?
What’s hibernate?
What is the difference between jdbc and hibernate?
Which came first jpa or hibernate?
Difference between session and sessionfactory in hibernate?
What is evict method in hibernate?
What is the default annotation for a property in hibernate?
Is entity framework an orm?