Class DemoPostgresSingleLineSqlCommandExtractor
java.lang.Object
org.hibernate.tool.schema.internal.script.SingleLineSqlScriptExtractor
org.broadleafcommerce.common.util.sql.importsql.DemoPostgresSingleLineSqlCommandExtractor
- All Implemented Interfaces:
Serializable,org.hibernate.service.Service,org.hibernate.tool.schema.spi.SqlScriptCommandExtractor
public class DemoPostgresSingleLineSqlCommandExtractor
extends org.hibernate.tool.schema.internal.script.SingleLineSqlScriptExtractor
Command extractor that does Postgres specific logic in order for the DemoSite load scripts to import correctly.
Add:
blPU.hibernate.hbm2ddl.import_files_sql_extractor=org.broadleafcommerce.common.util.sql.importsql.DemoPostgresSingleLineSqlCommandExtractor
blEventPU.hibernate.hbm2ddl.import_files_sql_extractor=org.broadleafcommerce.common.util.sql.importsql.DemoPostgresSingleLineSqlCommandExtractor
in properties file to run load scripts through this extractor
- Author:
- Jay Aisenbrey (cja769)
- See Also:
-
Field Summary
FieldsFields inherited from class org.hibernate.tool.schema.internal.script.SingleLineSqlScriptExtractor
INSTANCE, SHORT_NAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionextractCommands(Reader reader, org.hibernate.dialect.Dialect dialect)
-
Field Details
-
NEWLINE_REPLACEMENT_REGEX
- See Also:
-
-
Constructor Details
-
DemoPostgresSingleLineSqlCommandExtractor
public DemoPostgresSingleLineSqlCommandExtractor()
-
-
Method Details
-
extractCommands
- Specified by:
extractCommandsin interfaceorg.hibernate.tool.schema.spi.SqlScriptCommandExtractor- Overrides:
extractCommandsin classorg.hibernate.tool.schema.internal.script.SingleLineSqlScriptExtractor
-