RingJavafor Ring

javax.sql

19 classes of the module java.sql.

Load them with:

using {
	"javax.sql"
}

All packages

CommonDataSource#

interface · javax.sql.CommonDataSource

Methods

MethodRing callJava overloads
createShardingKeyBuildercreateShardingKeyBuilder()ShardingKeyBuilder createShardingKeyBuilder()
getLoginTimeoutgetLoginTimeout()int getLoginTimeout()
getLogWritergetLogWriter()PrintWriter getLogWriter()
getParentLoggergetParentLogger()Logger getParentLogger()
setLoginTimeoutsetLoginTimeout(seconds)void setLoginTimeout(int seconds)
setLogWritersetLogWriter(out)void setLogWriter(PrintWriter out)

ConnectionEvent#

class · extends EventObject · javax.sql.ConnectionEvent

Constructors

new ConnectionEvent(PooledConnection con)
new ConnectionEvent(PooledConnection con, SQLException ex)

Ring: new ConnectionEvent(args) uses the constructor with the fewest parameters (at least one); new ConnectionEvent makes the object with the constructor without parameters; the others: (new ConnectionEvent).@New([ :param = value ]) or .@New([v1,v2]).

Methods

MethodRing callJava overloads
getSQLExceptiongetSQLException()SQLException getSQLException()

The methods and fields of EventObject are inherited.

ConnectionEventListener#

interface · javax.sql.ConnectionEventListener

Extends: EventListener

Methods

MethodRing callJava overloads
connectionClosedconnectionClosed(event)void connectionClosed(ConnectionEvent event)
connectionErrorOccurredconnectionErrorOccurred(event)void connectionErrorOccurred(ConnectionEvent event)

ConnectionPoolDataSource#

interface · javax.sql.ConnectionPoolDataSource

Extends: CommonDataSource

Methods

MethodRing callJava overloads
@getPooledConnection@getPooledConnection([user,password])
@getPooledConnection([ :user = v, :password = v ])
PooledConnection getPooledConnection(String user, String password)
createPooledConnectionBuildercreatePooledConnectionBuilder()PooledConnectionBuilder createPooledConnectionBuilder()
createShardingKeyBuildercreateShardingKeyBuilder()ShardingKeyBuilder createShardingKeyBuilder()
getLoginTimeoutgetLoginTimeout()int getLoginTimeout()
getLogWritergetLogWriter()PrintWriter getLogWriter()
getParentLoggergetParentLogger()Logger getParentLogger()
getPooledConnectiongetPooledConnection()PooledConnection getPooledConnection()
setLoginTimeoutsetLoginTimeout(seconds)void setLoginTimeout(int seconds)
setLogWritersetLogWriter(out)void setLogWriter(PrintWriter out)

DataSource#

interface · javax.sql.DataSource

Extends: CommonDataSource, Wrapper

Methods

MethodRing callJava overloads
@getConnection@getConnection([username,password])
@getConnection([ :username = v, :password = v ])
Connection getConnection(String username, String password)
createConnectionBuildercreateConnectionBuilder()ConnectionBuilder createConnectionBuilder()
createShardingKeyBuildercreateShardingKeyBuilder()ShardingKeyBuilder createShardingKeyBuilder()
getConnectiongetConnection()Connection getConnection()
getLoginTimeoutgetLoginTimeout()int getLoginTimeout()
getLogWritergetLogWriter()PrintWriter getLogWriter()
getParentLoggergetParentLogger()Logger getParentLogger()
isWrapperForisWrapperFor(iface)boolean isWrapperFor(Class iface)
setLoginTimeoutsetLoginTimeout(seconds)void setLoginTimeout(int seconds)
setLogWritersetLogWriter(out)void setLogWriter(PrintWriter out)
unwrapunwrap(iface)Object unwrap(Class iface)

PooledConnection#

interface · javax.sql.PooledConnection

Methods

MethodRing callJava overloads
addConnectionEventListeneraddConnectionEventListener(listener)void addConnectionEventListener(ConnectionEventListener listener)
addStatementEventListeneraddStatementEventListener(listener)void addStatementEventListener(StatementEventListener listener)
closeclose()void close()
getConnectiongetConnection()Connection getConnection()
removeConnectionEventListenerremoveConnectionEventListener(listener)void removeConnectionEventListener(ConnectionEventListener listener)
removeStatementEventListenerremoveStatementEventListener(listener)void removeStatementEventListener(StatementEventListener listener)

PooledConnectionBuilder#

interface · javax.sql.PooledConnectionBuilder

Methods

MethodRing callJava overloads
buildbuild()PooledConnection build()
passwordpassword(password)PooledConnectionBuilder password(String password)
shardingKeyshardingKey(shardingKey)PooledConnectionBuilder shardingKey(ShardingKey shardingKey)
superShardingKeysuperShardingKey(superShardingKey)PooledConnectionBuilder superShardingKey(ShardingKey superShardingKey)
useruser(username)PooledConnectionBuilder user(String username)

RowSet#

