"Take with you the servants of your lord, and set my son Solomon upon my mule: and bring him to Gihon. And let Sadoc the priest, and Nathan the prophet anoint him there king over Israel: and you shall sound the trumpet, and shall say: God save king Solomon." (III Kings/I Kings i, 33-34 - from the lessons of Matins, Monday within the VII week following the Pentecost Octave, Roman Breviary.)
[I]n Solomon there appeared some image of the future event, in that he built the temple, and had peace according to his name (for Solomon means pacific), and in the beginning of his reign was wonderfully praiseworthy; but while, as a shadow of Him that should come, he foreshowed Christ our Lord, he did not also in his own person resemble Him. Whence some things concerning him are so written as if they were prophesied of himself, while the Holy Scripture, prophesying even by events, somehow delineates in him the figure of things to come....
[W]hile his father David was still living, Solomon began to reign, which happened to none other of their kings, except that from this also it might be clearly apparent that it was not himself this prophecy spoken to his father signified beforehand, saying, "And it shall come to pass when your days be fulfilled, and you shall sleep with your fathers, that I will raise up your seed which shall proceed out of your bowels, and I will prepare His kingdom."
How, therefore, shall it be thought on account of what follows, "He shall build me an house," that this Solomon is prophesied, and not rather be understood on account of what precedes, "When your days be fulfilled, and you shall sleep with your fathers, I will raise up your seed after you," that another pacific One is promised, who is foretold as about to be raised up, not before David's death, as he was, but after it?
For however long the interval of time might be before Jesus Christ came, beyond doubt it was after the death of king David, to whom He was so promised, that He behooved to come, who should build an house of God, not of wood and stone, but of men, such as we rejoice He does build. For to this house, that is, to believers, the apostle says, "The temple of God is holy, which temple you are."
Saint Augustine
De civitate Dei (XVII, 8)