Class MultiLineSqlScriptExtractor
java.lang.Object
org.hibernate.tool.schema.internal.script.MultiLineSqlScriptExtractor
- All Implemented Interfaces:
Serializable
,Service
,SqlScriptCommandExtractor
Class responsible for extracting SQL statements from import script. Supports instructions/comments and quoted
strings spread over multiple lines. Each statement must end with semicolon.
- See Also:
-
Nested Class Summary
Nested Classes -
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
-
MultiLineSqlScriptExtractor
public MultiLineSqlScriptExtractor()
-
-
Method Details
-
extractCommands
Description copied from interface:SqlScriptCommandExtractor
Read the commands from the SQL script represented by the incoming reader, returning those commands as an array- Specified by:
extractCommands
in interfaceSqlScriptCommandExtractor
-