public class SqlGenerator extends AbstractSqlGenerator
Constructor and Description |
---|
SqlGenerator() |
Modifier and Type | Method and Description |
---|---|
protected Transformer |
createTransformer(String sourcePath)
Returns the transformer for the given stylesheet path.
|
Document |
getDatabaseDocument(String databaseDefinitionDir)
Returns the database document for the given database definition path.
|
protected String |
getMySqlStylePath()
Returns the stylesheet file path for MySql.
|
protected String |
getOracleStylePath()
Returns the stylesheet file path for Oracle.
|
protected String |
getSqlServerStylePath()
Returns the stylesheet file path for SQL Server.
|
generateSql, generateSql
public SqlGenerator() throws PortalException
PortalException
protected String getMySqlStylePath()
AbstractSqlGenerator
getMySqlStylePath
in class AbstractSqlGenerator
protected String getOracleStylePath()
AbstractSqlGenerator
getOracleStylePath
in class AbstractSqlGenerator
protected String getSqlServerStylePath()
AbstractSqlGenerator
getSqlServerStylePath
in class AbstractSqlGenerator
protected Transformer createTransformer(String sourcePath) throws PortalException
AbstractSqlGenerator
createTransformer
in class AbstractSqlGenerator
sourcePath
- the stylesheet pathPortalException
public Document getDatabaseDocument(String databaseDefinitionDir) throws ServiceException, SAXException, IOException
databaseDefinitionDir
- the database definition path.ServiceException
SAXException
IOException
LumisXP 12.3.0.200408 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.