black sensei
black sensei

Reputation: 6677

simple hibernate session management

i'm a bit new in the world of hibernate and i lack knowledge in certain domain when it comes to java.I know for a fact that a good piece of software that uses hibernate use a session manager that can provide different kind of session.i'll like to create for now a simple session manager on top of which i'll build gradually the other implementations.thanks for reading

Upvotes: 0

Views: 1745

Answers (2)

John Doe
John Doe

Reputation:

Use the extended ThreadLocal pattern.

Upvotes: 0

stevedbrown
stevedbrown

Reputation: 8934

Use the Spring session management, don't build this.

Upvotes: 2

Related Questions