Package org.teiid.jdbc

Examples of org.teiid.jdbc.TeiidDriver

The user, password properties are needed if the user authentication is turned on. All the "other-properties" are simple name value pairs. Look at {@link JDBCURL} KNOWN_PROPERTIES for list of known properties allowed.

 
  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
View Full Code Here


   
    FakeServer server = new FakeServer();
    server.setUseCallingThread(false);
    server.deployVDB("parts", UnitTestUtil.getTestDataPath() + "/PartsSupplier.vdb");
   
    TeiidDriver driver = new TeiidDriver();
    driver.setEmbeddedProfile(server);
    odbcTransport.setDriver(driver);
   
  }
View Full Code Here

TOP

Related Classes of org.teiid.jdbc.TeiidDriver

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.