|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jooq.util.AbstractDatabase
org.jooq.util.sqlserver.SQLServerDatabase
public class SQLServerDatabase
The SQL Server database. This database uses generated artefacts from HSQLDB, because HSQLDB's INFORMATION_SCHEMA is very similar to that of SQL Server, whereas SQL Server's INFORMATION_SCHEMA is not self-contained, i.e. it cannot be generated reading its own data.
| Constructor Summary | |
|---|---|
SQLServerDatabase()
|
|
| Method Summary | |
|---|---|
org.jooq.impl.Factory |
create()
Create the factory for this database |
protected List<ArrayDefinition> |
getArrays0()
Retrieve ALL ARRAYs from the database. |
protected List<EnumDefinition> |
getEnums0()
Retrieve ALL enum UDTs from the database. |
protected List<PackageDefinition> |
getPackages0()
Retrieve ALL packages from the database. |
protected List<RoutineDefinition> |
getRoutines0()
Retrieve ALL stored routines (functions and procedures) from the database. |
protected List<SequenceDefinition> |
getSequences0()
Retrieve ALL sequences from the database. |
protected List<TableDefinition> |
getTables0()
Retrieve ALL tables from the database. |
protected List<UDTDefinition> |
getUDTs0()
Retrieve ALL UDTs from the database. |
protected void |
loadForeignKeys(DefaultRelations relations)
Retrieve foreign keys and store them to relations. |
protected void |
loadPrimaryKeys(DefaultRelations relations)
Retrieve primary keys and store them to relations |
protected void |
loadUniqueKeys(DefaultRelations relations)
Retrieve non-primary unique keys and store them to relations |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SQLServerDatabase()
| Method Detail |
|---|
public org.jooq.impl.Factory create()
Database
protected void loadPrimaryKeys(DefaultRelations relations)
throws SQLException
loadPrimaryKeys in class AbstractDatabaseSQLException
protected void loadUniqueKeys(DefaultRelations relations)
throws SQLException
loadUniqueKeys in class AbstractDatabaseSQLException
protected void loadForeignKeys(DefaultRelations relations)
throws SQLException
loadForeignKeys in class AbstractDatabaseSQLException
protected List<SequenceDefinition> getSequences0()
throws SQLException
AbstractDatabase.getTables(SchemaDefinition)
getSequences0 in class AbstractDatabaseSQLException
protected List<TableDefinition> getTables0()
throws SQLException
AbstractDatabase.getTables(SchemaDefinition)
getTables0 in class AbstractDatabaseSQLException
protected List<EnumDefinition> getEnums0()
throws SQLException
AbstractDatabase.getEnums(SchemaDefinition)
getEnums0 in class AbstractDatabaseSQLException
protected List<UDTDefinition> getUDTs0()
throws SQLException
AbstractDatabase.getEnums(SchemaDefinition)
getUDTs0 in class AbstractDatabaseSQLException
protected List<ArrayDefinition> getArrays0()
throws SQLException
AbstractDatabase.getArrays(SchemaDefinition)
getArrays0 in class AbstractDatabaseSQLException
protected List<RoutineDefinition> getRoutines0()
throws SQLException
AbstractDatabaseAbstractDatabase.getRoutines(SchemaDefinition)
getRoutines0 in class AbstractDatabaseSQLException
protected List<PackageDefinition> getPackages0()
throws SQLException
AbstractDatabase.getPackages(SchemaDefinition)
getPackages0 in class AbstractDatabaseSQLException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||