interface · javax.sql.RowSet

Extends: ResultSet

Fields

NameTypeAccessIn Ring
FETCH_FORWARDintconstant · statico.FETCH_FORWARD
FETCH_REVERSEintconstant · statico.FETCH_REVERSE
FETCH_UNKNOWNintconstant · statico.FETCH_UNKNOWN
TYPE_FORWARD_ONLYintconstant · statico.TYPE_FORWARD_ONLY
TYPE_SCROLL_INSENSITIVEintconstant · statico.TYPE_SCROLL_INSENSITIVE
TYPE_SCROLL_SENSITIVEintconstant · statico.TYPE_SCROLL_SENSITIVE
CONCUR_READ_ONLYintconstant · statico.CONCUR_READ_ONLY
CONCUR_UPDATABLEintconstant · statico.CONCUR_UPDATABLE
HOLD_CURSORS_OVER_COMMITintconstant · statico.HOLD_CURSORS_OVER_COMMIT
CLOSE_CURSORS_AT_COMMITintconstant · statico.CLOSE_CURSORS_AT_COMMIT

Methods

MethodRing callJava overloads
@getUrl@getUrl(columnIndex)URL getURL(int columnIndex)
URL getURL(String columnLabel)
@next@next()boolean next()
absoluteabsolute(row)boolean absolute(int row)
addRowSetListeneraddRowSetListener(listener)void addRowSetListener(RowSetListener listener)
afterLastafterLast()void afterLast()
beforeFirstbeforeFirst()void beforeFirst()
cancelRowUpdatescancelRowUpdates()void cancelRowUpdates()
clearParametersclearParameters()void clearParameters()
clearWarningsclearWarnings()void clearWarnings()
closeclose()void close()
deleteRowdeleteRow()void deleteRow()
executeexecute()void execute()
findColumnfindColumn(columnLabel)int findColumn(String columnLabel)
firstfirst()boolean first()
getArraygetArray(columnLabel)Array getArray(String columnLabel)
Array getArray(int columnIndex)
getAsciiStreamgetAsciiStream(columnLabel)InputStream getAsciiStream(String columnLabel)
InputStream getAsciiStream(int columnIndex)
getBigDecimalgetBigDecimal(columnLabel)
getBigDecimal([columnLabel,scale])
getBigDecimal([ :columnLabel = v, :scale = v ])
BigDecimal getBigDecimal(String columnLabel)
BigDecimal getBigDecimal(int columnIndex)
BigDecimal getBigDecimal(String columnLabel, int scale)
BigDecimal getBigDecimal(int columnIndex, int scale)
getBinaryStreamgetBinaryStream(columnLabel)InputStream getBinaryStream(String columnLabel)
InputStream getBinaryStream(int columnIndex)
getBlobgetBlob(columnLabel)Blob getBlob(String columnLabel)
Blob getBlob(int columnIndex)
getBooleangetBoolean(columnLabel)boolean getBoolean(String columnLabel)
boolean getBoolean(int columnIndex)
getBytegetByte(columnLabel)byte getByte(String columnLabel)
byte getByte(int columnIndex)
getBytesgetBytes(columnLabel)byte[] getBytes(String columnLabel)
byte[] getBytes(int columnIndex)
getCharacterStreamgetCharacterStream(columnIndex)Reader getCharacterStream(int columnIndex)
Reader getCharacterStream(String columnLabel)
getClobgetClob(columnLabel)Clob getClob(String columnLabel)
Clob getClob(int columnIndex)
getCommandgetCommand()String getCommand()
getConcurrencygetConcurrency()int getConcurrency()
getCursorNamegetCursorName()String getCursorName()
getDataSourceNamegetDataSourceName()String getDataSourceName()
getDategetDate(columnIndex)
getDate([columnLabel,cal])
getDate([ :columnLabel = v, :cal = v ])
Date getDate(int columnIndex)
Date getDate(String columnLabel)
Date getDate(String columnLabel, Calendar cal)
Date getDate(int columnIndex, Calendar cal)
getDoublegetDouble(columnIndex)double getDouble(int columnIndex)
double getDouble(String columnLabel)
getEscapeProcessinggetEscapeProcessing()boolean getEscapeProcessing()
getFetchDirectiongetFetchDirection()int getFetchDirection()
getFetchSizegetFetchSize()int getFetchSize()
getFloatgetFloat(columnLabel)float getFloat(String columnLabel)
float getFloat(int columnIndex)
getHoldabilitygetHoldability()int getHoldability()
getIntgetInt(columnIndex)int getInt(int columnIndex)
int getInt(String columnLabel)
getLonggetLong(columnLabel)long getLong(String columnLabel)
long getLong(int columnIndex)
getMaxFieldSizegetMaxFieldSize()int getMaxFieldSize()
getMaxRowsgetMaxRows()int getMaxRows()
getMetaDatagetMetaData()ResultSetMetaData getMetaData()
getNCharacterStreamgetNCharacterStream(columnLabel)Reader getNCharacterStream(String columnLabel)
Reader getNCharacterStream(int columnIndex)
getNClobgetNClob(columnLabel)NClob getNClob(String columnLabel)
NClob getNClob(int columnIndex)
getNStringgetNString(columnIndex)String getNString(int columnIndex)
String getNString(String columnLabel)
getObjectgetObject(columnIndex)
getObject([columnLabel,type])
getObject([ :columnLabel = v, :type = v ])
Object getObject(int columnIndex)
Object getObject(String columnLabel)
Object getObject(String columnLabel, Class type)
Object getObject(String columnLabel, Map map)
Object getObject(int columnIndex, Map map)
Object getObject(int columnIndex, Class type)
getPasswordgetPassword()String getPassword()
getQueryTimeoutgetQueryTimeout()int getQueryTimeout()
getRefgetRef(columnLabel)Ref getRef(String columnLabel)
Ref getRef(int columnIndex)
getRowgetRow()int getRow()
getRowIdgetRowId(columnIndex)RowId getRowId(int columnIndex)
RowId getRowId(String columnLabel)
getShortgetShort(columnLabel)short getShort(String columnLabel)
short getShort(int columnIndex)
getSQLXMLgetSQLXML(columnLabel)SQLXML getSQLXML(String columnLabel)
SQLXML getSQLXML(int columnIndex)
getStatementgetStatement()Statement getStatement()
getStringgetString(columnLabel)String getString(String columnLabel)
String getString(int columnIndex)
getTimegetTime(columnLabel)
getTime([columnIndex,cal])
getTime([ :columnIndex = v, :cal = v ])
Time getTime(String columnLabel)
Time getTime(int columnIndex)
Time getTime(int columnIndex, Calendar cal)
Time getTime(String columnLabel, Calendar cal)
getTimestampgetTimestamp(columnLabel)
getTimestamp([columnLabel,cal])
getTimestamp([ :columnLabel = v, :cal = v ])
Timestamp getTimestamp(String columnLabel)
Timestamp getTimestamp(int columnIndex)
Timestamp getTimestamp(String columnLabel, Calendar cal)
Timestamp getTimestamp(int columnIndex, Calendar cal)
getTransactionIsolationgetTransactionIsolation()int getTransactionIsolation()
getTypegetType()int getType()
getTypeMapgetTypeMap()Map getTypeMap()
getUnicodeStreamgetUnicodeStream(columnIndex)InputStream getUnicodeStream(int columnIndex)
InputStream getUnicodeStream(String columnLabel)
getUrlgetUrl()String getUrl()
getUsernamegetUsername()String getUsername()
getWarningsgetWarnings()SQLWarning getWarnings()
insertRowinsertRow()void insertRow()
isAfterLastisAfterLast()boolean isAfterLast()
isBeforeFirstisBeforeFirst()boolean isBeforeFirst()
isClosedisClosed()boolean isClosed()
isFirstisFirst()boolean isFirst()
isLastisLast()boolean isLast()
isReadOnlyisReadOnly()boolean isReadOnly()
isWrapperForisWrapperFor(iface)boolean isWrapperFor(Class iface)
lastlast()boolean last()
moveToCurrentRowmoveToCurrentRow()void moveToCurrentRow()
moveToInsertRowmoveToInsertRow()void moveToInsertRow()
previousprevious()boolean previous()
refreshRowrefreshRow()void refreshRow()
relativerelative(rows)boolean relative(int rows)
removeRowSetListenerremoveRowSetListener(listener)void removeRowSetListener(RowSetListener listener)
rowDeletedrowDeleted()boolean rowDeleted()
rowInsertedrowInserted()boolean rowInserted()
rowUpdatedrowUpdated()boolean rowUpdated()
setArraysetArray(i,x)void setArray(int i, Array x)
setAsciiStreamsetAsciiStream([parameterName,x])
setAsciiStream([ :parameterName = v, :x = v ])
setAsciiStream([parameterName,x,length])
setAsciiStream([ :parameterName = v, :x = v, :length = v ])
void setAsciiStream(String parameterName, InputStream x)
void setAsciiStream(int parameterIndex, InputStream x)
void setAsciiStream(String parameterName, InputStream x, int length)
void setAsciiStream(int parameterIndex, InputStream x, int length)
setBigDecimalsetBigDecimal(parameterName,x)void setBigDecimal(String parameterName, BigDecimal x)
void setBigDecimal(int parameterIndex, BigDecimal x)
setBinaryStreamsetBinaryStream([parameterName,x])
setBinaryStream([ :parameterName = v, :x = v ])
setBinaryStream([parameterName,x,length])
setBinaryStream([ :parameterName = v, :x = v, :length = v ])
void setBinaryStream(String parameterName, InputStream x)
void setBinaryStream(int parameterIndex, InputStream x)
void setBinaryStream(String parameterName, InputStream x, int length)
void setBinaryStream(int parameterIndex, InputStream x, int length)
setBlobsetBlob([parameterName,inputStream])
setBlob([ :parameterName = v, :inputStream = v ])
setBlob([parameterName,inputStream,length])
setBlob([ :parameterName = v, :inputStream = v, :length = v ])
void setBlob(String parameterName, InputStream inputStream)
void setBlob(String parameterName, Blob x)
void setBlob(int parameterIndex, InputStream inputStream)
void setBlob(int i, Blob x)
void setBlob(String parameterName, InputStream inputStream, long length)
void setBlob(int parameterIndex, InputStream inputStream, long length)
setBooleansetBoolean(parameterName,x)void setBoolean(String parameterName, boolean x)
void setBoolean(int parameterIndex, boolean x)
setBytesetByte(parameterName,x)void setByte(String parameterName, byte x)
void setByte(int parameterIndex, byte x)
setBytessetBytes(parameterName,x)void setBytes(String parameterName, byte[] x)
void setBytes(int parameterIndex, byte[] x)
setCharacterStreamsetCharacterStream([parameterName,reader])
setCharacterStream([ :parameterName = v, :reader = v ])
setCharacterStream([parameterIndex,reader,length])
setCharacterStream([ :parameterIndex = v, :reader = v, :length = v ])
void setCharacterStream(String parameterName, Reader reader)
void setCharacterStream(int parameterIndex, Reader reader)
void setCharacterStream(int parameterIndex, Reader reader, int length)
void setCharacterStream(String parameterName, Reader reader, int length)
setClobsetClob([parameterIndex,reader])
setClob([ :parameterIndex = v, :reader = v ])
setClob([parameterName,reader,length])
setClob([ :parameterName = v, :reader = v, :length = v ])
void setClob(int parameterIndex, Reader reader)
void setClob(String parameterName, Clob x)
void setClob(String parameterName, Reader reader)
void setClob(int i, Clob x)
void setClob(String parameterName, Reader reader, long length)
void setClob(int parameterIndex, Reader reader, long length)
setCommandsetCommand(cmd)void setCommand(String cmd)
setConcurrencysetConcurrency(concurrency)void setConcurrency(int concurrency)
setDataSourceNamesetDataSourceName(name)void setDataSourceName(String name)
setDatesetDate([parameterIndex,x])
setDate([ :parameterIndex = v, :x = v ])
setDate([parameterName,x,cal])
setDate([ :parameterName = v, :x = v, :cal = v ])
void setDate(int parameterIndex, Date x)
void setDate(String parameterName, Date x)
void setDate(String parameterName, Date x, Calendar cal)
void setDate(int parameterIndex, Date x, Calendar cal)
setDoublesetDouble(parameterIndex,x)void setDouble(int parameterIndex, double x)
void setDouble(String parameterName, double x)
setEscapeProcessingsetEscapeProcessing(enable)void setEscapeProcessing(boolean enable)
setFetchDirectionsetFetchDirection(direction)void setFetchDirection(int direction)
setFetchSizesetFetchSize(rows)void setFetchSize(int rows)
setFloatsetFloat(parameterIndex,x)void setFloat(int parameterIndex, float x)
void setFloat(String parameterName, float x)
setIntsetInt(parameterName,x)void setInt(String parameterName, int x)
void setInt(int parameterIndex, int x)
setLongsetLong(parameterIndex,x)void setLong(int parameterIndex, long x)
void setLong(String parameterName, long x)
setMaxFieldSizesetMaxFieldSize(max)void setMaxFieldSize(int max)
setMaxRowssetMaxRows(max)void setMaxRows(int max)
setNCharacterStreamsetNCharacterStream([parameterName,value])
setNCharacterStream([ :parameterName = v, :value = v ])
setNCharacterStream([parameterIndex,value,length])
setNCharacterStream([ :parameterIndex = v, :value = v, :length = v ])
void setNCharacterStream(String parameterName, Reader value)
void setNCharacterStream(int parameterIndex, Reader value)
void setNCharacterStream(int parameterIndex, Reader value, long length)
void setNCharacterStream(String parameterName, Reader value, long length)
setNClobsetNClob([parameterName,value])
setNClob([ :parameterName = v, :value = v ])
setNClob([parameterIndex,reader,length])
setNClob([ :parameterIndex = v, :reader = v, :length = v ])
void setNClob(String parameterName, NClob value)
void setNClob(int parameterIndex, NClob value)
void setNClob(int parameterIndex, Reader reader)
void setNClob(String parameterName, Reader reader)
void setNClob(int parameterIndex, Reader reader, long length)
void setNClob(String parameterName, Reader reader, long length)
setNStringsetNString(parameterIndex,value)void setNString(int parameterIndex, String value)
void setNString(String parameterName, String value)
setNullsetNull([parameterIndex,sqlType])
setNull([ :parameterIndex = v, :sqlType = v ])
setNull([parameterName,sqlType,typeName])
setNull([ :parameterName = v, :sqlType = v, :typeName = v ])
void setNull(int parameterIndex, int sqlType)
void setNull(String parameterName, int sqlType)
void setNull(String parameterName, int sqlType, String typeName)
void setNull(int paramIndex, int sqlType, String typeName)
setObjectsetObject([parameterIndex,x])
setObject([ :parameterIndex = v, :x = v ])
setObject([parameterName,x,targetSqlType])
setObject([ :parameterName = v, :x = v, :targetSqlType = v ])
setObject([parameterIndex,x,targetSqlType,scaleOrLength])
setObject([ :parameterIndex = v, :x = v, :targetSqlType = v, :scaleOrLength = v ])
void setObject(int parameterIndex, Object x)
void setObject(String parameterName, Object x)
void setObject(String parameterName, Object x, int targetSqlType)
void setObject(int parameterIndex, Object x, int targetSqlType)
void setObject(int parameterIndex, Object x, int targetSqlType, int scaleOrLength)
void setObject(String parameterName, Object x, int targetSqlType, int scale)
setPasswordsetPassword(password)void setPassword(String password)
setQueryTimeoutsetQueryTimeout(seconds)void setQueryTimeout(int seconds)
setReadOnlysetReadOnly(value)void setReadOnly(boolean value)
setRefsetRef(i,x)void setRef(int i, Ref x)
setRowIdsetRowId(parameterName,x)void setRowId(String parameterName, RowId x)
void setRowId(int parameterIndex, RowId x)
setShortsetShort(parameterName,x)void setShort(String parameterName, short x)
void setShort(int parameterIndex, short x)
setSQLXMLsetSQLXML(parameterName,xmlObject)void setSQLXML(String parameterName, SQLXML xmlObject)
void setSQLXML(int parameterIndex, SQLXML xmlObject)
setStringsetString(parameterIndex,x)void setString(int parameterIndex, String x)
void setString(String parameterName, String x)
setTimesetTime([parameterName,x])
setTime([ :parameterName = v, :x = v ])
setTime([parameterIndex,x,cal])
setTime([ :parameterIndex = v, :x = v, :cal = v ])
void setTime(String parameterName, Time x)
void setTime(int parameterIndex, Time x)
void setTime(int parameterIndex, Time x, Calendar cal)
void setTime(String parameterName, Time x, Calendar cal)
setTimestampsetTimestamp([parameterName,x])
setTimestamp([ :parameterName = v, :x = v ])
setTimestamp([parameterIndex,x,cal])
setTimestamp([ :parameterIndex = v, :x = v, :cal = v ])
void setTimestamp(String parameterName, Timestamp x)
void setTimestamp(int parameterIndex, Timestamp x)
void setTimestamp(int parameterIndex, Timestamp x, Calendar cal)
void setTimestamp(String parameterName, Timestamp x, Calendar cal)
setTransactionIsolationsetTransactionIsolation(level)void setTransactionIsolation(int level)
setTypesetType(type)void setType(int type)
setTypeMapsetTypeMap(map)void setTypeMap(Map map)
setUrlsetUrl(url)
setUrl([parameterIndex,x])
setUrl([ :parameterIndex = v, :x = v ])
void setUrl(String url)
void setURL(int parameterIndex, URL x)
setUsernamesetUsername(name)void setUsername(String name)
unwrapunwrap(iface)Object unwrap(Class iface)
updateArrayupdateArray(columnIndex,x)void updateArray(int columnIndex, Array x)
void updateArray(String columnLabel, Array x)
updateAsciiStreamupdateAsciiStream([columnLabel,x])
updateAsciiStream([ :columnLabel = v, :x = v ])
updateAsciiStream([columnIndex,x,length])
updateAsciiStream([ :columnIndex = v, :x = v, :length = v ])
void updateAsciiStream(String columnLabel, InputStream x)
void updateAsciiStream(int columnIndex, InputStream x)
void updateAsciiStream(int columnIndex, InputStream x, long length)
void updateAsciiStream(String columnLabel, InputStream x, long length)
void updateAsciiStream(String columnLabel, InputStream x, int length)
void updateAsciiStream(int columnIndex, InputStream x, int length)
updateBigDecimalupdateBigDecimal(columnLabel,x)void updateBigDecimal(String columnLabel, BigDecimal x)
void updateBigDecimal(int columnIndex, BigDecimal x)
updateBinaryStreamupdateBinaryStream([columnIndex,x])
updateBinaryStream([ :columnIndex = v, :x = v ])
updateBinaryStream([columnIndex,x,length])
updateBinaryStream([ :columnIndex = v, :x = v, :length = v ])
void updateBinaryStream(int columnIndex, InputStream x)
void updateBinaryStream(String columnLabel, InputStream x)
void updateBinaryStream(int columnIndex, InputStream x, long length)
void updateBinaryStream(String columnLabel, InputStream x, int length)
void updateBinaryStream(String columnLabel, InputStream x, long length)
void updateBinaryStream(int columnIndex, InputStream x, int length)
updateBlobupdateBlob([columnLabel,inputStream])
updateBlob([ :columnLabel = v, :inputStream = v ])
updateBlob([columnLabel,inputStream,length])
updateBlob([ :columnLabel = v, :inputStream = v, :length = v ])
void updateBlob(String columnLabel, InputStream inputStream)
void updateBlob(int columnIndex, InputStream inputStream)
void updateBlob(String columnLabel, Blob x)
void updateBlob(int columnIndex, Blob x)
void updateBlob(String columnLabel, InputStream inputStream, long length)
void updateBlob(int columnIndex, InputStream inputStream, long length)
updateBooleanupdateBoolean(columnLabel,x)void updateBoolean(String columnLabel, boolean x)
void updateBoolean(int columnIndex, boolean x)
updateByteupdateByte(columnLabel,x)void updateByte(String columnLabel, byte x)
void updateByte(int columnIndex, byte x)
updateBytesupdateBytes(columnIndex,x)void updateBytes(int columnIndex, byte[] x)
void updateBytes(String columnLabel, byte[] x)
updateCharacterStreamupdateCharacterStream([columnLabel,reader])
updateCharacterStream([ :columnLabel = v, :reader = v ])
updateCharacterStream([columnLabel,reader,length])
updateCharacterStream([ :columnLabel = v, :reader = v, :length = v ])
void updateCharacterStream(String columnLabel, Reader reader)
void updateCharacterStream(int columnIndex, Reader x)
void updateCharacterStream(String columnLabel, Reader reader, long length)
void updateCharacterStream(int columnIndex, Reader x, int length)
void updateCharacterStream(int columnIndex, Reader x, long length)
void updateCharacterStream(String columnLabel, Reader reader, int length)
updateClobupdateClob([columnLabel,reader])
updateClob([ :columnLabel = v, :reader = v ])
updateClob([columnIndex,reader,length])
updateClob([ :columnIndex = v, :reader = v, :length = v ])
void updateClob(String columnLabel, Reader reader)
void updateClob(String columnLabel, Clob x)
void updateClob(int columnIndex, Clob x)
void updateClob(int columnIndex, Reader reader)
void updateClob(int columnIndex, Reader reader, long length)
void updateClob(String columnLabel, Reader reader, long length)
updateDateupdateDate(columnIndex,x)void updateDate(int columnIndex, Date x)
void updateDate(String columnLabel, Date x)
updateDoubleupdateDouble(columnLabel,x)void updateDouble(String columnLabel, double x)
void updateDouble(int columnIndex, double x)
updateFloatupdateFloat(columnLabel,x)void updateFloat(String columnLabel, float x)
void updateFloat(int columnIndex, float x)
updateIntupdateInt(columnLabel,x)void updateInt(String columnLabel, int x)
void updateInt(int columnIndex, int x)
updateLongupdateLong(columnIndex,x)void updateLong(int columnIndex, long x)
void updateLong(String columnLabel, long x)
updateNCharacterStreamupdateNCharacterStream([columnIndex,x])
updateNCharacterStream([ :columnIndex = v, :x = v ])
updateNCharacterStream([columnIndex,x,length])
updateNCharacterStream([ :columnIndex = v, :x = v, :length = v ])
void updateNCharacterStream(int columnIndex, Reader x)
void updateNCharacterStream(String columnLabel, Reader reader)
void updateNCharacterStream(int columnIndex, Reader x, long length)
void updateNCharacterStream(String columnLabel, Reader reader, long length)
updateNClobupdateNClob([columnLabel,reader])
updateNClob([ :columnLabel = v, :reader = v ])
updateNClob([columnIndex,reader,length])
updateNClob([ :columnIndex = v, :reader = v, :length = v ])
void updateNClob(String columnLabel, Reader reader)
void updateNClob(int columnIndex, Reader reader)
void updateNClob(int columnIndex, NClob nClob)
void updateNClob(String columnLabel, NClob nClob)
void updateNClob(int columnIndex, Reader reader, long length)
void updateNClob(String columnLabel, Reader reader, long length)
updateNStringupdateNString(columnLabel,nString)void updateNString(String columnLabel, String nString)
void updateNString(int columnIndex, String nString)
updateNullupdateNull(columnIndex)void updateNull(int columnIndex)
void updateNull(String columnLabel)
updateObjectupdateObject([columnLabel,x])
updateObject([ :columnLabel = v, :x = v ])
updateObject([columnLabel,x,targetSqlType])
updateObject([ :columnLabel = v, :x = v, :targetSqlType = v ])
updateObject([columnLabel,x,targetSqlType,scaleOrLength])
updateObject([ :columnLabel = v, :x = v, :targetSqlType = v, :scaleOrLength = v ])
void updateObject(String columnLabel, Object x)
void updateObject(int columnIndex, Object x)
void updateObject(String columnLabel, Object x, SQLType targetSqlType)
void updateObject(String columnLabel, Object x, int scaleOrLength)
void updateObject(int columnIndex, Object x, SQLType targetSqlType)
void updateObject(int columnIndex, Object x, int scaleOrLength)
void updateObject(String columnLabel, Object x, SQLType targetSqlType, int scaleOrLength)
void updateObject(int columnIndex, Object x, SQLType targetSqlType, int scaleOrLength)
updateRefupdateRef(columnLabel,x)void updateRef(String columnLabel, Ref x)
void updateRef(int columnIndex, Ref x)
updateRowupdateRow()void updateRow()
updateRowIdupdateRowId(columnIndex,x)void updateRowId(int columnIndex, RowId x)
void updateRowId(String columnLabel, RowId x)
updateShortupdateShort(columnIndex,x)void updateShort(int columnIndex, short x)
void updateShort(String columnLabel, short x)
updateSQLXMLupdateSQLXML(columnLabel,xmlObject)void updateSQLXML(String columnLabel, SQLXML xmlObject)
void updateSQLXML(int columnIndex, SQLXML xmlObject)
updateStringupdateString(columnIndex,x)void updateString(int columnIndex, String x)
void updateString(String columnLabel, String x)
updateTimeupdateTime(columnIndex,x)void updateTime(int columnIndex, Time x)
void updateTime(String columnLabel, Time x)
updateTimestampupdateTimestamp(columnLabel,x)void updateTimestamp(String columnLabel, Timestamp x)
void updateTimestamp(int columnIndex, Timestamp x)
wasNullwasNull()boolean wasNull()

