I think, at least from my understanding, is that it will be tough to
unmarshall/marshall dynabeans. The marshallers expect there to be
common bean properties in the form of get/set methods, and dynabeans
lack these having everything stored in a map of some kind.

Now, I'm not saying this cant ever be done in the future. Care to file
a feature request through JIRA? :) The only real issue that would come
up would be how to tell you have a dyna bean object and not a regular
object. Suppose you could add a parameter to the mapping, but there's
a lot in there already.

-Nick

On 7/7/05, Delta77 <[EMAIL PROTECTED]> wrote:
> I'm posting again this message 'cause I've some problems with
> the webmail. sorry.
> 
> Hi all,
> I have to do such a transformation:
> x m l document --> relational db
> 
> so I think I can use Castor to do:
> x m l document --> Java Objects --> relational db
> 
> I'd like to know if it is possible to unmarshall the x m l document
> in a dynabean, because I've been requested to avoid the use
> of generated classes, because the application should be flexible
> enough to read a different x m l document and insert data in other
> tables of the database without recompiling anything, just changing some
> mapping files.
> 
> Is the unmarshalling to a dynamic bean possible?
> Or what other possibilities I have?
> 
> Thank you,
> Dario
> (it's 2 years I'm using castor and I like it very much)
>  --
>  Email.it, the professional e-mail, gratis per te: http://www.email.it/f
> 
>  Sponsor:
>  Migliaia di manuali e guide scaricabili su: Hacker, Reti, Webmaster,
> Windows e non solo...clicca qui
>  Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=3412&d=20050707
> 
> 
> 
> -------------------------------------------------
> If you wish to unsubscribe from this list, please
> send an empty message to the following address:
> 
> [EMAIL PROTECTED]
> -------------------------------------------------
> 
>

-------------------------------------------------
If you wish to unsubscribe from this list, please
send an empty message to the following address:

[EMAIL PROTECTED]
-------------------------------------------------

Reply via email to