equip.data.sql
Interface IDataKeyAllocate
- All Known Implementing Classes:
- DataKeyAllocateMax
- public interface IDataKeyAllocate
interface for generating a new SQL primary key.
|
Method Summary |
java.lang.String |
allocateKey(java.lang.String keyType,
java.lang.String dataTableName,
java.lang.String dataKeyColumn,
java.sql.Connection conn)
allocate key. |
allocateKey
public java.lang.String allocateKey(java.lang.String keyType,
java.lang.String dataTableName,
java.lang.String dataKeyColumn,
java.sql.Connection conn)
- allocate key.
- Parameters:
keyType - Key type (see CustomTableDataStore).dataTableName - name of SQL tabledataKeyColumn - name of PK column in tableconn - open SQL connection to database