Hibernate sessions & junit MyEclipse Archived > Database Tools (DB Explorer, Hibernate, etc.) This topic has 1 reply, 2 voices, and was last updated 18 years, 7 months ago by Haris Peco. Viewing 2 posts - 1 through 2 (of 2 total) Author Posts May 12, 2006 at 1:24 pm #251980 Reply Ed rossMember I’m using the hibernate mapping tool & spring DAO support. All seems to work ok, but when I write test cases, I seem to run out of connectons. How/when does the dao close the session and release the connection? How can I force ti to release all connections after a test method thx ed May 12, 2006 at 7:04 pm #251990 Reply Haris PecoMember Ed, If you use Spring DAO it open and close session in every call If you want more help, you have to send more details about your tests Thanks Author Posts Viewing 2 posts - 1 through 2 (of 2 total) Reply To: Hibernate sessions & junit You must be logged in to post in the forum log in