public class JDBCKeyGenerator extends AbstractKeyGenerator
Constructor and Description |
---|
JDBCKeyGenerator() |
Modifier and Type | Method and Description |
---|---|
void |
addNewIdRange(KeyRange kr) |
void |
closeConn(java.sql.Connection conn) |
void |
closeRs(java.sql.ResultSet rs) |
void |
closeStmt(java.sql.Statement stmt) |
java.lang.String |
executeQuery1x1(java.lang.String s) |
boolean |
executeSQL(java.lang.String s) |
int |
executeUpdate(java.lang.String s) |
long |
getAvailableIds() |
int |
getChunkSize() |
java.sql.Connection |
getConn() |
KeyRange |
getIdRange(long size) |
java.lang.String |
getIdTable() |
java.lang.Long |
getNextId() |
java.sql.Statement |
getStmt(java.sql.Connection conn) |
void |
init(DBManLocalI _dbm,
netrexx.lang.Rexx _section) |
void |
init(DBManLocalI _dbm,
netrexx.lang.Rexx _section,
netrexx.lang.Rexx _props) |
void |
loadIdTable() |
void |
setChunkSize(int $18) |
void |
setIdTable(java.lang.String $19) |
getAttribute, getAttribute, getDbm, getEh, getSection, setDbm, setEh, setSection
public java.sql.Connection getConn()
public java.sql.Statement getStmt(java.sql.Connection conn)
public void closeRs(java.sql.ResultSet rs)
public void closeStmt(java.sql.Statement stmt)
public void closeConn(java.sql.Connection conn)
public void init(DBManLocalI _dbm, netrexx.lang.Rexx _section)
init
in class AbstractKeyGenerator
public void init(DBManLocalI _dbm, netrexx.lang.Rexx _section, netrexx.lang.Rexx _props)
init
in class AbstractKeyGenerator
public java.lang.Long getNextId()
getNextId
in class AbstractKeyGenerator
public KeyRange getIdRange(long size)
getIdRange
in class AbstractKeyGenerator
public long getAvailableIds()
getAvailableIds
in class AbstractKeyGenerator
public void addNewIdRange(KeyRange kr)
addNewIdRange
in class AbstractKeyGenerator
public void loadIdTable()
public java.lang.String executeQuery1x1(java.lang.String s)
public int executeUpdate(java.lang.String s)
public boolean executeSQL(java.lang.String s)
public int getChunkSize()
public void setChunkSize(int $18)
public java.lang.String getIdTable()
public void setIdTable(java.lang.String $19)
Copyright © 2000-2025 OAshi S.à r.l. All Rights Reserved.