Skip to content

Java library: set default value for commandType as "Text" #381

@lucyzhang929

Description

@lucyzhang929

I tried to use Text as default but when I ran a Java function without the commandType specified, it threw an error:
Microsoft.Azure.WebJobs.Extensions.Sql: The type of the SQL attribute for an input binding must be either CommandType.Text for a direct SQL query, or CommandType.StoredProcedure for a stored procedure.

I'll leave it empty for now but can certainly revisit this.

Originally posted by @lucyzhang929 in #379 (comment)

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions