OBM
  1. OBM
  2. OBMFULL-5902

CLONE 2.6 - OBM could use jdbc4 java.sql.Connection.isValid

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Normal Normal
    • Resolution: Fixed
    • Affects Version/s: 3.0.0
    • Fix Version/s: 3.0.0
    • Component/s: None
    • Labels:
      None
    • Similar Issues:
      Show 10 results 
    • Rank:
      5843

      Description

      Instead of running an SQL query on borrow, OBM could use jdbc4 java.sql.Connection.isValid for some performance enhancements.

        Issue Links

          Activity

          Hide
          Jenkins Continuous Integration Server added a comment -

          Integrated in poll-next-26 308-b454f5f98c5f594439f49cfb4ba9fc6f3893514a
          OBMFULL-5643 OBM use only jdbc4 drivers, we can enable Connection.isValid feature (Revision cc67716c70c5ad503f5eb5a0269ca78ea3dfc7b1)

          Result = SUCCESS
          thilaire : cc67716c70c5ad503f5eb5a0269ca78ea3dfc7b1
          Files :

          • java/sync/dbcp/src/main/java/org/obm/dbcp/PoolingDataSourceDecorator.java
          Show
          Jenkins Continuous Integration Server added a comment - Integrated in poll-next-26 308-b454f5f98c5f594439f49cfb4ba9fc6f3893514a OBMFULL-5643 OBM use only jdbc4 drivers, we can enable Connection.isValid feature (Revision cc67716c70c5ad503f5eb5a0269ca78ea3dfc7b1) Result = SUCCESS thilaire : cc67716c70c5ad503f5eb5a0269ca78ea3dfc7b1 Files : java/sync/dbcp/src/main/java/org/obm/dbcp/PoolingDataSourceDecorator.java
          Hide
          Stephane COLSON added a comment -

          With version 3.0.0-0.alpha0+git20140414_1402_9d78666 on CentOS6, obm-tomcat wasn't used for 3 hours, then a synchronization with Thunderbird is OK

          OK with version 3.0.0-0.alpha0+git20140414_1402_9d78666

          Show
          Stephane COLSON added a comment - With version 3.0.0-0.alpha0+git20140414_1402_9d78666 on CentOS6, obm-tomcat wasn't used for 3 hours, then a synchronization with Thunderbird is OK OK with version 3.0.0-0.alpha0+git20140414_1402_9d78666

            People

            • Assignee:
              Matthieu EXT_BAECHLER
              Reporter:
              Matthieu EXT_BAECHLER
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: