Top Description Methods
org.hibernate.resource.jdbc.spi

public Interface StatementInspector

extends Serializable
Imports
java.io.Serializable

Contract to allow inspection (and swapping) of SQL to be prepared
Author
Steve Ebersole

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

The SQL to use; may be null
inspect
(String
The SQL to inspect
sql
)

Inspect the given SQL, possibly returning a different SQL to be used instead.

Method Detail

inspectback to summary
public String inspect(String sql)

Inspect the given SQL, possibly returning a different SQL to be used instead. Note that returning null is interpreted as returning the same SQL as was passed.

Parameters
sql:String

The SQL to inspect

Returns:String

The SQL to use; may be null