/** * INTERNAL: * Connect the session only (this must be the write connection as the read is shared). */ public void connect(Accessor accessor) throws DatabaseException { accessor.connect(getDatasourceLogin(), this); }
public void onConnect() { if (!isConnected()) { accessor.connect(login, ownerSession); } }
/** * INTERNAL: * Connect the session only (this must be the write connection as the read is shared). */ public void connect(Accessor accessor) throws DatabaseException { accessor.connect(getDatasourceLogin(), this); }
public void onConnect() { if (!isConnected()) { accessor.connect(login, ownerSession); } }
public void onConnect() { if (!isConnected()) { accessor.connect(login, ownerSession); } }
/** * INTERNAL: * Connect the session only. */ public void connect() throws DatabaseException { getAccessor().connect(getDatasourceLogin(), this); }
/** * INTERNAL: * Connect the session only. */ public void connect() throws DatabaseException { getAccessor().connect(getDatasourceLogin(), this); }
/** * INTERNAL: * Connect the session only. */ public void connect() throws DatabaseException { getAccessor().connect(getDatasourceLogin(), this); }
/** * INTERNAL: * Create a new connection, accessors are used as connections. */ protected Accessor buildConnection() { Accessor connection = this.login.buildAccessor(); connection.setPool(this); connection.connect(this.login, this.owner); return connection; }
/** * INTERNAL: * Create a new connection, accessors are used as connections. */ protected Accessor buildConnection() { Accessor connection = this.login.buildAccessor(); connection.setPool(this); connection.connect(this.login, this.owner); return connection; }
/** * INTERNAL: * Connect the session only (this must be the write connection as the read is shared). */ public void connect() throws DatabaseException { getWriteConnection().connect(getDatasourceLogin(), this); }
/** * INTERNAL: * Create a new connection, accessors are used as connections. */ protected Accessor buildConnection() { Login localLogin = (Login)getLogin().clone(); Accessor connection = localLogin.buildAccessor(); connection.connect(localLogin, getOwner()); return connection; }