RowSetEvent#

class · extends EventObject · javax.sql.RowSetEvent

Constructors

new RowSetEvent(RowSet source)

Ring: new RowSetEvent(args) uses the constructor with the fewest parameters (at least one); new RowSetEvent makes the object with the constructor without parameters; the others: (new RowSetEvent).@New([ :param = value ]) or .@New([v1,v2]).

The methods and fields of EventObject are inherited.

RowSetInternal#

interface · javax.sql.RowSetInternal

Methods

MethodRing callJava overloads
getConnectiongetConnection()Connection getConnection()
getOriginalgetOriginal()ResultSet getOriginal()
getOriginalRowgetOriginalRow()ResultSet getOriginalRow()
getParamsgetParams()Object[] getParams()
setMetaDatasetMetaData(md)void setMetaData(RowSetMetaData md)

RowSetListener#

interface · javax.sql.RowSetListener

Extends: EventListener

Methods

MethodRing callJava overloads
cursorMovedcursorMoved(event)void cursorMoved(RowSetEvent event)
rowChangedrowChanged(event)void rowChanged(RowSetEvent event)
rowSetChangedrowSetChanged(event)void rowSetChanged(RowSetEvent event)

RowSetMetaData#

interface · javax.sql.RowSetMetaData

Extends: ResultSetMetaData

