Additional top-level class in compilation unit: zxJDBCFunc.
from com.ziclix.python.sql import zxJDBC
db = zxJDBC.connect("jdbc:mysql://localhost:3306/MySql", None, None, "org.gjt.mm.mysql.Driver")
| Modifier and Type | Field and Description |
|---|---|
| public static PyObject | DatabaseError
Field DatabaseError |
| public static PyObject | DataError
Field DataError |
| public static DateFactory | datefactory
Instance used to create date-like objects as per the API |
| public static PyObject | Error
Field Error |
| public static PyObject | IntegrityError
Field IntegrityError |
| public static PyObject | InterfaceError
Field InterfaceError |
| public static PyObject | InternalError
Field InternalError |
| public static PyObject | NotSupportedError
Field NotSupportedError |
| public static PyObject | OperationalError
Field OperationalError |
| public static PyObject | ProgrammingError
Field ProgrammingError |
| private static ResourceBundle | resourceBundle
The ResourceBundle with error messages and doc strings |
| public static PyObject | Warning
Field Warning |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected static void | |
| protected static void | |
| protected static void | _buildExceptions(PyObject dict)
Create the exception classes and get their descriptions from the resource bundle. |
| protected static PyObject | |
| public static void | |
| public static String | |
| public static String | |
| public static PyException | Returns: PyExceptionReturn a newly instantiated PyException of the type Error. |
| public static PyException | Returns: PyExceptionReturn a newly instantiated PyException of the given type. |
| public static PyException | Returns: PyExceptionReturn a newly instantiated PyException of the type Error. |
| public static PyException | Returns: PyExceptionReturn a newly instantiated PyException of the given type. |
| public static PyException | Returns: PyExceptionRow index where the error has happened. Useful for diagnosing. rowIndex)Return a newly instantiated PyException of the given type. |
| DatabaseError | back to summary |
|---|---|
| public static PyObject DatabaseError Field DatabaseError | |
| DataError | back to summary |
|---|---|
| public static PyObject DataError Field DataError | |
| datefactory | back to summary |
|---|---|
| public static DateFactory datefactory Instance used to create date-like objects as per the API | |
| Error | back to summary |
|---|---|
| public static PyObject Error Field Error | |
| IntegrityError | back to summary |
|---|---|
| public static PyObject IntegrityError Field IntegrityError | |
| InterfaceError | back to summary |
|---|---|
| public static PyObject InterfaceError Field InterfaceError | |
| InternalError | back to summary |
|---|---|
| public static PyObject InternalError Field InternalError | |
| NotSupportedError | back to summary |
|---|---|
| public static PyObject NotSupportedError Field NotSupportedError | |
| OperationalError | back to summary |
|---|---|
| public static PyObject OperationalError Field OperationalError | |
| ProgrammingError | back to summary |
|---|---|
| public static PyObject ProgrammingError Field ProgrammingError | |
| resourceBundle | back to summary |
|---|---|
| private static ResourceBundle resourceBundle The ResourceBundle with error messages and doc strings | |
| Warning | back to summary |
|---|---|
| public static PyObject Warning Field Warning | |
| zxJDBC | back to summary |
|---|---|
| public zxJDBC() | |
| _addConnectors | back to summary |
|---|---|
| protected static void _addConnectors(PyObject dict) throws PyException Add all the possible connectors | |
| _addSqlTypes | back to summary |
|---|---|
| protected static void _addSqlTypes(PyObject dict) throws PyException Add the types from java.sql.Types | |
| _buildExceptions | back to summary |
|---|---|
| protected static void _buildExceptions(PyObject dict) Create the exception classes and get their descriptions from the resource bundle. | |
| buildClass | back to summary |
|---|---|
| protected static PyObject buildClass(String classname, PyObject superclass) Method buildClass
| |
| classDictInit | back to summary |
|---|---|
| public static void classDictInit(PyObject dict) Initializes the module. | |
| getString | back to summary |
|---|---|
| public static String getString(String key) Return the string associated with the key for the default resource bundle. It first checks for 'key.N' where N starts at 0 and increments by one. If any indexed key is found, the results of all the indexed values are concatenated with the line separator. If no indexed key is found, it defaults to checking the bundle by the key value alone.
| |
| getString | back to summary |
|---|---|
| public static String getString(String key, Object[] values) Return a formatted string. The key is used to get the format and the values are passed, along with the format, to a MessageFormat who formats it appropriately.
| |
| makeException | back to summary |
|---|---|
| public static PyException makeException(String msg) Return a newly instantiated PyException of the type Error.
| |
| makeException | back to summary |
|---|---|
| public static PyException makeException(PyObject type, String msg) Return a newly instantiated PyException of the given type.
| |
| makeException | back to summary |
|---|---|
| public static PyException makeException(Throwable throwable) Return a newly instantiated PyException of the type Error.
| |
| makeException | back to summary |
|---|---|
| public static PyException makeException(PyObject type, Throwable t) Return a newly instantiated PyException of the given type.
| |
| makeException | back to summary |
|---|---|
| public static PyException makeException(PyObject type, Throwable t, int rowIndex) Return a newly instantiated PyException of the given type.
| |