File tree Expand file tree Collapse file tree 3 files changed +9
-2
lines changed
src/main/java/com/microsoft/azure/functions/sql/annotation Expand file tree Collapse file tree 3 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 44
55 <groupId >com.microsoft.azure.functions</groupId >
66 <artifactId >azure-functions-java-library-sql</artifactId >
7- <version >2.0 .0-preview</version > <!-- Update the dependency version in samples-java/pom.xml and test-java/pom.xml if this version is updated. -->
7+ <version >2.1 .0-preview</version > <!-- Update the dependency version in samples-java/pom.xml and test-java/pom.xml if this version is updated. -->
88 <packaging >jar</packaging >
99
1010 <parent >
Original file line number Diff line number Diff line change 3030 /**
3131 * Text or Stored Procedure.
3232 */
33- CommandType commandType ();
33+ CommandType commandType () default CommandType . Text ;
3434
3535 /**
3636 * Parameters to the query or stored procedure. This string must follow the format
Original file line number Diff line number Diff line change 3131 * Setting name for SQL connection string.
3232 */
3333 String connectionStringSetting ();
34+
35+ /**
36+ * Optional. Name of the table used to store leases. If not specified, the leases table name will be
37+ * Leases_{FunctionId}_{TableId}. More information on how this is generated can be found here:
38+ * https://github.com/Azure/azure-functions-sql-extension/blob/release/trigger/docs/TriggerBinding.md#az_funcleases_).
39+ */
40+ String leasesTableName () default "" ;
3441}
You can’t perform that action at this time.
0 commit comments