(polski) Monitoring podstawowych parametrów JVM z... Sorry, this entry is only available in polski.

Readmore

How to get some first result rows of a SQL query [sql] -- Oracle select a.* from (select rownum row_num, t.* from t_table t ) a where a.row_num <= N -- DB2 select * from t_table fetch first 10 rows only -- Informix select...

Readmore

IBM i vademecum and free iSeries account I found some time ago hosting based on the iSeries, where you can create a free account and try how to be an AS/400 Green Screen operator :) I have found also a pretty good introductory reference...

Readmore

twitter

Getting the number of rows in a Result Set

Category : java

This trick should resolve your problem:

try {
    // scrollowalny ResultSet
    Statement stmt =
        connection.createStatement(
        ResultSet.TYPE_SCROLL_INSENSITIVE,
        ResultSet.CONCUR_READ_ONLY);
    ResultSet resultSet =
        stmt.executeQuery("SELECT * FROM t_t1");

    resultSet.last();
    int rowCount = resultSet.getRow();
    resultSet.beforeFirst();

    // teraz mozna dalej uzywac
    // do woli ResultSeta
    ...
} catch(SQLException e) {
    e.printStackTrace();
    // lub jakies bardziej eleganckie:
    log.error(e.getMessage());
}

Eco driving

Category : live

Sorry, this entry is only available in polski.

IBM i ads

Category : ibm i

YouTube Preview Image YouTube Preview Image

Search Engine Optimization for Dummies

Category : it

Sorry, this entry is only available in polski.

(polski) Moja dziewczyna o sobie…

Category : live

Sorry, this entry is only available in polski.

(polski) Alior Bank – lokata nocna – maksymalna kwota bez podatku Belki

Category : live

Sorry, this entry is only available in polski.