Skip to content

Commit

Permalink
Merge pull request #2163 from charlesr1971/5.4
Browse files Browse the repository at this point in the history
LDEV-4610 Add requestExclusive param to administrator.updateDatasource()
  • Loading branch information
zspitzer committed Jul 11, 2023
1 parent 2e54d27 commit 26c5360
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -336,6 +336,7 @@ component {
* @customJdbcCompliantTruncation If set to false then values for table fields are automatically truncated so that they fit into the field.
* @customTinyInt1isBit if set to "true" (default) tinyInt(1) is converted to a bit value otherwise as integer.
* @customUseLegacyDatetimeCode Use code for DATE/TIME/DATETIME/TIMESTAMP handling in result sets and statements
* @requestExclusive Use to keep DB connections open, using 'Exclusive connections for request' checkbox, in the Lucee Server Admin
* @verify whether connection needs to be verified
*/
public void function updateDatasource(
Expand Down Expand Up @@ -379,7 +380,8 @@ component {
boolean customAutoReconnect=false,
boolean customJdbcCompliantTruncation=false,
boolean customTinyInt1isBit=false,
boolean customUseLegacyDatetimeCode=false
boolean customUseLegacyDatetimeCode=false,
boolean requestExclusive=false
){

var driverNames=structnew("linked");
Expand Down Expand Up @@ -442,7 +444,8 @@ component {
verify="#arguments.verify#"
custom="#arguments.custom#"
dbdriver="#arguments.type#"
remoteClients="#variables.remoteClients#";
remoteClients="#variables.remoteClients#"
requestExclusive="#getArguments(arguments, 'requestExclusive',false)#";
}

/**
Expand Down

0 comments on commit 26c5360

Please sign in to comment.