com.atlassian.bamboo.utils.db
Class PostgreSqlDbmsBean

java.lang.Object
  extended by com.atlassian.bamboo.utils.db.AbstractDbmsBean
      extended by com.atlassian.bamboo.utils.db.PostgreSqlDbmsBean
All Implemented Interfaces:
DbmsBean

public class PostgreSqlDbmsBean
extends AbstractDbmsBean


Constructor Summary
PostgreSqlDbmsBean()
           
 
Method Summary
 java.lang.String getQuery(SqlQueryProvider sqlQueryProvider)
          Provide a different SQL query depending on SQL engine used.
 boolean isPostgreSql()
           
 
Methods inherited from class com.atlassian.bamboo.utils.db.AbstractDbmsBean
dropColumn, isColumnPresent, isColumnPresent, isHsqldb, isMsSqlServer, isMySql, isOracle, isTablePresent, isTablePresent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PostgreSqlDbmsBean

public PostgreSqlDbmsBean()
Method Detail

getQuery

@NotNull
public java.lang.String getQuery(@NotNull
                                         SqlQueryProvider sqlQueryProvider)
Description copied from interface: DbmsBean
Provide a different SQL query depending on SQL engine used.

Returns:

isPostgreSql

public boolean isPostgreSql()
Specified by:
isPostgreSql in interface DbmsBean
Overrides:
isPostgreSql in class AbstractDbmsBean
Returns:
true if db configured in Hibernate is PostgreSQL


Copyright © 2011 Atlassian. All Rights Reserved.