logger.log(Level.INFO,Messages.message("SequenceKeyGen.generateKey"));
// Create SQL sentence of the form
// "SELECT nextval(sequenceName)"
try {
SequenceMap sequenceMap = (SequenceMap)view.getBeanDescriptor().getGeneratorMap();
stmt = conn.createStatement();
rs = stmt.executeQuery(
sqlInterface.getSelectSequenceStatement(
sequenceMap.getSequenceName()));
if (rs.next()) {
identity = rs.getObject(1);
}
else
logger.throwing(CLASS_NAME,"generateKey()",