java.lang.Object
edu.internet2.middleware.grouper.ext.org.apache.ddlutils.platform.SqlBuilder
edu.internet2.middleware.grouper.ext.org.apache.ddlutils.platform.cloudscape.CloudscapeBuilder
Direct Known Subclasses:
DerbyBuilder

public class CloudscapeBuilder extends SqlBuilder
The SQL Builder for Cloudscape.
Version:
$Revision: 463757 $
  • Constructor Details

    • CloudscapeBuilder

      public CloudscapeBuilder(Platform platform)
      Creates a new builder instance.
      Parameters:
      platform - The plaftform this builder belongs to
  • Method Details

    • writeColumnAutoIncrementStmt

      protected void writeColumnAutoIncrementStmt(Table table, Column column) throws IOException
      Prints that the column is an auto increment column.
      Overrides:
      writeColumnAutoIncrementStmt in class SqlBuilder
      Parameters:
      table - The table
      column - The column
      Throws:
      IOException
    • getSelectLastIdentityValues

      public String getSelectLastIdentityValues(Table table)
      Generates the SQL for querying the id that was created in the last insertion operation. This is obviously only useful for pk fields that are auto-incrementing. A database that does not support this, will return null.
      Overrides:
      getSelectLastIdentityValues in class SqlBuilder
      Parameters:
      table - The table
      Returns:
      The sql, or null if the database does not support this