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

GetGeneratedKeysHelper (Hibernate API Documentation) - Hibernate 3.2.4 正式版 API 英文文档


org.hibernate.util
Class GetGeneratedKeysHelper

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

public final class GetGeneratedKeysHelper
extends Object

Author:
Gavin King

Method Summary
static ResultSet getGeneratedKey(PreparedStatement ps)
           
static PreparedStatement prepareStatement(Connection conn, String sql)
           
 
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)
                                          throws SQLException
Throws:
SQLException

getGeneratedKey

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