org.axiondb.engine.commands
Class CreateDatabaseLinkCommand

java.lang.Object
  extended by org.axiondb.engine.commands.BaseAxionCommand
      extended by org.axiondb.engine.commands.CreateCommand
          extended by org.axiondb.engine.commands.CreateDatabaseLinkCommand
All Implemented Interfaces:
AxionCommand

public class CreateDatabaseLinkCommand
extends CreateCommand

A CREATE DATABASE LINK command.

Version:
$Revision: 1.1 $ $Date: 2004/09/02 01:52:09 $

Constructor Summary
CreateDatabaseLinkCommand()
           
CreateDatabaseLinkCommand(String serverName)
           
 
Method Summary
 boolean execute(Database db)
          Executes an SQL statement that may return multiple results.
 void setProperties(Properties prop)
           
 
Methods inherited from class org.axiondb.engine.commands.CreateCommand
executeQuery, executeUpdate, getObjectName, isIfNotExists, setIfNotExists, setObjectName
 
Methods inherited from class org.axiondb.engine.commands.BaseAxionCommand
assertNotReadOnly, attemptToConvertValue, bindAll, buildBindVariables, clearBindings, createResolveSelectableVisitor, executeQuery, getBindVariableIterator, getBindVariableIterator, getBindVariables, getBindVariableVisitor, getColIdentifierList, getCommitSize, getEffectedRowCount, getResultSet, getRowIterator, makeRowDecorator, populateDefaultValues, populateSequenceColumns, resolveGeneratedColumns, resolveGeneratedColumns, resolveSelectable, resolveSelectable, resolveSelectableList, resolveSelectableList, setBindVariableVisitor, setDeferAllConstraintIfRequired, setEffectedRowCount, setResultSet, updateGeneratedValues
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CreateDatabaseLinkCommand

public CreateDatabaseLinkCommand()

CreateDatabaseLinkCommand

public CreateDatabaseLinkCommand(String serverName)
Method Detail

execute

public boolean execute(Database db)
                throws AxionException
Description copied from interface: AxionCommand
Executes an SQL statement that may return multiple results.

Specified by:
execute in interface AxionCommand
Specified by:
execute in class CreateCommand
Returns:
true if one or more ResultSets were generated, false otherwise
Throws:
AxionException
See Also:
Statement.execute(java.lang.String), PreparedStatement.execute()

setProperties

public void setProperties(Properties prop)