| java.lang.Object org.jaffa.persistence.engines.jdbcengine.querygenerator.QueryStatementHelper
QueryStatementHelper | public class QueryStatementHelper (Code) | | Use the helper method to generate SQL statements for quering the database.
|
Method Summary | |
public static String | getStatement(Criteria criteria, String engineType) This parses a Criteria object for constructing relevant SQL.
Parameters: criteria - the object containing query data. Parameters: engineType - The engine type as defined in init.xml throws: IOException - if any error occurs while extracting the String from the criteria. |
getStatement | public static String getStatement(Criteria criteria, String engineType) throws IOException(Code) | | This parses a Criteria object for constructing relevant SQL.
Parameters: criteria - the object containing query data. Parameters: engineType - The engine type as defined in init.xml throws: IOException - if any error occurs while extracting the String from the criteria. a String representing SQL statement. |
|
|