highsource / highsource/jaxb-tools

Support Timezone in XMLGregorianCalendarAsDateTime

Open
#601 1 comment 0 reactions 1 assignee Claimed by @laurentschoelens View on GitHub
enhancement hyperjaxb
Dominant language
Java
Stars
465
Forks
105
PR merge metrics
No merged PRs in 30d

Description

From https://github.com/highsource/hyperjaxb3/pull/46

@remillet said :

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.