<sasads:DataBean>
The DataBean Custom Tag allows the user to include a DataBean generated by the DataBean Wizard (using a JDBC data source) within a JSP page. The query statement should be placed within the body of the DataBean Custom Tag.
Syntax
<sasads:DataBean className="java.lang.String"
[autoCommitLevel="COMMITLEVEL_NONE|COMMITLEVEL_ROW|COMMITLEVEL_CELL"]
[dataSource="java.lang.String"]
[dataSourceObject="java.sql.Connection"]
[id="value"]
[instantiate="true|false"]
[locale="java.util.Locale"]
[pageSize="int"]
[ref="java.lang.String"]
[resultSetConcurrency="CONCUR_READ_ONLY|CONCUR_UPDATABLE"]
[resultSetType="TYPE_SCROLL_INSENSITIVE|TYPE_SCROLL_SENSITIVE|TYPE_FORWARD_ONLY"]
[scope="java.lang.String"]
[statement="java.lang.String"]
[statementObject="java.sql.Statement"]>
[The query statement]
</sasads:DataBean>
Attributes
autoCommitLevel | the level at which data will be committed |
|---|---|
className | the fully qualified name of the underlying DataBean class |
dataSource | the String representing the connection to be used as the data source |
dataSourceObject | the connection object used as the data source for the DataBean |
id | Case-sensitive name used to identify the object instance. |
instantiate | |
locale | |
pageSize | the number of rows to scroll forward or backward when paging |
ref | |
resultSetConcurrency | the desired concurrency of the result set, indicating whether it can be updated. |
resultSetType | the type of result set to create. |
scope | |
statement | the String that represents the Statement object |
statementObject | the Statement object |
More Information
To view the documentation for the related InformationBean, see com.sas.storage.BaseDataBean.
If you need to subclass the tag handler class for the sasads:DataBean tag, extend com.sas.taglib.storage.DataBeanTag.