facebook

Hibernate sessions & junit

  1. MyEclipse Archived
  2.  > 
  3. Database Tools (DB Explorer, Hibernate, etc.)
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #251980 Reply

    Ed ross
    Member

    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

    #251990 Reply

    Haris Peco
    Member

    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

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