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);