com.googlecode.jdbw.server.postgresql
Class PostgresqlServer

java.lang.Object
  extended by com.googlecode.jdbw.server.AbstractDatabaseServer
      extended by com.googlecode.jdbw.server.StandardDatabaseServer
          extended by com.googlecode.jdbw.server.postgresql.PostgresqlServer
All Implemented Interfaces:
DatabaseServer, MultiCatalogDatabaseServer, NetworkDatabaseServer, UserAuthenticatedDatabaseServer

public class PostgresqlServer
extends StandardDatabaseServer

This class represents a PostgreSQL server connected to over a TCP/IP network.

Author:
Martin Berglund
See Also:
StandardDatabaseServer

Constructor Summary
PostgresqlServer(JDBCDriverDescriptor driverDescriptor, String hostname, int port, String catalog, String username, String password)
           
PostgresqlServer(String hostname, int port, String catalog, String username, String password)
           
 
Method Summary
protected  Properties getConnectionProperties()
           
 DatabaseServerType getServerType()
           
 
Methods inherited from class com.googlecode.jdbw.server.StandardDatabaseServer
equals, getDefaultCatalog, getHostname, getJDBCUrl, getPassword, getPort, getUsername, hashCode, toString
 
Methods inherited from class com.googlecode.jdbw.server.AbstractDatabaseServer
connect, getDriverDescriptor, setConnectionProperty, testConnection
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.googlecode.jdbw.DatabaseServer
connect, setConnectionProperty, testConnection
 

Constructor Detail

PostgresqlServer

public PostgresqlServer(String hostname,
                        int port,
                        String catalog,
                        String username,
                        String password)

PostgresqlServer

public PostgresqlServer(JDBCDriverDescriptor driverDescriptor,
                        String hostname,
                        int port,
                        String catalog,
                        String username,
                        String password)
Method Detail

getServerType

public DatabaseServerType getServerType()
Returns:
Type of the server

getConnectionProperties

protected Properties getConnectionProperties()
Overrides:
getConnectionProperties in class AbstractDatabaseServer


Copyright © 2012. All Rights Reserved.