- All Known Implementing Classes:
Db2Dialect.Db2ScriptBlockContext,Mssql2008Dialect.Mssql2008ScriptBlockContext,MssqlDialect.MssqlScriptBlockContext,MysqlDialect.MysqlScriptBlockContext,Oracle11Dialect.Oracle11ScriptBlockContext,OracleDialect.OracleScriptBlockContext,PostgresDialect.PostgresScriptBlockContext,StandardDialect.StandardScriptBlockContext
public interface ScriptBlockContext
A context that corresponds to an SQL block in a script file.
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddKeyword(String keyword) Adds the SQL keyword.booleanWhether this context is in an SQL block.
-
Method Details
-
addKeyword
Adds the SQL keyword.- Parameters:
keyword- the SQL keyword
-
isInBlock
boolean isInBlock()Whether this context is in an SQL block.- Returns:
trueif this context is in an SQL block
-