Contents Index getLastDownloadTimeLong method globalAutoincUsage method

UltraLite Static Java User's Guide
  UltraLite Static Java API Reference
    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

Setting the global database identifier


Contents Index getLastDownloadTimeLong method globalAutoincUsage method