public abstract class ConnectionInfo
extends java.lang.Object
Use the methods of this class only within an SQL-J statement; do not call them directly.
Modifier | Constructor and Description |
---|---|
private |
ConnectionInfo()
no requirement for a constructor
|
Modifier and Type | Method and Description |
---|---|
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.)
|
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 errorApache Derby V10.10 Internals - Copyright © 2004,2013 The Apache Software Foundation. All Rights Reserved.