public class MSSQLDb extends Db
| Constructor and Description |
|---|
MSSQLDb() |
MSSQLDb(String url,
String driver,
String user,
String password,
File executeQueryFile,
int maxStatementsPerTransaction,
boolean addGoAfterTransactionCommit) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
commitStatement() |
protected String |
mapDataType(String originalDataType)
when copying a table to this connection, the original data type (copied from an other connection
with maybe a different DB system) can be mapped to an other datatype.
|
protected Object |
mapValue(Object o)
maps value if necessary; e.g.
|
protected String |
tableStructureEntry(ch.brickwork.bsetl.db.PropertyStructure propertyStructure)
generates a "line" entry in a CREATE TABLE statement
|
addPreprocessor, appendToFile, beginTransactionStatement, cleanDuplicates, closeConnection, copyTableFrom, copyView, createOrReplaceTable, createView, dropTableIfExists, dropViewIfExists, dumpQuery, encode, escapedQuoteLiteral, execute, executeQuery, getTableStructure, getViewStructure, insert, insert, isCharacterLike, query, quote, quoteIdentifierIfNecessary, quoteIfNecessary, switchExecuteQueryFile, toSQLSet, wherePropertyIn, wrappublic MSSQLDb()
throws SQLException,
ClassNotFoundException,
IOException
public MSSQLDb(String url, String driver, String user, String password, File executeQueryFile, int maxStatementsPerTransaction, boolean addGoAfterTransactionCommit) throws ClassNotFoundException, SQLException, IOException
url - driver - user - password - executeQueryFile - maxStatementsPerTransaction - addGoAfterTransactionCommit - will add \nGO\n after each commit to signal batch end to sqlcmdClassNotFoundExceptionSQLExceptionIOExceptionprotected String mapDataType(String originalDataType)
DbmapDataType in class Dbprotected Object mapValue(Object o)
Dbprotected String tableStructureEntry(ch.brickwork.bsetl.db.PropertyStructure propertyStructure)
DbtableStructureEntry in class Dbprotected String commitStatement()
commitStatement in class DbCopyright © 2021. All rights reserved.