SmartGateway#getLastInsertId implemented