Class SingleLineSqlScriptExtractor
java.lang.Object
org.hibernate.tool.schema.internal.script.SingleLineSqlScriptExtractor
- All Implemented Interfaces:
Serializable,Service,SqlScriptCommandExtractor
Class responsible for extracting SQL statements from import script. Treats each line as a complete SQL statement.
Comment lines shall start with
--, // or /* character sequence.- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionextractCommands(Reader reader, Dialect dialect) Read the commands from the SQL script represented by the incoming reader, returning those commands as an array
-
Field Details
-
SHORT_NAME
- See Also:
-
INSTANCE
-
-
Constructor Details
-
SingleLineSqlScriptExtractor
public SingleLineSqlScriptExtractor()
-
-
Method Details
-
extractCommands
Description copied from interface:SqlScriptCommandExtractorRead the commands from the SQL script represented by the incoming reader, returning those commands as an array- Specified by:
extractCommandsin interfaceSqlScriptCommandExtractor
-