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

NamedGeneratedKeysHelper (Hibernate API Documentation) - Hibernate 3.2.3 正式版 API 英文文档


org.hibernate.util
Class NamedGeneratedKeysHelper

java.lang.Object
  extended byorg.hibernate.util.NamedGeneratedKeysHelper

public class NamedGeneratedKeysHelper
extends Object

Author:
Steve Ebersole

Method Summary
static ResultSet getGeneratedKey(PreparedStatement ps)
           
static PreparedStatement prepareStatement(Connection conn, String sql, String[] columnNames)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

prepareStatement

public static PreparedStatement prepareStatement(Connection conn,
                                                 String sql,
                                                 String[] columnNames)
                                          throws SQLException
Throws:
SQLException

getGeneratedKey

public static ResultSet getGeneratedKey(PreparedStatement ps)
                                 throws SQLException
Throws:
SQLException