# prepareStatement

open override fun prepareStatement(sql: String, returnKeys: Boolean): JdbcPreparedStatementImpl

Returns a precompiled sql statement stored as a JdbcPreparedStatementApi implementation.

To indicate that auto-generated keys should be made available for retrieval, set returnKeys to `true`.

open override fun prepareStatement(sql: String, columns: Array<String>): JdbcPreparedStatementImpl

Returns a precompiled sql statement stored as a JdbcPreparedStatementApi implementation.

To indicate that auto-generated keys should be made available for retrieval, provide the names of the target columns that contain the keys to be returned.