Results 1 to 3 of 3

Thread: Explicitly send a connection back to the pool.

Hybrid View

  1. #1
    Join Date
    Mar 2012
    Posts
    3

    Default Explicitly send a connection back to the pool.

    I am using connection pooling with websphere6.1 and spring jdbc.I am firing a select query on the database.After this I want to explicitly release the connection logically back to the pool.Is there a way to do so?

  2. #2
    Join Date
    Jun 2006
    Location
    The Netherlands
    Posts
    13,625

    Default

    No... That is done for you, the fact that you use a connection pool or a basic datasource is hidden from your application. The difference is when the connection is closed the basic datasource actually closes the connection, the connection pool returns it to the pool.
    Marten Deinum
    Java Consultant / Pragmatist / Open Source Enthousiast / Author


    Pro Spring MVC: With Web Flow
    Conspect

    Have you read the reference guide.
    Use the [ code ] tags, young padawan

  3. #3
    Join Date
    Mar 2012
    Posts
    3

    Default

    Thank you for the answer

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •