We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8a42f18 commit 032f2dfCopy full SHA for 032f2df
kyuubi-common/src/test/scala/org/apache/kyuubi/util/JdbcUtilsSuite.scala
@@ -56,8 +56,9 @@ class JdbcUtilsSuite extends KyuubiFunSuite {
56
}
57
assert(affected == 2)
58
59
- val persons = JdbcUtils.executeQueryWithRowMapper(
60
- "SELECT * FROM person WHERE id=?") { stmt =>
+ val persons = JdbcUtils.executeQueryWithRowMapper {
+ "SELECT * FROM person WHERE id=?"
61
+ } { stmt =>
62
stmt.setInt(1, 9)
63
} { rs =>
64
Person(rs.getInt(1), rs.getString(2))
0 commit comments