Uploaded image for project: 'Olingo'
  1. Olingo
  2. OLINGO-1269

Database connection isn't released when updating a not-existed entity

    XMLWordPrintableJSON

Details

    Description

      I am using odata2-jpa (version 2.0.10) in my project. When I batch update a not-existed entity with an Odata request, connections in connection pool are used up rapidly and  "Connection is not available, request timed out" occurs.

      HTTP Method: PATCH

      HTTP URL: http://localhost:8080/Webinar.svc/Conferences(2)

      HTTP Body:

      { "Name": "MSA Architecture111", "StartDate": "2018-05-06T08:00:00", "EndDate": "2018-05-10T17:00:00" }

      Attachments

        Activity

          People

            mirbo mibo
            wallacewan Wallace
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Time Tracking

                Estimated:
                Original Estimate - 1h
                1h
                Remaining:
                Time Spent - 10m Remaining Estimate - 50m
                50m
                Logged:
                Time Spent - 10m Remaining Estimate - 50m
                10m