Skip to content

Conversation

@remillet
Copy link

@remillet remillet commented Dec 15, 2017

I'm using the hyperjaxb3 Maven plugin to generate my object classes from XML Schema file (i.e., *.xsd files). I noticed the generated object classes use this class' (XMLGregorianCalendarAsDateTime) createCalendar() method to marshal datetime information from Hibernate/JPA into my objects. Since the createCalendar() method isignoring timezone data, my objects with datetime fields are not getting their timezones set.

This change is needed to marshal the "datetime" timezone information coming from Hibernate/JPA.

I'm using the hyperjaxb3 Maven plugin to generate my object classes from XML Schema file (i.e., *.xsd files).  I noticed the generated object classes use this class' (XMLGregorianCalendarAsDateTime) createCalendar() method to marshal datetime information from Hibernate/JPA into my object.  Since the createCalendar() method was ignoring timezone data, my objects with datetime fields were not getting their timezones set.

This change is needed to marshal the "datetime" information from Hibernate/JPA.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant