lumis.util
Class SqlGenerator
java.lang.Object
lumis.util.SqlGenerator
public class SqlGenerator
- extends Object
Generates the SQL scripts from database definitions.
- Since:
- 4.0.3
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SqlGenerator
public SqlGenerator()
throws PortalException
- Throws:
PortalException
generateSql
public String generateSql(Document databaseXml,
DatabaseType dbType)
throws PortalException
- Generates the sql according to the given database definition for the specified database type.
- Parameters:
databaseXml
- the database definition.dbType
- the database type.
- Returns:
- the sql script generated.
- Throws:
PortalException
- Since:
- 4.0.5
generateSql
public String generateSql(Document databaseXml,
String dbType)
throws PortalException
- Throws:
PortalException
Lumisportal 6.2.0.120405 - Copyright © 2006–2012 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.