public class CreateTable extends SQLStatement<CreateTable>
| Modifier and Type | Field and Description |
|---|---|
protected List<Column> |
columns |
protected List<Column> |
primaryKeys |
_columnsRefs, connection, dialect, table| Constructor and Description |
|---|
CreateTable(Connection connection,
Dialect dialect) |
| Modifier and Type | Method and Description |
|---|---|
CreateTable |
columns(Column... cols) |
void |
execute() |
List<Column> |
getColumns() |
List<Column> |
getPrimaryKeys() |
String |
getSQL() |
CreateTable |
primaryKey(Column... cols) |
String |
toString() |
fix, fix, fix, fixCase, fixColumns, getConnection, getDialect, getTable, tablepublic CreateTable(Connection connection, Dialect dialect)
public CreateTable columns(Column... cols)
public CreateTable primaryKey(Column... cols)
public String getSQL()
public void execute()
throws SQLException
SQLExceptionCopyright © 2017–2021 JBoss by Red Hat. All rights reserved.