anvil.core.sql
Class AnyConnection
java.lang.Object
|
+--anvil.core.Any
|
+--anvil.core.AnyAbstractClass
|
+--anvil.core.sql.AnyConnection
- All Implemented Interfaces:
- java.lang.Cloneable, java.lang.Comparable
- public class AnyConnection
- extends AnyAbstractClass
class AnyConnection
| Fields inherited from class anvil.core.Any |
ARRAY0, DOUBLE_MINUS_ONE, DOUBLE_ONE, DOUBLE_ZERO, EMPTY_STRING, EMPTY_TUPLE, FALSE, INF, IS_ARRAY, IS_BINARY, IS_BOOLEAN, IS_BUFFER, IS_CLASS, IS_DOUBLE, IS_ENUMERATION, IS_INF, IS_INT, IS_LIST, IS_MAP, IS_NEG_INF, IS_NULL, IS_PATTERN, IS_RANGE, IS_STRING, IS_TUPLE, IS_UNDEFINED, MINUS_ONE, NAN, NEG_INF, NULL, ONE, p_compareTo, p_each, p_equals, p_pipe, p_select, THREE, TRUE, TWO, UNDEFINED, ZERO |
| Methods inherited from class anvil.core.Any |
_clone, _copy, _invoke, _invoke, _invoke, _invoke, _invoke, _invoke, _serialize, _unserialize, _wakeup, add, classNameOf, clone, coerce, compare, compareTo, concat, contains, copy, create, create, create, create, create, create, create, create, create, create, create, create, create, create, decrease, deleteAttribute, deleteReference, divide, equals, execute, execute, execute, execute, execute, execute, getAttribute, getRef, getReference, has, increase, invoke, invoke, invoke, invoke, invoke, invoke, invoke, invoke, invoke, invoke, invoke, invoke, isArray, isBinary, isBoolean, isBuffer, isDefined, isDouble, isInstanceOf, isInt, isIterator, isList, isMap, isNull, isPattern, isRange, isRef, isSequence, isString, isTuple, isUndefined, iterator, m_clone, m_compareTo, m_copy, m_each, m_equals, m_hashCode, m_pipe, m_select, m_toBoolean, m_toString, minus, modulo, multiply, not, plus, setAttribute, setRef, setReference, setReference, sizeOf, subtract, toAnvil, toAnvil, toAnyBoolean, toAnyDouble, toAnyInt, toAnyString, toArray, toBinary, toBuffer, toByte, toChar, toCode, toDouble, toInt, toList, toLong, toMap, toPattern, toRange, toTuple, type |
| Methods inherited from class java.lang.Object |
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
p_query
public static final java.lang.Object[] p_query
p_prepare
public static final java.lang.Object[] p_prepare
p_call
public static final java.lang.Object[] p_call
p_setReadOnly
public static final java.lang.Object[] p_setReadOnly
p_setAutoCommit
public static final java.lang.Object[] p_setAutoCommit
p_setCatalog
public static final java.lang.Object[] p_setCatalog
_class
public static final NativeClass _class
AnyConnection
public AnyConnection(PooledConnection connectionimpl)
AnyConnection
public AnyConnection(java.sql.Connection connection)
classOf
public final ClassType classOf()
- Description copied from class:
Any
- Returns the type of this Any.
- Specified by:
classOf in class AnyAbstractClass
toObject
public java.lang.Object toObject()
- Description copied from class:
Any
- Gets the contained value as
java.lang.Object.
- Overrides:
toObject in class Any
- Returns:
- Value as Object.
getConnection
public java.sql.Connection getConnection()
throws java.sql.SQLException
java.sql.SQLException
m_query
public Any m_query(Context context,
java.lang.String query,
Any[] parameters)
m_prepare
public Any m_prepare(Context context,
java.lang.String query)
m_call
public Any m_call(Context context,
java.lang.String query)
m_commit
public Any m_commit(Context context)
m_rollback
public Any m_rollback(Context context)
m_release
public Any m_release()
m_close
public Any m_close(Context context)
m_isReadOnly
public Any m_isReadOnly(Context context)
m_setReadOnly
public Any m_setReadOnly(Context context,
boolean readOnly)
m_getAutoCommit
public Any m_getAutoCommit(Context context)
m_setAutoCommit
public Any m_setAutoCommit(Context context,
boolean enabled)
m_getCatalog
public Any m_getCatalog(Context context)
m_setCatalog
public Any m_setCatalog(Context context,
java.lang.String catalog)