title: jaxb Unmarshalling date
body: <p>is there any simple way for unmarshalling Dates to Java Date.</p>
  
  <p>for an example suppose we have folowing xml</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8" standalone="no"?&gt;
  &lt;msg&gt;
  &lt;type&gt;SCH&lt;/type&gt;
  &lt;msgName&gt;SCHEvent&lt;/msgName&gt;
  &lt;eventName&gt;BST001&lt;/eventName&gt;
  &lt;startDatetime&gt;2012-09-12 11:00:00&lt;/startDatetime&gt;
  &lt;endDatetime&gt;2012-09-12 11:30:00&lt;/endDatetime&gt;
  
  &lt;/hl7msg&gt;
  </code></pre>
  
  <p>and i want to unmarsl this xml in to following POJO</p>
  
  <pre><code>@XmlRootElement(name = "msg")
  public class SCHEvent {
  
  Date startDatetime;
  Date endDatetime;
  ----
  }
  </code></pre>
  
  <p>i tried above unmarshaling and i found that all other properties get assigned to this pojo except the dates. I think we can fix this using XmlAdapter, but this requires additional class to create. is there any simple way of translating this xml text dates in to Java Dates?</p>