Top Fields Constructors Methods
org.hibernate.resource.jdbc.internal

public Class EmptyStatementInspector

extends Object
implements StatementInspector
Class Inheritance
All Implemented Interfaces
org.hibernate.resource.jdbc.spi.StatementInspector, java.io.Serializable
Imports
org.hibernate.resource.jdbc.spi.StatementInspector

Author
Jan Schatteman

Field Summary

Modifier and TypeField and Description
public static final StatementInspector
INSTANCE

The singleton reference.

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
public String
inspect(String
The SQL to inspect
sql
)

Implements org.hibernate.resource.jdbc.spi.StatementInspector.inspect.

Inspect the given SQL command, possibly returning a different SQL command to be used instead.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

INSTANCEback to summary
public static final StatementInspector INSTANCE

The singleton reference.

Constructor Detail

EmptyStatementInspectorback to summary
protected EmptyStatementInspector()

Method Detail

inspectback to summary
public String inspect(String sql)

Implements org.hibernate.resource.jdbc.spi.StatementInspector.inspect.

Doc from org.hibernate.resource.jdbc.spi.StatementInspector.inspect.

Inspect the given SQL command, possibly returning a different SQL command to be used instead. A null return value is interpreted as if the method had returned its argument.

Parameters
sql:String

The SQL to inspect

Returns:String

The processed SQL to use; may be null

Annotations
@Override