站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Hibernate 2.1.8 正式版 API 英文文档

Insert (Hibernate API Documentation) - Hibernate 2.1.8 正式版 API 英文文档


net.sf.hibernate.sql
Class Insert

java.lang.Object
  extended bynet.sf.hibernate.sql.Insert

public class Insert
extends Object

An SQL INSERT statement

Author:
Gavin King

Constructor Summary
Insert(Dialect dialect)
           
 
Method Summary
 Insert addColumn(String columnName)
           
 Insert addColumn(String columnName, Object value, LiteralType type)
           
 Insert addColumn(String columnName, String value)
           
 Insert addColumns(String[] columnNames)
           
 Insert addIdentityColumn(String columnName)
           
 Insert setTableName(String tableName)
           
 String toStatementString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Insert

public Insert(Dialect dialect)
Method Detail

addColumn

public Insert addColumn(String columnName)

addColumns

public Insert addColumns(String[] columnNames)

addColumn

public Insert addColumn(String columnName,
                        String value)

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()