net.ontopia.persistence.rdbms
Class MySqlSQLProducer

java.lang.Object
  extended by net.ontopia.persistence.rdbms.GenericSQLProducer
      extended by net.ontopia.persistence.rdbms.MySqlSQLProducer

public class MySqlSQLProducer
extends GenericSQLProducer

INTERNAL: Class that generates DDL statements for the mysql database platform.


Field Summary
 
Fields inherited from class net.ontopia.persistence.rdbms.GenericSQLProducer
platforms, project
 
Constructor Summary
MySqlSQLProducer(Project project)
           
MySqlSQLProducer(Project project, java.lang.String[] platforms)
           
 
Method Summary
protected  java.util.List createIndexes(Table table, java.util.List statements)
          INTERNAL: Generate the DDL statement(s) to create indexes for the specified table.
protected  java.util.List createStatement(Table table, java.util.List statements)
          INTERNAL: Generate the DDL statement(s) to create the specified table.
 
Methods inherited from class net.ontopia.persistence.rdbms.GenericSQLProducer
addForeignKey, addPrimaryKeys, dropConstraint, dropStatement, executeCreate, executeDrop, executeStatements, getIndexName, getPrimaryKeyName, outputStatements, supportsForeignKeys, supportsNullInColumnDefinition, writeCreate, writeDrop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MySqlSQLProducer

public MySqlSQLProducer(Project project)

MySqlSQLProducer

public MySqlSQLProducer(Project project,
                        java.lang.String[] platforms)
Method Detail

createStatement

protected java.util.List createStatement(Table table,
                                         java.util.List statements)
                                  throws java.io.IOException
Description copied from class: GenericSQLProducer
INTERNAL: Generate the DDL statement(s) to create the specified table.

Overrides:
createStatement in class GenericSQLProducer
Throws:
java.io.IOException

createIndexes

protected java.util.List createIndexes(Table table,
                                       java.util.List statements)
                                throws java.io.IOException
INTERNAL: Generate the DDL statement(s) to create indexes for the specified table.

Overrides:
createIndexes in class GenericSQLProducer
Throws:
java.io.IOException


Copyright © 2000-2012 Ontopia.