Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.7.00
-
i2b2 Core
Description
Currently i2b2 1.7 uses the following validations for its default installations which are not ideal.
<validation>
<validate-on-match>false</validate-on-match>
<background-validation>false</background-validation>
</validation>
If we encounter a situation in which a connection in the pool goes bad we will continue to use that connection which will cause errors in i2b2. The better solution would be to use validation.
<validation>
<validate-on-match>true</validate-on-match>
<check-valid-connection-sql>SELECT 1 FROM DUAL</check-valid-connection-sql>
<use-fast-fail>true</use-fast-fail>
</validation>
Obviously the sql will change per database engine but it should be easy to configure based on each of the datasources defined ie "SELECT 1" for MSSQL
<validation>
<validate-on-match>false</validate-on-match>
<background-validation>false</background-validation>
</validation>
If we encounter a situation in which a connection in the pool goes bad we will continue to use that connection which will cause errors in i2b2. The better solution would be to use validation.
<validation>
<validate-on-match>true</validate-on-match>
<check-valid-connection-sql>SELECT 1 FROM DUAL</check-valid-connection-sql>
<use-fast-fail>true</use-fast-fail>
</validation>
Obviously the sql will change per database engine but it should be easy to configure based on each of the datasources defined ie "SELECT 1" for MSSQL
Attachments
Activity
Field | Original Value | New Value |
---|---|---|
Component/s | Install [ 10053 ] | |
Affects Version/s | 1.7.00 [ 10153 ] | |
Assignee | Mike Mendis [ mem61 ] | |
i2b2 Sponsored Project/s | i2b2 Core [ 10196 ] | |
Status | New [ 10000 ] | Open [ 1 ] |
Rank | Ranked higher |
Status | Open [ 1 ] | In Progress [ 3 ] |
Assignee | Mike Mendis [ mem61 ] | Janice Donahoe [ jmd86 ] |
Status | In Progress [ 3 ] | Ready to Test [ 10001 ] |
Fix Version/s | 1.7.10 [ 10307 ] |
Status | Ready to Test [ 10001 ] | Testing [ 10002 ] |
Assignee | Janice Donahoe [ jmd86 ] | Mike Mendis [ mem61 ] |
Assignee | Mike Mendis [ mem61 ] | Janice Donahoe [ jmd86 ] |
Sprint | v1710.3 [ 25 ] |
Rank | Ranked higher |
Resolution | Fixed [ 1 ] | |
Status | Testing [ 10002 ] | Resolved [ 5 ] |
Labels | wikirelease |
Sprint |
Rank | Ranked higher |