Class EnhancedImportSqlCommandExtractor

java.lang.Object
org.openremote.container.persistence.EnhancedImportSqlCommandExtractor
All Implemented Interfaces:
Serializable, org.hibernate.service.Service, org.hibernate.tool.schema.spi.SqlScriptCommandExtractor

public class EnhancedImportSqlCommandExtractor extends Object implements org.hibernate.tool.schema.spi.SqlScriptCommandExtractor
Load and parse import SQL files, either the whole file as a single statement if its first line is -- importOneStatementOnly, or as a semicolon-separated list of statements.
See Also:
  • Constructor Details

    • EnhancedImportSqlCommandExtractor

      public EnhancedImportSqlCommandExtractor()
  • Method Details

    • extractCommands

      public List<String> extractCommands(Reader reader, org.hibernate.dialect.Dialect dialect)
      Specified by:
      extractCommands in interface org.hibernate.tool.schema.spi.SqlScriptCommandExtractor