net.sourceforge.squirrel_sql.plugins.sqlscript.table_script
Class CreateDataScriptCommand
java.lang.Object
java.awt.event.WindowAdapter
net.sourceforge.squirrel_sql.plugins.sqlscript.table_script.CreateDataScriptCommand
- All Implemented Interfaces:
- WindowFocusListener, WindowListener, WindowStateListener, EventListener, ICommand
- Direct Known Subclasses:
- CreateDataScriptOfCurrentSQLCommand, CreateTableOfCurrentSQLCommand
public class CreateDataScriptCommand
- extends WindowAdapter
- implements ICommand
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_abortController
protected IAbortController _abortController
_session
protected ISession _session
- Current session.
CreateDataScriptCommand
public CreateDataScriptCommand(ISession session,
SQLScriptPlugin plugin,
boolean templateScriptOnly)
- Ctor specifying the current session.
CreateDataScriptCommand
public CreateDataScriptCommand(ISession session,
IAbortController abortController,
SQLScriptPlugin plugin,
boolean templateScriptOnly)
- Ctor specifying the current session and IAbortController.
showAbortFrame
protected void showAbortFrame()
execute
public void execute()
- Execute this command.
- Specified by:
execute in interface ICommand
getFirstColumnName
protected String getFirstColumnName(ITableInfo ti)
throws SQLException
- Throws:
SQLException
getFirstColumnType
protected int getFirstColumnType(ITableInfo ti)
throws SQLException
- Throws:
SQLException
genInserts
protected void genInserts(ResultSet srcResult,
String sTable,
StringBuffer sbRows,
boolean headerOnly)
throws SQLException
- Throws:
SQLException
hideAbortFrame
protected void hideAbortFrame()
isAborted
protected boolean isAborted()
Copyright © 2001-2011. All Rights Reserved.