Fields

NameTypeAccessIn Ring
columnNoNullsintconstant · statico.columnNoNulls
columnNullableintconstant · statico.columnNullable
columnNullableUnknownintconstant · statico.columnNullableUnknown

Methods

MethodRing callJava overloads
getCatalogNamegetCatalogName(column)String getCatalogName(int column)
getColumnClassNamegetColumnClassName(column)String getColumnClassName(int column)
getColumnCountgetColumnCount()int getColumnCount()
getColumnDisplaySizegetColumnDisplaySize(column)int getColumnDisplaySize(int column)
getColumnLabelgetColumnLabel(column)String getColumnLabel(int column)
getColumnNamegetColumnName(column)String getColumnName(int column)
getColumnTypegetColumnType(column)int getColumnType(int column)
getColumnTypeNamegetColumnTypeName(column)String getColumnTypeName(int column)
getPrecisiongetPrecision(column)int getPrecision(int column)
getScalegetScale(column)int getScale(int column)
getSchemaNamegetSchemaName(column)String getSchemaName(int column)
getTableNamegetTableName(column)String getTableName(int column)
isAutoIncrementisAutoIncrement(column)boolean isAutoIncrement(int column)
isCaseSensitiveisCaseSensitive(column)boolean isCaseSensitive(int column)
isCurrencyisCurrency(column)boolean isCurrency(int column)
isDefinitelyWritableisDefinitelyWritable(column)boolean isDefinitelyWritable(int column)
isNullableisNullable(column)int isNullable(int column)
isReadOnlyisReadOnly(column)boolean isReadOnly(int column)
isSearchableisSearchable(column)boolean isSearchable(int column)
isSignedisSigned(column)boolean isSigned(int column)
isWrapperForisWrapperFor(iface)boolean isWrapperFor(Class iface)
isWritableisWritable(column)boolean isWritable(int column)
setAutoIncrementsetAutoIncrement(columnIndex,property)void setAutoIncrement(int columnIndex, boolean property)
setCaseSensitivesetCaseSensitive(columnIndex,property)void setCaseSensitive(int columnIndex, boolean property)
setCatalogNamesetCatalogName(columnIndex,catalogName)void setCatalogName(int columnIndex, String catalogName)
setColumnCountsetColumnCount(columnCount)void setColumnCount(int columnCount)
setColumnDisplaySizesetColumnDisplaySize(columnIndex,size)void setColumnDisplaySize(int columnIndex, int size)
setColumnLabelsetColumnLabel(columnIndex,label)void setColumnLabel(int columnIndex, String label)
setColumnNamesetColumnName(columnIndex,columnName)void setColumnName(int columnIndex, String columnName)
setColumnTypesetColumnType(columnIndex,SQLType)void setColumnType(int columnIndex, int SQLType)
setColumnTypeNamesetColumnTypeName(columnIndex,typeName)void setColumnTypeName(int columnIndex, String typeName)
setCurrencysetCurrency(columnIndex,property)void setCurrency(int columnIndex, boolean property)
setNullablesetNullable(columnIndex,property)void setNullable(int columnIndex, int property)
setPrecisionsetPrecision(columnIndex,precision)void setPrecision(int columnIndex, int precision)
setScalesetScale(columnIndex,scale)void setScale(int columnIndex, int scale)
setSchemaNamesetSchemaName(columnIndex,schemaName)void setSchemaName(int columnIndex, String schemaName)
setSearchablesetSearchable(columnIndex,property)void setSearchable(int columnIndex, boolean property)
setSignedsetSigned(columnIndex,property)void setSigned(int columnIndex, boolean property)
setTableNamesetTableName(columnIndex,tableName)void setTableName(int columnIndex, String tableName)
unwrapunwrap(iface)Object unwrap(Class iface)

