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

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


net.sf.hibernate.util
Class GetGeneratedKeysHelper

java.lang.Object
  extended bynet.sf.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