This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
In the future please UseCodeTags rather than bold and color for formatting code and configuration.
You will need to define your own UserType. Below is an example of this for Oracles XmlType column. Perhaps one is out there somewhere for SQL server already otherwise this serves as an example of how to do the same.