⟩ What is IOC concept & explain it?
Injecting dependencies to object itself instead of depending on container.
Injecting dependencies to object itself instead of depending on container.
How will you configure Hibernate?
What is a Session? Can you share a session object between different theads?
What are the benefits of detached objects?
What is a SessionFactory? Is it a thread-safe object?
How does Hibernate distinguish between transient (i.e. newly instantiated) and detached objects?
What are the pros and cons of detached objects?
What is the difference between the session.get() method and the session.load() method?
What is the difference between the session.update() method and the session.lock() method?
What are the ORM level?
What are the general considerations or best practices for defining your Hibernate persistent classes?