Tabnine Logo
ConnectionFactory.openConnection
Code IndexAdd Tabnine to your IDE (free)

How to use
openConnection
method
in
org.postgresql.core.ConnectionFactory

Best Java code snippets using org.postgresql.core.ConnectionFactory.openConnection (Showing top 4 results out of 315)

origin: postgresql/postgresql

this.protoConnection = ConnectionFactory.openConnection(host, port, user, database, info, logger);
this.dbVersionNumber = protoConnection.getServerVersion();
this.compatible = info.getProperty("compatible", Driver.MAJORVERSION + "." + Driver.MINORVERSION);
origin: org.postgresql/postgresql

this.queryExecutor = ConnectionFactory.openConnection(hostSpecs, user, database, info);
origin: org.ancoron.postgresql/org.postgresql.osgi

this.protoConnection = ConnectionFactory.openConnection(host, port, user, database, info, logger);
this.dbVersionNumber = protoConnection.getServerVersion();
this.compatible = info.getProperty("compatible", Driver.MAJORVERSION + "." + Driver.MINORVERSION);
origin: org.ancoron.postgresql/org.postgresql

this.protoConnection = ConnectionFactory.openConnection(host, port, user, database, info, logger);
this.dbVersionNumber = protoConnection.getServerVersion();
this.compatible = info.getProperty("compatible", Driver.MAJORVERSION + "." + Driver.MINORVERSION);
org.postgresql.coreConnectionFactoryopenConnection

Javadoc

Establishes and initializes a new connection.

If the "protocolVersion" property is specified, only that protocol version is tried. Otherwise, all protocols are tried in order, falling back to older protocols as necessary.

Currently, protocol versions 3 (7.4+) and 2 (pre-7.4) are supported.

Popular methods of ConnectionFactory

  • openConnectionImpl
    Implementation of #openConnection for a particular protocol version. Implemented by subclasses of Co

Popular in Java

  • Updating database using SQL prepared statement
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • findViewById (Activity)
  • onCreateOptionsMenu (Activity)
  • Container (java.awt)
    A generic Abstract Window Toolkit(AWT) container object is a component that can contain other AWT co
  • FileNotFoundException (java.io)
    Thrown when a file specified by a program cannot be found.
  • OutputStream (java.io)
    A writable sink for bytes.Most clients will use output streams that write data to the file system (
  • URLConnection (java.net)
    A connection to a URL for reading or writing. For HTTP connections, see HttpURLConnection for docume
  • LinkedHashMap (java.util)
    LinkedHashMap is an implementation of Map that guarantees iteration order. All optional operations a
  • Base64 (org.apache.commons.codec.binary)
    Provides Base64 encoding and decoding as defined by RFC 2045.This class implements section 6.8. Base
  • Top Vim plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now