org.hibernate.sql
Class Insert
java.lang.Object
org.hibernate.sql.Insert
- Direct Known Subclasses:
- IdentifierGeneratingInsert
public class Insert
- extends Object
An SQL INSERT statement
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Insert
public Insert(Dialect dialect)
getDialect
protected Dialect getDialect()
setComment
public Insert setComment(String comment)
addColumn
public Insert addColumn(String columnName)
addColumns
public Insert addColumns(String[] columnNames)
addColumns
public Insert addColumns(String[] columnNames,
boolean[] insertable)
addColumns
public Insert addColumns(String[] columnNames,
boolean[] insertable,
String[] valueExpressions)
addColumn
public Insert addColumn(String columnName,
String valueExpression)
addColumn
public Insert addColumn(String columnName,
Object value,
LiteralType type)
throws Exception
- Throws:
Exception
addIdentityColumn
public Insert addIdentityColumn(String columnName)
setTableName
public Insert setTableName(String tableName)
toStatementString
public String toStatementString()
Copyright © 2001-2012 Red Hat, Inc. All Rights Reserved.