API Overview API Index Package Overview Direct link to this page
JavaOnTracks 0.1.2
  net.jot.persistance.builders. JOTInsertQuery View Source
Author(s)
tcolar
Since
Version
Serial
Hierarchy
 Object
      JOTQueryBase
          JOTInsertQuery
Implements
Subclasses
Description
public class JOTInsertQuery
Query builder for insert type queries Use through JOQueryBuilder
See also:   
Constructors
protected JOTInsertQuery (JOTTransaction transaction)
Methods
Hide/Show inherited methods
public JOTInsertQuery appendToSQL (String append)
  append generic SQL to the query, use with precautions !
public void insert (String fields, String values) throws Exception
  Runs the insert
public JOTInsertQuery orWhere (JOTSQLCondition cond)
public JOTInsertQuery orWhere (String where)
protected void setModelClass (Class modelClass) [Inherited From JOTQueryBase]
public String showFlags () [Inherited From JOTQueryBase]
  Show special statement flags (if any)
public String showSQL () [Inherited From JOTQueryBase]
  return sql generated by query.
public JOTInsertQuery where (JOTSQLCondition cond)
public JOTInsertQuery where (String where)
  It's much safer to use where(JOTSQLCondition cond)
public JOTInsertQuery withParams (String pms)
  Pass the (prepared statement )parameters (ie: values)
Fields
Hide/Show inherited fields
protected JOTStatementFlags flags [Inherited From JOTQueryBase]
protected Class modelClass [Inherited From JOTQueryBase]
protected int nbWhere [Inherited From JOTQueryBase]
protected Vector params [Inherited From JOTQueryBase]
protected StringBuffer sql [Inherited From JOTQueryBase]
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.5     ©Thibaut Colar