org.hibernate.util
Class NamedGeneratedKeysHelper

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