com.sri.emo.commandline.defaults
Class DefaultSQLGenerator
java.lang.Object
com.sri.emo.commandline.defaults.DefaultSQLGenerator
- All Implemented Interfaces:
- SqlRowGenerator
public class DefaultSQLGenerator
- extends Object
- implements SqlRowGenerator
Generates an insertion.
- Version:
- 1.0
- Author:
- Michael Rimov
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
USE_IGNORE_SYNTAX
public static final boolean USE_IGNORE_SYNTAX
- See Also:
- Constant Field Values
SKIP_IGNORE_SYNTAX
public static final boolean SKIP_IGNORE_SYNTAX
- See Also:
- Constant Field Values
DefaultSQLGenerator
public DefaultSQLGenerator()
DefaultSQLGenerator
public DefaultSQLGenerator(boolean useIgnoreSyntax)
generateInsert
public String generateInsert(DBObject individualRow)
- Description copied from interface:
SqlRowGenerator
- Generates an insert statement
- Specified by:
generateInsert
in interface SqlRowGenerator
- Parameters:
individualRow
- DBObject
- Returns:
- String
generateAdd
public String generateAdd(DataObject valueObject)
throws DataException,
DuplicateKeyException
- Throws:
DataException
DuplicateKeyException
Copyright © 2004-2006 Codeguild, Inc.. All Rights Reserved.