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 5.5.0.091130 - Copyright © 2001-2007, Lumis. All Rights Reserved.