|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IdentityValueLoader
Retrieves last inserted identity columns. This examines global connection values and may not work correctly if the database uses triggers. It will however work correctly in a multi-threaded environment.
Method Summary | |
---|---|
long |
getLastInsertId()
Returns the id of the most recently inserted row on the current connection. |
long |
getLastSequenceId(java.lang.String sequenceName)
Returns the most recently returned value from the specified sequence on the current connection. |
Methods inherited from interface org.openstreetmap.osmosis.core.lifecycle.Releasable |
---|
release |
Method Detail |
---|
long getLastInsertId()
long getLastSequenceId(java.lang.String sequenceName)
sequenceName
- The name of the sequence to query.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |