org.codehaus.modello.generator.database.sql
Class SybaseBuilder

java.lang.Object
  extended by org.codehaus.modello.generator.database.sql.SqlBuilder
      extended by org.codehaus.modello.generator.database.sql.SybaseBuilder

public class SybaseBuilder
extends SqlBuilder

An SQL Builder for Sybase

Version:
$Revision: 149 $
Author:
James Strachan

Constructor Summary
SybaseBuilder()
           
 
Method Summary
 void dropTable(Table table)
          Outputs the DDL to drop the table
protected  void printAutoIncrementColumn(Table table, Column column)
          Outputs the fact that this column is an auto increment column.
protected  void printComment(java.lang.String text)
          Prints an SQL comment to the current stream
 
Methods inherited from class org.codehaus.modello.generator.database.sql.SqlBuilder
alterColumn, columnsDiffer, createColumn, createDatabase, createDatabase, createTable, dropColumn, dropDatabase, dropIndex, getIndent, getNativeType, getSqlType, getWriter, isForeignKeyConstraintsNamed, isForeignKeysEmbedded, isIndexesEmbedded, isPrimaryKeyEmbedded, print, printEndOfStatement, printIndent, println, println, printNotNullable, printNullable, setAlterTableForDrop, setForeignKeyConstraintsNamed, setForeignKeysEmbedded, setIndent, setIndexesEmbedded, setPrimaryKeyEmbedded, setWriter, shouldGeneratePrimaryKeys, tableComment, useAlterTableForDrop, writeAlterHeader, writeColumnTypes, writeEmbeddedIndexes, writeForeignKeyAlterTable, writeForeignKeys, writeForeignKeysAlterTable, writeForeignReferences, writeIndex, writeIndexes, writeLocalReferences, writePrimaryKeys, writePrimaryKeysAlterTable, writePrimaryKeyStatement
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SybaseBuilder

public SybaseBuilder()
Method Detail

dropTable

public void dropTable(Table table)
               throws java.io.IOException
Description copied from class: SqlBuilder
Outputs the DDL to drop the table

Overrides:
dropTable in class SqlBuilder
Throws:
java.io.IOException

printComment

protected void printComment(java.lang.String text)
                     throws java.io.IOException
Description copied from class: SqlBuilder
Prints an SQL comment to the current stream

Overrides:
printComment in class SqlBuilder
Throws:
java.io.IOException

printAutoIncrementColumn

protected void printAutoIncrementColumn(Table table,
                                        Column column)
                                 throws java.io.IOException
Description copied from class: SqlBuilder
Outputs the fact that this column is an auto increment column.

Overrides:
printAutoIncrementColumn in class SqlBuilder
Throws:
java.io.IOException


Copyright © 2001-2007 Codehaus. All Rights Reserved.