• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Hibernate+session

 
souha jerbi
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I 'm working with hibernate and my services are like this one;

}
But there is a problem of tecnical pollution ; We see that we have to repeat the instrustions of opening session and transaction and closing n times and there is also a problem of coupling between my service layer and hibernae API. So i need to have an interceptor to do the work : open session, tx = session.beginTransaction() and so on
thanks a lot
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Soussou Soussou please check your private messages.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic