org.broadleafcommerce.common.util.sql.importsql
Class DemoOracleSingleLineSqlCommandExtractor

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

public class DemoOracleSingleLineSqlCommandExtractor
extends org.hibernate.tool.hbm2ddl.SingleLineSqlCommandExtractor

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
See Also:
Serialized Form

Field Summary
protected  boolean alreadyRun
           
static String FALSE
           
static String TRUE
           
 
Constructor Summary
DemoOracleSingleLineSqlCommandExtractor()
           
 
Method Summary
 String[] extractCommands(Reader reader)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TRUE

public static final String TRUE
See Also:
Constant Field Values

FALSE

public static final String FALSE
See Also:
Constant Field Values

alreadyRun

protected boolean alreadyRun
Constructor Detail

DemoOracleSingleLineSqlCommandExtractor

public DemoOracleSingleLineSqlCommandExtractor()
Method Detail

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


Copyright © 2013. All Rights Reserved.