|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jfw.database.mysql.GetLastSequenceIdDB
public final class GetLastSequenceIdDB
Get the last autoincrement value from a given connection.
| Constructor Summary | |
|---|---|
GetLastSequenceIdDB(java.sql.Connection connection)
Set attribute connection. |
|
GetLastSequenceIdDB(QueryGateway queryGateway)
Set attribute queryGateway. |
|
| Method Summary | |
|---|---|
java.lang.String |
getId()
Get the last autoincrement value. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GetLastSequenceIdDB(java.sql.Connection connection)
connection.
connection - the Connection to use.public GetLastSequenceIdDB(QueryGateway queryGateway)
queryGateway.
queryGateway - the QueryGateway to use.| Method Detail |
|---|
public java.lang.String getId()
throws java.lang.Exception
java.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||