<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

autoCommitLevelthe level at which data will be committed
classNamethe fully qualified name of the underlying DataBean class
dataSourcethe String representing the connection to be used as the data source
dataSourceObjectthe connection object used as the data source for the DataBean
idCase-sensitive name used to identify the object instance.
instantiate
locale
pageSizethe number of rows to scroll forward or backward when paging
ref
resultSetConcurrencythe desired concurrency of the result set, indicating whether it can be updated.
resultSetTypethe type of result set to create.
scope
statementthe String that represents the Statement object
statementObjectthe 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.