|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ujorm.orm.SqlDialect
org.ujorm.orm.dialect.FirebirdDialect
public class FirebirdDialect
| Field Summary |
|---|
| Fields inherited from class org.ujorm.orm.SqlDialect |
|---|
COMMON_SEQ_TABLE_KEY, DEFAULT_SCHEMA_SYMBOL, ormHandler |
| Constructor Summary | |
|---|---|
FirebirdDialect()
|
|
| Method Summary | |
|---|---|
String |
getJdbcDriver()
Returns a JDBC driver class name. |
String |
getJdbcUrl()
Returns a default JDBC URL |
boolean |
isMultiRowInsertSupported()
Multi row INSERT is not implemented in this dialect yet due: Caused by: org.firebirdsql.jdbc.FBSQLException: GDS Exception. |
Appendable |
printAlterTableAddColumn(MetaColumn column,
Appendable out)
Print a SQL sript to add a new column to the table The DDL statement does not contains a word COLUMN. |
Appendable |
printCreateSchema(String schema,
Appendable out)
NO SCHEMA |
Appendable |
printInsert(List<? extends OrmUjo> bo,
int idxFrom,
int idxTo,
Appendable out)
Implementation is not working |
protected Appendable |
printLockForSelect(Query query,
Appendable out)
Print a 'lock clausule' to the end of SQL SELECT statement to use a pessimistic lock. |
protected Appendable |
printQuotedNameAlways(CharSequence name,
Appendable sql)
This method does not quote due some errors. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FirebirdDialect()
| Method Detail |
|---|
public String getJdbcDriver()
SqlDialect
getJdbcDriver in class SqlDialectpublic String getJdbcUrl()
SqlDialect
getJdbcUrl in class SqlDialect
public Appendable printCreateSchema(String schema,
Appendable out)
throws IOException
printCreateSchema in class SqlDialectIOException
protected Appendable printLockForSelect(Query query,
Appendable out)
throws IOException,
UnsupportedOperationException
printLockForSelect in class SqlDialectquery - The UJO query
IOException
UnsupportedOperationException
public Appendable printAlterTableAddColumn(MetaColumn column,
Appendable out)
throws IOException
printAlterTableAddColumn in class SqlDialectIOExceptionpublic boolean isMultiRowInsertSupported()
isMultiRowInsertSupported in class SqlDialectMulti row insert
public Appendable printInsert(List<? extends OrmUjo> bo,
int idxFrom,
int idxTo,
Appendable out)
throws IOException
printInsert in class SqlDialectbo - Business object listidxFrom - Start index from listidxTo - Finished index from list (excluded)
IOExceptionisMultiRowInsertSupported()
protected Appendable printQuotedNameAlways(CharSequence name,
Appendable sql)
throws IOException
printQuotedNameAlways in class SqlDialectname - Name (identifier) for quotingsql - Target SQL for printing new quoted name
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||