Matthew Henry on 2 Samuel 12:15-25
Nathan, having delivered his message, staid not at court, but went home, probably to pray for David, to whom he had been preaching. God, in making use of him as an instrument to bring David to repentance, and as the herald both of mercy and judgment, put an honour upon the ministry, and magnified his word above all his name. David named one of his sons by Bath-sheba Nathan, in honour of this prophet (Ch1 3:5), and it was that son of whom Christ, the great prophet, lineally descended, Luk 3:31. When Nathan retired, David, it is probable, retired likewise, and penned the 51st Psalm, in which (though he had been assured that his sin was pardoned) he prays earnestly for pardon, and greatly lamen…
Read the whole note in the consoleJamieson-Fausset-Brown on 2 Samuel 12:24
SOLOMON IS BORN. (Sa2 12:24-25)
Bath-sheba . . . bare a son, and he called his name Solomon--that is, "peaceable." But Nathan gave him the name of Jedediah, by command of God, or perhaps only as an expression of God's love. This love and the noble gifts with which he was endowed, considering the criminality of the marriage from which he sprang, is a remarkable instance of divine goodness and grace.
Adam Clarke on 2 Samuel 12:24
David comforted Bath-sheba - His extraordinary attachment to this beautiful woman was the cause of all his misfortunes.
He called his name Solomon - This name seems to have been given prophetically, for שלמה sholomah signifies peaceable, and there was almost uninterrupted peace during his reign.
John Gill on 2 Samuel 12:24
And David comforted Bathsheba his wife,.... Which is the first time she is so called, Uriah being dead, and David having married her; which though at first displeasing to the Lord, because the circumstances attending it, was afterwards confirmed by him. Bathsheba no doubt was very much distressed, and greatly disconsolate, on account of the sin she had committed, and because of the wrath and displeasure of God, and because of the death of the child, which was a token of it; and she might have some scruples in her mind whether it was lawful to continue cohabiting with David. Now David comforted her, by telling her that God had pardoned that iniquity they had been guilty of, and that he would…