|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjodd.db.orm.sqlgen.chunks.SqlChunk
jodd.db.orm.sqlgen.chunks.ReferenceJoinChunk
public class ReferenceJoinChunk
Creates join between two references, i.e. between source and destination table. Column reference may be specified
either completely (tableRef.propertyName) or just with tableName, indicating that primary or foreign key should
be used. Foreign keys are named using
naming convention
.
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 | |
---|---|
ReferenceJoinChunk(java.lang.String source,
java.lang.String destination)
|
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 |
---|
public ReferenceJoinChunk(java.lang.String source, java.lang.String destination)
Method Detail |
---|
public void process()
SqlChunk
process
in class SqlChunk
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |