|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ujoframework.orm.SqlDialect
org.ujoframework.orm.dialect.DerbyDialect
public class DerbyDialect
Derby (http://db.apache.org/derby/)
NOTE: Dialect supports a LIMIT and OFFSET of the Derby release 10.5
http://db.apache.org/derby/docs/10.5/ref/| Field Summary |
|---|
| Fields inherited from class org.ujoframework.orm.SqlDialect |
|---|
COMMON_SEQ_TABLE_KEY, COMMON_SEQ_TABLE_NAME, ormHandler |
| Constructor Summary | |
|---|---|
DerbyDialect()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getJdbcDriver()
Embeded driver is default |
java.lang.String |
getJdbcUrl()
Syntax: jdbc:derby:[subsubprotocol:][databaseName][;attribute=value]* |
java.lang.Appendable |
printCreateSchema(java.lang.String schema,
java.lang.Appendable out)
Print SQL 'CREATE SCHEMA' |
java.lang.Appendable |
printForeignKey(MetaColumn column,
MetaTable table,
java.lang.Appendable out)
Print foreign key for the parameter column |
void |
printOffset(Query query,
java.lang.Appendable out)
Print an OFFSET of the statement SELECT. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DerbyDialect()
| Method Detail |
|---|
public java.lang.String getJdbcUrl()
getJdbcUrl in class SqlDialectpublic java.lang.String getJdbcDriver()
getJdbcDriver in class SqlDialect
public java.lang.Appendable printCreateSchema(java.lang.String schema,
java.lang.Appendable out)
throws java.io.IOException
printCreateSchema in class SqlDialectjava.io.IOException
public java.lang.Appendable printForeignKey(MetaColumn column,
MetaTable table,
java.lang.Appendable out)
throws java.io.IOException
printForeignKey in class SqlDialectjava.io.IOException
public void printOffset(Query query,
java.lang.Appendable out)
throws java.io.IOException
SqlDialect
printOffset in class SqlDialectjava.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||