JAXB marshall date as epoch not consistent across databases <p>When we marhsal a date from a mysql database out of the box JAXB converts this to milliseconds since the epoch, which is what we want.</p> <p>However when swapping the database to oracle the JAXB marshal converts this to a string.</p> <p>I imagine this is due to different formats stored in the databases? Is there a way to force the serialisation to milliseconds to be consistent?</p> <p>Thanks Ian</p>