makeDeleteFromPreparedStatement

fun makeDeleteFromPreparedStatement(con: Connection, tableName: String, fieldName: String, schemaName: String?): PreparedStatement

Uses the longLastingConnection property for the connection for metadata checking.

Return

a prepared statement that can perform the deletion if given the appropriate condition value

Parameters

con

an active connection to the database

tableName

the name of the table to be inserted into

fieldName

the field name controlling the where clause

schemaName

the schema containing the table