Package org.adbcj.postgresql.codec.frontend

Examples of org.adbcj.postgresql.codec.frontend.StartupMessage


  public void connectionOpened(AbstractConnection connection) {
    Map<ConfigurationVariable, String> parameters = new HashMap<ConfigurationVariable, String>();
    parameters.put(ConfigurationVariable.CLIENT_ENCODING, "UNICODE");
    parameters.put(ConfigurationVariable.DATE_STYLE, "ISO");
    connection.write(new StartupMessage(connectionManager.getUsername(), connectionManager.getDatabase(), parameters));
  }
View Full Code Here

TOP

Related Classes of org.adbcj.postgresql.codec.frontend.StartupMessage

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.