約359件1ページ目

日本語のみで絞り込む

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

  • 最終更新日:3か月以内
  • 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/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.

    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/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 ...

    2026/10/21 -Purpose: This exercise helps you practice reading query results row by row, the fundamental pattern for consuming any ResultSet in JDBC regardless of how many ...

    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 ...

    2026/10/29 -ResultSet: Retrieves data from the database. PreparedStatement: Executes parameterized SQL queries. DriverManager: Manages JDBC drivers. 3. JDBC Driver Manager ...

    2026/9/16 -Process ResultSet: Iterate through the database rows returned using ResultSet.next() and map table columns to Java variables. Example 1: Selecting Students by ...

    2026/10/16 -... result -> val films = mutableListOf<Pair<Int, String>>() while (result.next()) { films += result.getInt(1) to result.getString(2) } films } println(toWatch) ...

    2026/8/26 -By default, the driver fetches all query results from the database at once. ... To prevent this, JDBC provides a cursor-based ResultSet to fetch data in batches.