org.tranql.query
Interface CommandFactory

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
EJBCommandFactory, 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

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

createQuery

public QueryCommand createQuery(Query query)
                         throws QueryException
Throws:
QueryException

createUpdate

public UpdateCommand createUpdate(Query query)
                           throws QueryException
Throws:
QueryException


Copyright © -2006 The Codehaus. All Rights Reserved.