Class ResultSetDataModel

java.lang.Object
jakarta.faces.model.DataModel<Map<String,Object>>
jakarta.faces.model.ResultSetDataModel
All Implemented Interfaces:
Iterable<Map<String,Object>>

public class ResultSetDataModel extends DataModel<Map<String,Object>>

ResultSetDataModel is a convenience implementation of DataModel that wraps a ResultSet of Java objects. Note that the specified ResultSet MUST be scrollable. In addition, if input components (that will be updating model values) reference this object in value binding expressions, the specified ResultSet MUST be updatable.