DataSource, ConnectionPooledDataSource,
Connection or a String. If it's a String the
value is passed to the DriverManager to obtain a connection, otherwise the
Connection is established using the object.
| Modifier and Type | Field and Description |
|---|---|
| private static final PyString |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public PyObject | __call__(PyObject[]
all arguments to the function (including keyword arguments). args, String[] the keywords used for all keyword arguments. keywords)Overrides org. Expects a single PyString argument which is the JNDI name of the bound Connection or DataSource. |
| public PyObject | Returns: PyObjectOverrides org. Method __findattr__ |
| public String |
| _doc | back to summary |
|---|---|
| private static final PyString _doc | |
| Lookup | back to summary |
|---|---|
| public Lookup() | |
| __call__ | back to summary |
|---|---|
| public PyObject __call__(PyObject[] args, String[] keywords) Overrides org. Expects a single PyString argument which is the JNDI name of the bound Connection or DataSource. If any keywords are passed, an attempt is made to match the keyword to a static final Field on javax.naming.Context. If the Field is found, the value of the Field is substituted as the key and the value of the keyword is the value put in the Hashtable environment. If the Field is not found, the key is the keyword with no substitutions.
| |
| __findattr_ex__ | back to summary |
|---|---|
| public PyObject __findattr_ex__(String name) Overrides org. Method __findattr__ | |
| toString | back to summary |
|---|---|
| public String toString() Overrides org. Method toString | |