public abstract static class DbKey.LongKeyFactory<T> extends DbKey.Factory<T>
| Constructor and Description |
|---|
LongKeyFactory(java.lang.String idColumn) |
| Modifier and Type | Method and Description |
|---|---|
static <T> DbKey.LongKeyFactory<T> |
create(java.lang.String idColumn,
java.util.function.ToLongFunction<T> getId) |
DbKey |
newKey(long id) |
DbKey |
newKey(java.sql.ResultSet rs) |
getPKClause, getPKColumns, getSelfJoinClause, newEntity, newKeypublic DbKey newKey(java.sql.ResultSet rs) throws java.sql.SQLException
newKey in class DbKey.Factory<T>java.sql.SQLExceptionpublic DbKey newKey(long id)
public static <T> DbKey.LongKeyFactory<T> create(java.lang.String idColumn, java.util.function.ToLongFunction<T> getId)