Package lumis.util

Class SqlGenerator


  • public class SqlGenerator
    extends AbstractSqlGenerator
    Generates the SQL scripts from database definitions.
    Since:
    4.0.3
    Version:
    $Revision$ $Date$
    • Constructor Summary

      Constructors 
      Constructor Description
      SqlGenerator()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected javax.xml.transform.Transformer createTransformer​(java.lang.String sourcePath)
      Returns the transformer for the given stylesheet path.
      org.w3c.dom.Document getDatabaseDocument​(java.lang.String databaseDefinitionDir)
      Returns the database document for the given database definition path.
      protected java.lang.String getMySqlStylePath()
      Returns the stylesheet file path for MySql.
      protected java.lang.String getOracleStylePath()
      Returns the stylesheet file path for Oracle.
      protected java.lang.String getSqlServerStylePath()
      Returns the stylesheet file path for SQL Server.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getDatabaseDocument

        public org.w3c.dom.Document getDatabaseDocument​(java.lang.String databaseDefinitionDir)
                                                 throws ServiceException,
                                                        org.xml.sax.SAXException,
                                                        java.io.IOException
        Returns the database document for the given database definition path.
        Parameters:
        databaseDefinitionDir - the database definition path.
        Returns:
        the database document for the given database definition path.
        Throws:
        ServiceException
        org.xml.sax.SAXException
        java.io.IOException
        Since:
        8.0.0