Contents Index getDefragIterator method globalAutoincUsage method pdf/preface.pdf

UltraLite User's Guide
  Developing UltraLite Java Applications
    UltraLite API reference
      Class JdbcConnection

getLastIdentity method

Prototype 

long getLastIdentity( )

Description 

Returns the most recent identity value used. This function is equivalent to the following SQL statement:

SELECT @@identity

The function is particularly useful in the context of global autoincrement columns.

Returns 

The last identity value.

See also 

Determining the most recently assigned value

Global autoincrement default column values


Contents Index getDefragIterator method globalAutoincUsage method pdf/preface.pdf