jodd.db.orm.sqlgen.chunks
Class InsertChunk

java.lang.Object
  extended by jodd.db.orm.sqlgen.chunks.SqlChunk
      extended by jodd.db.orm.sqlgen.chunks.InsertChunk

public class InsertChunk
extends SqlChunk

Renders complete INSERT statement.


Field Summary
 
Fields inherited from class jodd.db.orm.sqlgen.chunks.SqlChunk
COLS_ALL, COLS_NA, COLS_ONLY_EXISTING, COLS_ONLY_IDS, isColumnChunk, isJoinOnChunk, isTableChunk, nextChunk, previousChunk, query, sqlBuilder
 
Constructor Summary
InsertChunk(java.lang.Class entityType, java.lang.Object data)
           
InsertChunk(java.lang.String entityName, java.lang.Object data)
           
 
Method Summary
 void process()
          Process the chunk and prepares the output.
 
Methods inherited from class jodd.db.orm.sqlgen.chunks.SqlChunk
defineParameter, getNextChunk, getPreviousChunk, init, insertChunkAfter, isColumnChunk, isJoinOnChunk, isTableChunk, lookupName, lookupTableRef, lookupType, render, resolveTableRef
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InsertChunk

public InsertChunk(java.lang.String entityName,
                   java.lang.Object data)

InsertChunk

public InsertChunk(java.lang.Class entityType,
                   java.lang.Object data)
Method Detail

process

public void process()
Description copied from class: SqlChunk
Process the chunk and prepares the output.

Specified by:
process in class SqlChunk


Copyright ©2008 Jodd Team