class ServerDao extends BaseDao {

    public Long insertServer(Server server) throws SQLException {
        if (server == null) {
            return 0L;
        }
        this.getDasClient().insert(server, Hints.hints().setIdBack());
        return server.getId();
    }

}