| org.mandarax.sql.SQLObjectRelationalMapping
All known Subclasses: org.mandarax.sql.OneColumnMapping,
SQLObjectRelationalMapping | public interface SQLObjectRelationalMapping extends java.io.Serializable(Code) | | Describes how to map a row (the current row in a result set) to a java
object. The most simple case is that the result set has just one column
(e.g. a column 'name') and the mapping will yield this value. More
advanced versions will build objects (like 'customer') from records
containing multiple columns.
author: Jens Dietrich version: 3.4 <7 March 05> since: 1.6 |
buildObject | public Object buildObject(ResultSet record) throws SQLException(Code) | | Build a java object from a record.
The record is represented as result set, therefore ResultSet.next() should not
be called in (implementation of) this method.
an object Parameters: record - a result set |
getTargetType | public Class getTargetType()(Code) | | Get the target type of the mapping.
a class |
|
|