Main Page | Packages | Class Hierarchy | Class List | Directories | Class Members | Related Pages

org.colimas.db.mapper.SQLQueries Class Reference

List of all members.

Static Public Member Functions

static String getQuery (String code) throws DBException
static String replaceArgs (String value, String[] replaceValue)

Detailed Description

SQLQueries

Function:
Structure the sql sentence by given code. the sql.properties must be copied into [installed]/resources/sql/sql.properties

Author:
zhao lei
Version:
1.2 Modification History:
 SEQ DATE        DEVELOPER      DESCRIPTION
 --- ----------  -------------- -----------------------------
 001 2005/12/03  Zhao Lei       INIT
 002 2006/01/02  zhao lei       coding
 003 2006/01/13  zhao lei       deal with install path and property path
 


Member Function Documentation

static String org.colimas.db.mapper.SQLQueries.getQuery String  code  )  throws DBException [static]
 

Gets a query

Parameters:
code Key used to retrieve the query

static String org.colimas.db.mapper.SQLQueries.replaceArgs String  value,
String[]  replaceValue
[static]
 

replace the {0},...{n} by replace values.

Parameters:
value of replaced
Value of repace
Returns:
replaced sentence


The documentation for this class was generated from the following file:
Generated on Sat Jan 14 02:04:27 2006 for Colimas by  doxygen 1.4.4