Hi,
I will look at this idea, by having a new jdbc-type in jaws.xml for which
parameters can be set that tells Jaws how to insert/retrieve
attribute/field.
But I still want to keep it simple and keep the constraint one cmp field /
one database field.
Regards.
Vincent.

> -----Message d'origine-----
> De : [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]De la part de Bill
> Burke
> Envoyé : vendredi 8 juin 2001 16:51
> À : [EMAIL PROTECTED]
> Objet : RE: [JBoss-dev] CMP fields XML Serialization
>
>
> Can you plug-in how a CMP field is stored in the database?  If not, this
> would be the best first step.
>
> Bill
>
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]]On Behalf Of
> > Vincent Harcq
> > Sent: Friday, June 08, 2001 3:23 AM
> > To: Dev JBoss
> > Subject: [JBoss-dev] CMP fields XML Serialization
> >
> >
> > Hi,
> > In CMP Entity beans, fields that can not be mapped automaticaly
> > to primitive
> > SQL type are
> > serialized and saved as Object in the database.  One problem is
> > then if you
> > want to change the Object, you have to take care of Serialization
> > versions,...
> > everything is not possible here.  Another problem is if you want to give
> > access
> > to your db to a non Java world.
> > One solution for that could be to XMLize the object to a VARCHAR/String
> > format.
> > The power on changes of the Object will be more powerfull by
> > implementation
> > of
> > method like "importXML" and "exportXML".
> >
> > What do you think of a feature like that ?
> >
> > What I try to avoidby using that is BMP , TopLink/Castor, XML/Object
> > Databases.
> >
> > Vincent.
> >
> >
> > _______________________________________________
> > Jboss-development mailing list
> > [EMAIL PROTECTED]
> > http://lists.sourceforge.net/lists/listinfo/jboss-development
> >
>
>
>
> _______________________________________________
> Jboss-development mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-development


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to