org.tranql.query
Interface CommandFactory

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
DB2Generator, DerbyGenerator, EJBCommandFactory, OracleGenerator, SQL92Generator

public interface CommandFactory
extends java.io.Serializable

Version:
$Revision: 155 $ $Date: 2004-12-03 00:12:10 +0100 (Fri, 03 Dec 2004) $

Method Summary
 QueryCommand createQuery(Query query)
           
 QueryCommand createQuery(java.lang.String query, QueryBinding[] paramTransforms, QueryBinding[] resultTransforms)
           
 UpdateCommand createUpdate(Query query)
           
 

Method Detail

createQuery

QueryCommand createQuery(java.lang.String query,
                         QueryBinding[] paramTransforms,
                         QueryBinding[] resultTransforms)
                         throws QueryException
Throws:
QueryException

createQuery

QueryCommand createQuery(Query query)
                         throws QueryException
Throws:
QueryException

createUpdate

UpdateCommand createUpdate(Query query)
                           throws QueryException
Throws:
QueryException


Copyright © -2010 The Codehaus. All Rights Reserved.