Package org.teiid.jdbc

Examples of org.teiid.jdbc.EmbeddedProfile


  public ODBCSocketListener(SocketConfiguration config, StorageManager storageManager, int portOffset, int maxLobSize) {
    //the clientserviceregistry isn't actually used by ODBC
    super(config, new ClientServiceRegistryImpl(ClientServiceRegistry.Type.ODBC), storageManager, portOffset);
    this.maxLobSize = maxLobSize;
    this.driver = new TeiidDriver();
    this.driver.setEmbeddedProfile(new EmbeddedProfile() {
      @Override
      protected ServerConnection createServerConnection(Properties info)
          throws TeiidException {
        //When using the non-blocking api, we don't want to use the calling thread
        return new LocalServerConnection(info, false);
View Full Code Here

TOP

Related Classes of org.teiid.jdbc.EmbeddedProfile

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.