Top Description Methods
org.hibernate.jdbc

public Interface Work

Imports
java.sql.Connection, .SQLException, org.hibernate.HibernateException

Contract for performing a discrete piece of JDBC work.
Author
Steve Ebersole

Method Summary

Modifier and TypeMethod and Description
public void
execute(Connection
The connection on which to perform the work.
connection
)

Execute the discrete work encapsulated by this work instance using the supplied connection.

Method Detail

executeback to summary
public void execute(Connection connection) throws SQLException

Execute the discrete work encapsulated by this work instance using the supplied connection.

Parameters
connection:Connection

The connection on which to perform the work.

Exceptions
SQLException:
Thrown during execution of the underlying JDBC interaction.
HibernateException:
Generally indicates a wrapped SQLException.