net.ontopia.persistence.rdbms
Class DB2SQLProducer

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

public class DB2SQLProducer
extends GenericSQLProducer

INTERNAL: Class that generates DDL statements for the IBM db2 universal database platform.


Field Summary
 
Fields inherited from class net.ontopia.persistence.rdbms.GenericSQLProducer
platforms, project
 
Constructor Summary
DB2SQLProducer(Project project)
           
DB2SQLProducer(Project project, java.lang.String[] platforms)
           
 
Method Summary
protected  java.lang.String getIndexName(Index index)
           
protected  java.lang.String getPrimaryKeyName(Table table)
           
protected  boolean supportsNullInColumnDefinition()
           
 
Methods inherited from class net.ontopia.persistence.rdbms.GenericSQLProducer
addForeignKey, addPrimaryKeys, createIndexes, createStatement, dropConstraint, dropStatement, executeCreate, executeDrop, executeStatements, outputStatements, supportsForeignKeys, writeCreate, writeDrop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DB2SQLProducer

public DB2SQLProducer(Project project)

DB2SQLProducer

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

supportsNullInColumnDefinition

protected boolean supportsNullInColumnDefinition()
Overrides:
supportsNullInColumnDefinition in class GenericSQLProducer

getPrimaryKeyName

protected java.lang.String getPrimaryKeyName(Table table)
Overrides:
getPrimaryKeyName in class GenericSQLProducer

getIndexName

protected java.lang.String getIndexName(Index index)
Overrides:
getIndexName in class GenericSQLProducer


Copyright © 2000-2012 Ontopia.