net.ontopia.persistence.rdbms
Class PostgreSQLProducer

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

public class PostgreSQLProducer
extends GenericSQLProducer

INTERNAL: DDL statement generator for the PostgreSQL database platform.


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

Constructor Detail

PostgreSQLProducer

public PostgreSQLProducer(Project project)

PostgreSQLProducer

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

dropStatement

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

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

supportsForeignKeys

protected boolean supportsForeignKeys()
Overrides:
supportsForeignKeys in class GenericSQLProducer


Copyright © 2000-2012 Ontopia.