Yep I get exception if I do following:
ReplicationJob job = ReplicationJob.adaptor(rr);
GregorianCalendar gc = new GregorianCalendar();
gc.setTimeInMillis(new Date().getTime());
XMLGregorianCalendar cc =
DatatypeFactory.newInstance().newXMLGregorianCalendar(gc);
OpenJPAEntityManagerFactorySPI emf =
(OpenJPAEntityManagerFactorySPI) getEmf();
emf.getConfiguration().getProxyManagerInstance().newCustomProxy(cc,
false);
--
View this message in context:
http://openjpa.208410.n2.nabble.com/Failing-to-persist-a-field-where-the-type-is-XMLGregorianCalendar-tp7580665p7580680.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.