|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.python.core.PyObject com.ziclix.python.sql.zxJDBC
Creates database connections.
from com.ziclix.python.sql import zxJDBC db = zxJDBC.connect("jdbc:mysql://localhost:3306/MySql", None, None, "org.gjt.mm.mysql.Driver")
Nested Class Summary |
Nested classes inherited from class org.python.core.PyObject |
PyObject.ConversionException |
Field Summary | |
static PyClass |
__class__
Field __class__ |
static PyObject |
DatabaseError
Field DatabaseError |
static PyObject |
DataError
Field DataError |
static DateFactory |
datefactory
Instance used to create date-like objects as per the API |
static PyObject |
Error
Field Error |
static PyObject |
IntegrityError
Field IntegrityError |
static PyObject |
InterfaceError
Field InterfaceError |
static PyObject |
InternalError
Field InternalError |
static PyObject |
NotSupportedError
Field NotSupportedError |
static PyObject |
OperationalError
Field OperationalError |
static PyObject |
ProgrammingError
Field ProgrammingError |
static PyObject |
Warning
Field Warning |
Fields inherited from class org.python.core.PyObject |
exposed_name |
Constructor Summary | |
zxJDBC()
|
Method Summary | |
static PyObject |
_empty__init__(PyObject[] arg,
java.lang.String[] kws)
|
static void |
classDictInit(PyObject dict)
Initializes the module. |
static java.lang.String |
getString(java.lang.String key)
Return the string associated with the key for the default resource bundle. |
static java.lang.String |
getString(java.lang.String key,
java.lang.Object[] values)
Return a formatted string. |
static PyException |
makeException(PyObject type,
java.lang.String msg)
Return a newly instantiated PyException of the given type. |
static PyException |
makeException(PyObject type,
java.lang.Throwable t)
Return a newly instantiated PyException of the given type. |
static PyException |
makeException(java.lang.String msg)
Return a newly instantiated PyException of the type Error. |
static PyException |
makeException(java.lang.Throwable throwable)
Return a newly instantiated PyException of the type Error. |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
public static PyObject Error
public static PyObject Warning
public static PyObject InterfaceError
public static PyObject DatabaseError
public static PyObject InternalError
public static PyObject OperationalError
public static PyObject ProgrammingError
public static PyObject IntegrityError
public static PyObject DataError
public static PyObject NotSupportedError
public static DateFactory datefactory
public static PyClass __class__
Constructor Detail |
public zxJDBC()
Method Detail |
public static void classDictInit(PyObject dict)
dict
- public static PyObject _empty__init__(PyObject[] arg, java.lang.String[] kws)
public static java.lang.String getString(java.lang.String key)
key
-
public static java.lang.String getString(java.lang.String key, java.lang.Object[] values)
key
- values
-
public static PyException makeException(java.lang.String msg)
msg
-
public static PyException makeException(PyObject type, java.lang.String msg)
type
- msg
-
public static PyException makeException(java.lang.Throwable throwable)
throwable
-
public static PyException makeException(PyObject type, java.lang.Throwable t)
type
- t
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |