OK, so we probably can't use test case built with DbUnit.
There may be 2 candidate approaches:
a) DbUnit file approach:
I suppose that there may be quite a few users that have used the DbUnit xml format - actually there are two formats, neither of which have an xsd as far as I know: the first is 'XmlDataSet' - this is quite verbose but does have a DTD (the origin of DbUnit goes way back), but far more commonly used is 'FlatXmlDataSet' which uses attributes for column names instead of elements, for example:
<?xml version='1.0' encoding='UTF-8'?>
<dataset>
<oe.file_type filetype_id="0" filetype_name="NoFile" info="No file"/>
<oe.file_type filetype_id="1" filetype_name="UnknownFile" info="Unknown file"/>
<oe.file_type filetype_id="2" filetype_name="JPEG" mime="image/jpeg" extension=".jpg,.jpeg" info="JPEG image"/>
..
</dataset>
second example:
<?xml version='1.0' encoding='UTF-8'?>
<dataset>
<oe.parameter_type parameter_id="0" parameter_name="Unknown" description="Unknown"/>
<oe.parameter_type parameter_id="1" parameter_name="Time" description="Time since UNIX epoch" info="Seconds since 00:00:00 UTC on January 1, 1970"/>
...
</dataset>
*but* as you can see, the element and attribute names vary from table to table .. not so easy to read via JAXB??
b) Entity driven approach:
JPA entity classes are often automatically annotated with JAXB, so writing lists of entities to xml file should be easy - a generic mechanism to read / unmarshall those files into lists of entities for writing to database may be more ObjectDB / JPA centric?