Dialect

Represents a dialect of SQL implemented by a particular RDBMS. -- generated from JavaDocs on org.hibernate.dialect.Dialect

Members

Functions

addKeywords
void addKeywords(string[] keywords)
Undocumented in source. Be warned that the author may not have intended to support it.
appendInsertToFetchGeneratedKey
string appendInsertToFetchGeneratedKey(string query, EntityInfo entity)

for some of RDBMS it's necessary to pass additional clauses in query to get generated value (e.g. in Postgres - " returing id"

closeQuote
char closeQuote()

The character specific to this dialect used to close a quoted identifier.

createFieldListSQL
string createFieldListSQL(string[] fields)

returns comma separated quoted identifier list in () parenthesis

getCheckTableExistsSQL
string getCheckTableExistsSQL(string tableName)
Undocumented in source. Be warned that the author may not have intended to support it.
getColumnDefinition
string getColumnDefinition(PropertyInfo pi)
Undocumented in source. Be warned that the author may not have intended to support it.
getColumnTypeDefinition
string getColumnTypeDefinition(PropertyInfo pi, PropertyInfo overrideTypeFrom)
Undocumented in source.
getDropForeignKeySQL
string getDropForeignKeySQL(string tableName, string indexName)
Undocumented in source. Be warned that the author may not have intended to support it.
getDropIndexSQL
string getDropIndexSQL(string tableName, string indexName)
Undocumented in source. Be warned that the author may not have intended to support it.
getForeignKeySQL
string getForeignKeySQL(string tableName, string indexName, string[] columnNames, string referencedTableName, string[] referencedFieldNames)
Undocumented in source. Be warned that the author may not have intended to support it.
getIndexSQL
string getIndexSQL(string tableName, string indexName, string[] columnNames)
Undocumented in source. Be warned that the author may not have intended to support it.
getStringQuoteChar
char getStringQuoteChar()
Undocumented in source. Be warned that the author may not have intended to support it.
getUniqueIndexItemSQL
string getUniqueIndexItemSQL(string indexName, string[] columnNames)
Undocumented in source. Be warned that the author may not have intended to support it.
getUniqueIndexSQL
string getUniqueIndexSQL(string tableName, string indexName, string[] columnNames)
Undocumented in source. Be warned that the author may not have intended to support it.
needQuote
bool needQuote(string ident)
Undocumented in source. Be warned that the author may not have intended to support it.
openQuote
char openQuote()

The character specific to this dialect used to begin a quoted identifier.

quote
string quote(string name)

Apply dialect-specific quoting (for quoted identifier, replace backtick quotes with dialect specific)

quoteIfNeeded
string quoteIfNeeded(string ident)
Undocumented in source. Be warned that the author may not have intended to support it.
quoteSqlString
string quoteSqlString(string s)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

keywordList
int[string] keywordList;
Undocumented in source.

Meta