Menu

#224 Combine deep and getter method

open
nobody
None
5
2010-12-09
2010-12-09
ed
No

Combining deep mapping and mapping through getter method.

Example: mappng XMLGregorianCalendar field to a Date field in a dto.
Currently this isn't possible through configuration. Through fields it should be configured as follow:
<field>
<a>fromDateAndTime.toGregorianCalendar.time</a>
<b>startDate</b>
</field>

However, the method toGregorianCalendar is a method and not a field so it will never work. Neither can you specify a getter as attribute as this currently isn't supported for deep mapping.
If you google you will notice that more people have problems with it in the last year, probably because Jaxb and jax-ws are getting more popular every day.

Discussion


Log in to post a comment.

MongoDB Logo MongoDB