Skip to content

Commit 8190055

Browse files
committed
Execute Command Oracle, open connection
1 parent 1130296 commit 8190055

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

QueryDB/Oracle/Adapter.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ internal OracleDataReader GetOracleReader(string cmdText, OracleConnection conne
3737
/// <returns>A configured <see cref="OracleCommand"/> instance.</returns>
3838
internal OracleCommand GetOracleCommand(string cmdText, OracleConnection connection, CommandType commandType)
3939
{
40+
connection.Open();
4041
var sqlCommand = new OracleCommand(cmdText, connection) { CommandType = commandType };
4142
return sqlCommand;
4243
}

0 commit comments

Comments
 (0)