|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.derby.iapi.db.ConnectionInfo
ConnectionInfo class provides static methods for getting information related to a JDBC connection. When called from within the query language, each method returns information about the connection from which it was called.
Use the methods of this class only within an SQL-J statement; do not call them directly.
IBM Corp. reserves the right to change, rename or remove this class or any of the methods in the class at any time.
Constructor Summary | |
private |
ConnectionInfo()
no requirement for a constructor |
Method Summary | |
static java.lang.Long |
lastAutoincrementValue(java.lang.String schemaName,
java.lang.String tableName,
java.lang.String columnName)
Get the last autoincrement value inserted into the column by a statement in this connection. |
static long |
nextAutoincrementValue(java.lang.String schemaName,
java.lang.String tableName,
java.lang.String columnName)
INTERNAL USE ONLY (THIS METHOD MAY BE REMOVED IN A FUTURE RELEASE.) |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
private ConnectionInfo()
Method Detail |
public static java.lang.Long lastAutoincrementValue(java.lang.String schemaName, java.lang.String tableName, java.lang.String columnName) throws java.sql.SQLException
schemaName
- Name of the schema.tableName
- Name of the table.columnName
- Name of the column.
java.sql.SQLException
- if the current connection could not be
established properly.public static long nextAutoincrementValue(java.lang.String schemaName, java.lang.String tableName, java.lang.String columnName) throws java.sql.SQLException
java.sql.SQLException
- on error
|
Built on Tue 2006-10-10 19:23:47+0200, from revision exported | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |