com.ziclix.python.sql
public class zxJDBC extends PyObject implements ClassDictInit
from com.ziclix.python.sql import zxJDBC db = zxJDBC.connect("jdbc:mysql://localhost:3306/MySql", None, None, "org.gjt.mm.mysql.Driver")
Version: $Revision: 3125 $
Field Summary | |
---|---|
static DateFactory | datefactory
Instance used to create date-like objects as per the API |
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 |
static PyClass | __class__
Field __class__ |
Method Summary | |
---|---|
static void | classDictInit(PyObject dict)
Initializes the module.
|
static String | getString(String key)
Return the string associated with the key for the default resource bundle. |
static String | getString(String key, Object[] values)
Return a formatted string. |
static PyException | makeException(String msg)
Return a newly instantiated PyException of the type Error.
|
static PyException | makeException(PyObject type, String msg)
Return a newly instantiated PyException of the given type.
|
static PyException | makeException(Throwable throwable)
Return a newly instantiated PyException of the type Error.
|
static PyException | makeException(PyObject type, Throwable t)
Return a newly instantiated PyException of the given type.
|
static PyObject | _empty__init__(PyObject[] arg, String[] kws) |
Parameters: dict
Parameters: key
Returns: String
Parameters: key values
Returns: String
Parameters: msg
Returns: PyException
Parameters: type msg
Returns: PyException
Parameters: throwable
Returns: PyException
Parameters: type t
Returns: PyException