Skip to content

No way to set Command Timeout for SchemaUpdate #3055

Open
@gsivorot

Description

@gsivorot

SchemaUpdate uses the connection directly to create a Command bypassing any opportunity to set the CommandTimeout (or any other settings). Any command taking longer than the default value (30 seconds for SqlCommand) will timeout.

connectionHelper.Prepare();
connection = connectionHelper.Connection;
meta = new DatabaseMetadata(connection, dialect);
stmt = connection.CreateCommand();

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions