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:25
Called - Jedidiah - ידידיה, literally, the beloved of the Lord. This is the first instance I remember of a minister of God being employed to give a name to the child of one of his servants. But it is strange that the name given by the father was that alone which prevailed.
John Gill on 2 Samuel 12:25
And he sent by the hand of Nathan the prophet,.... Either David did; he sent by him to Bathsheba, to acquaint her with the name of the child, that it was to be Solomon; which is not so likely: or "he, David, delivered it into the hand of Nathan the prophet"; to educate it, instruct it, and bring it up in the nurture of the Lord; or rather the Lord sent a message by Nathan the prophet to David, that he loved Solomon:
and he called his name Jedidiah, because of the Lord: that is, David also called him by this name, because of the love of the Lord unto him; for Jedidiah signifies "the beloved of the Lord"; a name and character which well agrees with the Messiah, Solomon's antitype, Matthew 3:1…