Class DemoHsqlSingleLineSqlCommandExtractor

java.lang.Object
org.hibernate.tool.hbm2ddl.SingleLineSqlCommandExtractor
org.broadleafcommerce.common.util.sql.importsql.DemoHsqlSingleLineSqlCommandExtractor
All Implemented Interfaces:
Serializable, org.hibernate.service.Service, org.hibernate.tool.hbm2ddl.ImportSqlCommandExtractor

public class DemoHsqlSingleLineSqlCommandExtractor extends org.hibernate.tool.hbm2ddl.SingleLineSqlCommandExtractor
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 String[] extractCommands(Reader reader)
      Specified by:
      extractCommands in interface org.hibernate.tool.hbm2ddl.ImportSqlCommandExtractor
      Overrides:
      extractCommands in class org.hibernate.tool.hbm2ddl.SingleLineSqlCommandExtractor