|
||||||||||
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")
Field Summary | |
static PyClass |
__class__
Field __class__ |
static PyObject |
DatabaseError
Field DatabaseError |
static PyObject |
DataError
Field DataError |
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 |
Constructor Summary | |
zxJDBC()
|
Method Summary | |
static PyObject |
_empty__init__(PyObject[] arg,
java.lang.String[] kws)
Method _empty__init__ |
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. |
static PyException |
newError(java.lang.String msg)
Return a newly instantiated Error. |
static PyException |
newError(java.lang.Throwable e)
Return a newly instantiated Error. |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, toString, 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 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)
public static java.lang.String getString(java.lang.String key, java.lang.Object[] values)
public static PyException makeException(PyObject type, java.lang.String msg)
public static PyException newError(java.lang.String msg)
public static PyException newError(java.lang.Throwable e)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |