Alessandro Diamanti has committed his future to Bologna for five years after extending his contract with the Serie A club.