org.apache.ws.jaxme.sqls.db2
public class DB2SQLGeneratorImpl extends SQLGeneratorImpl implements DB2SQLGenerator
Default implementation of an SQL generator for DB2 schemas.
Method Summary | |
---|---|
Collection | getCreate(BufferPool pBufferPool) |
Collection | getCreate(TableSpace pTableSpace) |
protected String | getCreate(Column pColumn) |
protected String | getCreateTableHeader(Table pTable) |
Collection | getDrop(BufferPool pBufferPool) |
Collection | getDrop(TableSpace pTableSpace) |
Collection | getDrop(Schema pSchema) |
protected String | getTypeName(Column.Type pType) |
boolean | isCreatingTableSpaceReferences() Returns whether |
protected boolean | isForeignKeyPartOfCreateTable() |
protected boolean | isPrimaryKeyPartOfCreateTable() |
protected boolean | isUniqueIndexPartOfCreateTable() |
void | setCreatingTableSpaceReferences(boolean pCreatingTableSpaceReferences) Sets whether |
Returns whether CREATE TABLE
statements will contain
table space references or not. The default is to create table
space references.
Sets whether CREATE TABLE
statements will contain
table space references or not. The default is to create table
space references.