org.hibernate.util
Class GetGeneratedKeysHelper

java.lang.Object
  extended by org.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