約754件1ページ目

日本語のみで絞り込む

条件を指定して検索しています。すべての条件を解除する

  • 最終更新日:1年以内
  • 2026/4/6 -getInt(int columnIndex): Used for Retrieves an integer from the specified column · getString(int columnIndex): Used for Retrieves a string from the specified ...

    2026/6/27 -ResultSet represents the tabular result of a SQL query, exposing a cursor that starts positioned before the first row and is advanced one row at a time via next ...

    2026/9/2 -JDBC provides a variety of methods to retrieve data from a result set, such as getInt, getString, and getObject. The getObject method is the most generic ...

    2026/4/8 -Methods of ResultSet Interface ; public int getInt(int columnIndex):, Returns data of the given column index as integer. ; public int getInt(String columnName): ...

    2026/3/10 -My previous post was about reading SQL queries by using string interpolation in Scala. I think it's time to continue and handle the ResultSet as well.

    2026/8/21 -The ResultSet API hands you one row at a time ( next() ) and one value at a time ( getInt(1) , getString(2) , and so on). It is a solid, familiar API, supported ...

    2025/12/15 -... ResultSet resultSet = statement.executeQuery("SELECT COUNT(1) FROM employees"); if (resultSet.next()) { int count = resultSet.getInt(1); Assert.assertEquals ...

    2日前 -How do you know whether the actual value was zero or SQL NULL? Use: int age = resultSet.getInt("age"); if (resultSet.wasNull()) { System.out.println("Age is ...

    2026/8/24 -The Microsoft JDBC Driver for SQL Server uses basic JDBC data types to convert SQL Server data types to a format understood by Java.

    2026/10/24 -A simple guide to JDBC: how Java talks to databases, JDBC drivers, the steps and code for a first program, execute methods, Statement vs PreparedStatement ...