Example usage for org.hibernate.tool.hbm2ddl SingleLineSqlCommandExtractor subclass-usage

List of usage examples for org.hibernate.tool.hbm2ddl SingleLineSqlCommandExtractor subclass-usage

Introduction

In this page you can find the example usage for org.hibernate.tool.hbm2ddl SingleLineSqlCommandExtractor subclass-usage.

Usage

From source file org.broadleafcommerce.common.util.sql.importsql.DemoHsqlSingleLineSqlCommandExtractor.java

/**
 * 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)
 */

From source file org.broadleafcommerce.common.util.sql.importsql.DemoOracleSingleLineSqlCommandExtractor.java

/**
 * This is a utility class that is only meant to be used for testing the BLC demo on Oracle. In our current
 * import sql files, there are a number of value declarations that are incompatible with Oracle. This
 * custom extractor takes care of transforming those values into something Oracle understands.
 *
 * @author Jeff Fischer

From source file org.broadleafcommerce.common.util.sql.importsql.DemoPostgresSingleLineSqlCommandExtractor.java

/**
 * 
 * Command extractor that does Postgres specific logic in order for the DemoSite load scripts to import correctly.<br/><br/>
 * 
 * Add:<br/>
 *  {@code blPU.hibernate.hbm2ddl.import_files_sql_extractor=org.broadleafcommerce.common.util.sql.importsql.DemoPostgresSingleLineSqlCommandExtractor

From source file org.broadleafcommerce.common.util.sql.importsql.DemoSqlServerSingleLineSqlCommandExtractor.java

/**
 * This is a utility class that is only meant to be used for testing the BLC demo on SQL Server. In our current
 * import sql files, there are a number of value declarations that are incompatible with Sql Server. This
 * custom extractor takes care of transforming those values into something SQL Server understands.
 *
 * @author Jeff Fischer