Java Doc for Database.java in  » Database-Client » LiquiBase » liquibase » database » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Database Client » LiquiBase » liquibase.database 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


liquibase.database.Database

All known Subclasses:   liquibase.database.AbstractDatabase,  liquibase.database.MockDatabase,
Database
public interface Database extends DatabaseObject(Code)




Method Summary
 voidcheckDatabaseChangeLogLockTable()
    
 voidcheckDatabaseChangeLogTable()
    
 voidclose()
    
 voidcommit()
    
 ObjectconvertDatabaseValueToJavaObject(Object defaultValue, int dataType, int columnSize, int decimalDigits)
    
 StringconvertJavaObjectToString(Object value)
    
 StringconvertRequestedSchemaToCatalog(String requestedSchema)
    
 StringconvertRequestedSchemaToSchema(String requestedSchema)
    
 SqlStatementcreateFindSequencesSQL(String schema)
    
 booleandoesChangeLogLockTableExist()
    
 booleandoesChangeLogTableExist()
    
 booleandoesTagExist(String tag)
    
 voiddropDatabaseObjects(String schema)
    
 StringescapeColumnName(String columnName)
     Escapes a single column name in a database-dependent manner so reserved words can be used as a column name (i.e.
 StringescapeColumnNameList(String columnNames)
     Escapes a list of column names in a database-dependent manner so reserved words can be used as a column name (i.e.
 StringescapeSequenceName(String schemaName, String sequenceName)
    
 StringescapeStringForDatabase(String string)
    
 StringescapeTableName(String schemaName, String tableName)
     Escapes the table name in a database-dependent manner so reserved words can be used as a table name (i.e.
 StringescapeViewName(String schemaName, String viewName)
    
 StringgeneratePrimaryKeyName(String tableName)
    
public  booleangetAutoCommitMode()
    
 StringgetAutoIncrementClause()
    
 StringgetBlobType()
     Returns the actual database-specific data type to use a "BLOB" column.
 StringgetBooleanType()
     Returns the actual database-specific data type to use a "boolean" column.
 StringgetClobType()
     Returns the actual database-specific data type to use a "CLOB" column.
 StringgetColumnType(String columnType, Boolean autoIncrement)
    
 StringgetConcatSql(String... values)
     Returns SQL to concat the passed values.
 DatabaseConnectiongetConnection()
    
 StringgetConnectionURL()
    
 StringgetConnectionUsername()
    
 StringgetCurrencyType()
     Returns the actual database-specific data type to use a "currency" column.
 StringgetCurrentDateTimeFunction()
     Returns database-specific function for generating the current date/time.
 StringgetDatabaseChangeLogLockTableName()
    
 StringgetDatabaseChangeLogTableName()
    
 StringgetDatabaseProductName()
    
 StringgetDatabaseProductName(Connection conn)
    
 StringgetDatabaseProductVersion()
    
 intgetDatabaseType(int type)
    
 StringgetDateLiteral(String isoDate)
    
 StringgetDateLiteral(java.sql.Date date)
    
 StringgetDateLiteral(java.sql.Time time)
    
 StringgetDateLiteral(java.sql.Timestamp timeStamp)
    
 StringgetDateLiteral(Date defaultDateValue)
    
 StringgetDateTimeType()
     Returns the actual database-specific data type to use a "datetime" column.
 StringgetDateType()
    
 StringgetDefaultCatalogName()
    
 StringgetDefaultDriver(String url)
     If this database understands the given url, return the default driver class name.
 StringgetDefaultSchemaName()
    
 StringgetDriverName()
    
 StringgetFalseBooleanValue()
    
 JdbcTemplategetJdbcTemplate()
    
 StringgetLineComment()
    
 StringgetProductName()
     Returns the full database product name.
 RanChangeSetgetRanChangeSet(ChangeSet changeSet)
    
 List<RanChangeSet>getRanChangeSetList()
    
 DategetRanDate(ChangeSet changeSet)
    
 ChangeSet.RunStatusgetRunStatus(ChangeSet changeSet)
    
 SqlStatementgetSelectChangeLogLockSQL()
    
 StringgetTimeType()
    
 StringgetTrueBooleanValue()
    
 StringgetTypeName()
     Returns an all-lower-case short name of the product.
 StringgetUUIDType()
     Returns the actual database-specific data type to use a "UUID" column.
 StringgetViewDefinition(String schemaName, String name)
    
 booleanisColumnAutoIncrement(String schemaName, String tableName, String columnName)
    
 booleanisCorrectDatabaseImplementation(Connection conn)
     Is this AbstractDatabase subclass the correct one to use for the given connection.
 booleanisLiquibaseTable(String tableName)
    
 booleanisSystemTable(String catalogName, String schemaName, String tableName)
    
 booleanisSystemView(String catalogName, String schemaName, String name)
    
 voidmarkChangeSetAsRan(ChangeSet changeSet)
    
 voidmarkChangeSetAsReRan(ChangeSet changeSet)
    
 voidremoveRanStatus(ChangeSet changeSet)
    
 voidrollback()
    
 voidsetConnection(Connection conn)
    
 voidsetConnection(DatabaseConnection conn)
    
 voidsetCurrentDateTimeFunction(String function)
    
 voidsetDefaultSchemaName(String schemaName)
    
 voidsetJdbcTemplate(JdbcTemplate template)
    
 booleanshouldQuoteValue(String value)
    
public  booleansupportsAutoIncrement()
    
 booleansupportsDDLInTransaction()
     Determines if the database supports DDL within a transaction or not.
 booleansupportsInitiallyDeferrableColumns()
     Returns whether this database support initially deferrable columns.
 booleansupportsSchemas()
    
public  booleansupportsSequences()
    
 booleansupportsTablespaces()
    
 voidtag(String tagString)
    



Method Detail
checkDatabaseChangeLogLockTable
void checkDatabaseChangeLogLockTable() throws JDBCException(Code)



checkDatabaseChangeLogTable
void checkDatabaseChangeLogTable() throws JDBCException(Code)



close
void close() throws JDBCException(Code)



commit
void commit() throws JDBCException(Code)



convertDatabaseValueToJavaObject
Object convertDatabaseValueToJavaObject(Object defaultValue, int dataType, int columnSize, int decimalDigits) throws ParseException(Code)



convertJavaObjectToString
String convertJavaObjectToString(Object value)(Code)



convertRequestedSchemaToCatalog
String convertRequestedSchemaToCatalog(String requestedSchema) throws JDBCException(Code)



convertRequestedSchemaToSchema
String convertRequestedSchemaToSchema(String requestedSchema) throws JDBCException(Code)



createFindSequencesSQL
SqlStatement createFindSequencesSQL(String schema) throws JDBCException(Code)



doesChangeLogLockTableExist
boolean doesChangeLogLockTableExist()(Code)



doesChangeLogTableExist
boolean doesChangeLogTableExist()(Code)



doesTagExist
boolean doesTagExist(String tag) throws JDBCException(Code)



dropDatabaseObjects
void dropDatabaseObjects(String schema) throws JDBCException(Code)



escapeColumnName
String escapeColumnName(String columnName)(Code)
Escapes a single column name in a database-dependent manner so reserved words can be used as a column name (i.e. "return").
Parameters:
  columnName - column name escaped column name



escapeColumnNameList
String escapeColumnNameList(String columnNames)(Code)
Escapes a list of column names in a database-dependent manner so reserved words can be used as a column name (i.e. "return").
Parameters:
  columnNames - list of column names escaped column name list



escapeSequenceName
String escapeSequenceName(String schemaName, String sequenceName)(Code)



escapeStringForDatabase
String escapeStringForDatabase(String string)(Code)



escapeTableName
String escapeTableName(String schemaName, String tableName)(Code)
Escapes the table name in a database-dependent manner so reserved words can be used as a table name (i.e. "order"). Currently only escapes MS-SQL because other DBMSs store table names case-sensitively when escaping is used which could confuse end-users. Pass null to schemaName to use the default schema



escapeViewName
String escapeViewName(String schemaName, String viewName)(Code)



generatePrimaryKeyName
String generatePrimaryKeyName(String tableName)(Code)



getAutoCommitMode
public boolean getAutoCommitMode()(Code)
Auto-commit mode to run in



getAutoIncrementClause
String getAutoIncrementClause()(Code)



getBlobType
String getBlobType()(Code)
Returns the actual database-specific data type to use a "BLOB" column.



getBooleanType
String getBooleanType()(Code)
Returns the actual database-specific data type to use a "boolean" column.



getClobType
String getClobType()(Code)
Returns the actual database-specific data type to use a "CLOB" column.



getColumnType
String getColumnType(String columnType, Boolean autoIncrement)(Code)



getConcatSql
String getConcatSql(String... values)(Code)
Returns SQL to concat the passed values.



getConnection
DatabaseConnection getConnection()(Code)



getConnectionURL
String getConnectionURL() throws JDBCException(Code)



getConnectionUsername
String getConnectionUsername() throws JDBCException(Code)



getCurrencyType
String getCurrencyType()(Code)
Returns the actual database-specific data type to use a "currency" column.



getCurrentDateTimeFunction
String getCurrentDateTimeFunction()(Code)
Returns database-specific function for generating the current date/time.



getDatabaseChangeLogLockTableName
String getDatabaseChangeLogLockTableName()(Code)



getDatabaseChangeLogTableName
String getDatabaseChangeLogTableName()(Code)



getDatabaseProductName
String getDatabaseProductName()(Code)



getDatabaseProductName
String getDatabaseProductName(Connection conn) throws JDBCException(Code)



getDatabaseProductVersion
String getDatabaseProductVersion() throws JDBCException(Code)



getDatabaseType
int getDatabaseType(int type)(Code)



getDateLiteral
String getDateLiteral(String isoDate)(Code)



getDateLiteral
String getDateLiteral(java.sql.Date date)(Code)



getDateLiteral
String getDateLiteral(java.sql.Time time)(Code)



getDateLiteral
String getDateLiteral(java.sql.Timestamp timeStamp)(Code)



getDateLiteral
String getDateLiteral(Date defaultDateValue)(Code)



getDateTimeType
String getDateTimeType()(Code)
Returns the actual database-specific data type to use a "datetime" column.



getDateType
String getDateType()(Code)



getDefaultCatalogName
String getDefaultCatalogName() throws JDBCException(Code)



getDefaultDriver
String getDefaultDriver(String url)(Code)
If this database understands the given url, return the default driver class name. Otherwise return null.



getDefaultSchemaName
String getDefaultSchemaName()(Code)



getDriverName
String getDriverName() throws JDBCException(Code)



getFalseBooleanValue
String getFalseBooleanValue()(Code)



getJdbcTemplate
JdbcTemplate getJdbcTemplate()(Code)



getLineComment
String getLineComment()(Code)



getProductName
String getProductName()(Code)
Returns the full database product name. May be different than what the JDBC connection reports (getDatabaseProductName())



getRanChangeSet
RanChangeSet getRanChangeSet(ChangeSet changeSet) throws JDBCException, DatabaseHistoryException(Code)



getRanChangeSetList
List<RanChangeSet> getRanChangeSetList() throws JDBCException(Code)



getRanDate
Date getRanDate(ChangeSet changeSet) throws JDBCException, DatabaseHistoryException(Code)



getRunStatus
ChangeSet.RunStatus getRunStatus(ChangeSet changeSet) throws JDBCException, DatabaseHistoryException(Code)



getSelectChangeLogLockSQL
SqlStatement getSelectChangeLogLockSQL() throws JDBCException(Code)



getTimeType
String getTimeType()(Code)



getTrueBooleanValue
String getTrueBooleanValue()(Code)



getTypeName
String getTypeName()(Code)
Returns an all-lower-case short name of the product. Used for end-user selecting of database type such as the DBMS precondition.



getUUIDType
String getUUIDType()(Code)
Returns the actual database-specific data type to use a "UUID" column.



getViewDefinition
String getViewDefinition(String schemaName, String name) throws JDBCException(Code)



isColumnAutoIncrement
boolean isColumnAutoIncrement(String schemaName, String tableName, String columnName) throws SQLException, JDBCException(Code)



isCorrectDatabaseImplementation
boolean isCorrectDatabaseImplementation(Connection conn) throws JDBCException(Code)
Is this AbstractDatabase subclass the correct one to use for the given connection.



isLiquibaseTable
boolean isLiquibaseTable(String tableName)(Code)



isSystemTable
boolean isSystemTable(String catalogName, String schemaName, String tableName)(Code)



isSystemView
boolean isSystemView(String catalogName, String schemaName, String name)(Code)



markChangeSetAsRan
void markChangeSetAsRan(ChangeSet changeSet) throws JDBCException(Code)



markChangeSetAsReRan
void markChangeSetAsReRan(ChangeSet changeSet) throws JDBCException(Code)



removeRanStatus
void removeRanStatus(ChangeSet changeSet) throws JDBCException(Code)



rollback
void rollback() throws JDBCException(Code)



setConnection
void setConnection(Connection conn)(Code)



setConnection
void setConnection(DatabaseConnection conn)(Code)



setCurrentDateTimeFunction
void setCurrentDateTimeFunction(String function)(Code)



setDefaultSchemaName
void setDefaultSchemaName(String schemaName) throws JDBCException(Code)



setJdbcTemplate
void setJdbcTemplate(JdbcTemplate template)(Code)



shouldQuoteValue
boolean shouldQuoteValue(String value)(Code)



supportsAutoIncrement
public boolean supportsAutoIncrement()(Code)



supportsDDLInTransaction
boolean supportsDDLInTransaction()(Code)
Determines if the database supports DDL within a transaction or not. True if the database supports DDL within a transaction, otherwise false.



supportsInitiallyDeferrableColumns
boolean supportsInitiallyDeferrableColumns()(Code)
Returns whether this database support initially deferrable columns.



supportsSchemas
boolean supportsSchemas()(Code)



supportsSequences
public boolean supportsSequences()(Code)



supportsTablespaces
boolean supportsTablespaces()(Code)



tag
void tag(String tagString) throws JDBCException(Code)



www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.