commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebastien Degardin" <sebastien.degar...@gmail.com>
Subject Re: Filter properties when BeanUtils.copyProperties
Date Thu, 17 Jan 2008 23:16:17 GMT
Yes, I used Dozer in my last project.

Dozer is fine, however, All my code is around DynaBean.

for info, I've coded a Custon BeanUtilsBean which does the filtering in the
copyProperty method.

That's probably not perfect but it works for the moment.

Cheers,

On Jan 17, 2008 10:23 PM, Laurent Perez <hakimm@gmail.com> wrote:

> I've never used Dynabeans, but maybe you could have a look at Dozer
> bean to bean mapper (http://dozer.sourceforge.net/) and its
> field-exclude settings.
>
> laurent
>
>
> 2008/1/17, Sebastien Degardin <sebastien.degardin@gmail.com>:
> > Hi there,
> >
> > I'm trying to find a way to copy a Dynabean to a JavaBean using some
> kind of
> > filter to only copy some properties.
> >
> > I tried to find on the archive .. sorry if it's a cross post.
> >
> > Tks.
> >
> > g
> >
>
>
> --
> <a href="http://in-pocket.blogspot.com">http://in-pocket.blogspot.com
> - Mobile world, technology and more</a>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
> For additional commands, e-mail: user-help@commons.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message