Package com.tonbeller.jpivot.param

Implements Session Parameters.


Interface Summary
ParameterProvider creates a list of SessionParameter from a member.
SqlAccess provides information about members that may be used in (drill-thru) SQL queries

Class Summary
MemberParamProvider creates a SessionParam from a member
PropertyParamProvider creates a SessionParam from a member property
PropertyPrefixParamProvider Default implementation for ParameterProvider.
SetParameterTag looks for a http parameter with a certain name.

Package com.tonbeller.jpivot.param Description

Implements Session Parameters.

A SessionParam is a parameter that can modify MDX and SQL queries. The parameters are held in a SessionParamPool. There is one pool per HttpSession.

SessionParam may be created in several ways:

Parameters may be used in sql queries. Example for JSTL's sql tag:
<jsp:useBean id="paramPool" class="com.tonbeller.jpivot.param.SessionParamPool" scope="session"/>

<sql:query var="result" dataSource="${myDataSource}">
  SELECT ...
  FROM ...
  <sql:param value="${paramPool.CUSTOMERID.sqlValue}"/>