Skip to main content

Receiving Results

Hint

This article is generated by AI translation.

dbVisitor provides multiple ways to process query results. By default, ORM mapping handles most scenarios. For special requirements, you can customize result processing logic through the following interfaces.

Guide

  • Use the RowMapper interface to map results row by row, returning one object per row.
  • Receive data using List/Map structures, without defining entity classes.
  • Use the RowCallbackHandler interface to process results row by row via callbacks (no collection, suitable for streaming scenarios).
  • Use the ResultSetExtractor interface for full control over ResultSet traversal and transformation.