Class DemoHsqlSingleLineSqlCommandExtractor

java.lang.Object
org.hibernate.tool.schema.internal.script.SingleLineSqlScriptExtractor
org.broadleafcommerce.common.util.sql.importsql.DemoHsqlSingleLineSqlCommandExtractor
All Implemented Interfaces:
Serializable, org.hibernate.service.Service, org.hibernate.tool.schema.spi.SqlScriptCommandExtractor

public class DemoHsqlSingleLineSqlCommandExtractor extends org.hibernate.tool.schema.internal.script.SingleLineSqlScriptExtractor
This is a utility class that is only meant to be used for testing the BLC demo on HSQLDB. This replaces any of the demo insert SQL statements with HSQLDB-compatible syntax.
Author:
Phillip Verheyden (phillipuniverse)
See Also:
  • Constructor Details

    • DemoHsqlSingleLineSqlCommandExtractor

      public DemoHsqlSingleLineSqlCommandExtractor()
  • 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
      Overrides:
      extractCommands in class org.hibernate.tool.schema.internal.script.SingleLineSqlScriptExtractor