1. JPA and XMLType java.net
Toplink Essentials does not support XMLType directly. I have had some limited success using Toplink session customizers and a Converter. I never got it working because there does not seem to be any way to get the Connection object from a Toplink Session object. You need a connection object to create the XMLType.