RowSetReader#

interface · javax.sql.RowSetReader

Methods

MethodRing callJava overloads
readDatareadData(caller)void readData(RowSetInternal caller)

RowSetWriter#

interface · javax.sql.RowSetWriter

Methods

MethodRing callJava overloads
writeDatawriteData(caller)boolean writeData(RowSetInternal caller)

StatementEvent#

class · extends EventObject · javax.sql.StatementEvent

Constructors

new StatementEvent(PooledConnection con, PreparedStatement statement)
new StatementEvent(PooledConnection con, PreparedStatement statement, SQLException exception)

Ring: new StatementEvent(args) uses the constructor with the fewest parameters (at least one); new StatementEvent makes the object with the constructor without parameters; the others: (new StatementEvent).@New([ :param = value ]) or .@New([v1,v2]).

Methods

MethodRing callJava overloads
getSQLExceptiongetSQLException()SQLException getSQLException()
getStatementgetStatement()PreparedStatement getStatement()

The methods and fields of EventObject are inherited.

StatementEventListener#

interface · javax.sql.StatementEventListener

Extends: EventListener

Methods

MethodRing callJava overloads
statementClosedstatementClosed(event)void statementClosed(StatementEvent event)
statementErrorOccurredstatementErrorOccurred(event)void statementErrorOccurred(StatementEvent event)

