org.outerj.xreporter.report.definition
Class SqlDialectDefinition

java.lang.Object
  extended byorg.outerj.xreporter.report.definition.SqlDialectDefinition
All Implemented Interfaces:
org.apache.avalon.framework.activity.Initializable

public class SqlDialectDefinition
extends java.lang.Object
implements org.apache.avalon.framework.activity.Initializable

Model of the SQL to be executed for a specific SQL dialect.


Field Summary
protected  java.util.List sqlParts
           
protected  boolean supportsOrderBy
           
protected  boolean supportsQbe
           
 
Constructor Summary
SqlDialectDefinition()
           
 
Method Summary
 void bind(java.sql.PreparedStatement statement, ExecutionContext executionContext)
           
 java.lang.String createSql(ExecutionContext executionContext)
           
 void initialize()
           
 boolean supportsOrderBy()
           
 boolean supportsQbe()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

sqlParts

protected java.util.List sqlParts

supportsOrderBy

protected boolean supportsOrderBy

supportsQbe

protected boolean supportsQbe
Constructor Detail

SqlDialectDefinition

public SqlDialectDefinition()
Method Detail

initialize

public void initialize()
                throws java.lang.Exception
Specified by:
initialize in interface org.apache.avalon.framework.activity.Initializable
Throws:
java.lang.Exception

createSql

public java.lang.String createSql(ExecutionContext executionContext)

bind

public void bind(java.sql.PreparedStatement statement,
                 ExecutionContext executionContext)
          throws java.sql.SQLException
Throws:
java.sql.SQLException

supportsOrderBy

public boolean supportsOrderBy()

supportsQbe

public boolean supportsQbe()