XAConnection#

interface · javax.sql.XAConnection

Extends: PooledConnection

Methods

MethodRing callJava overloads
addConnectionEventListeneraddConnectionEventListener(listener)void addConnectionEventListener(ConnectionEventListener listener)
addStatementEventListeneraddStatementEventListener(listener)void addStatementEventListener(StatementEventListener listener)
closeclose()void close()
getConnectiongetConnection()Connection getConnection()
getXAResourcegetXAResource()XAResource getXAResource()
removeConnectionEventListenerremoveConnectionEventListener(listener)void removeConnectionEventListener(ConnectionEventListener listener)
removeStatementEventListenerremoveStatementEventListener(listener)void removeStatementEventListener(StatementEventListener listener)

XAConnectionBuilder#

interface · javax.sql.XAConnectionBuilder

Methods

MethodRing callJava overloads
buildbuild()XAConnection build()
passwordpassword(password)XAConnectionBuilder password(String password)
shardingKeyshardingKey(shardingKey)XAConnectionBuilder shardingKey(ShardingKey shardingKey)
superShardingKeysuperShardingKey(superShardingKey)XAConnectionBuilder superShardingKey(ShardingKey superShardingKey)
useruser(username)XAConnectionBuilder user(String username)

XADataSource#

interface · javax.sql.XADataSource

Extends: CommonDataSource

Methods

MethodRing callJava overloads
@getXAConnection@getXAConnection([user,password])
@getXAConnection([ :user = v, :password = v ])
XAConnection getXAConnection(String user, String password)
createShardingKeyBuildercreateShardingKeyBuilder()ShardingKeyBuilder createShardingKeyBuilder()
createXAConnectionBuildercreateXAConnectionBuilder()XAConnectionBuilder createXAConnectionBuilder()
getLoginTimeoutgetLoginTimeout()int getLoginTimeout()
getLogWritergetLogWriter()PrintWriter getLogWriter()
getParentLoggergetParentLogger()Logger getParentLogger()
getXAConnectiongetXAConnection()XAConnection getXAConnection()
setLoginTimeoutsetLoginTimeout(seconds)void setLoginTimeout(int seconds)
setLogWritersetLogWriter(out)void setLogWriter(PrintWriter out)
RingJava - use Java classes and methods from Ring programs.