db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marc Lustig" <m...@marclustig.com>
Subject AW: Anyone had success with clear method in API to re use a Criteria object?
Date Tue, 18 Feb 2003 16:42:02 GMT

Problem is well known: Torque maps type="BLOB" to byte[]

What would be the easiest way to cause Torque to map it against String
instead of byte[] ?

Otherwise the only solution would be to create additional get/setter with
different names and map from String <-> byte[].



> -----Urspr√ľngliche Nachricht-----
> Von: Marc Lustig [mailto:mail@marclustig.com]
> Gesendet: Dienstag, 18. Februar 2003 16:19
> An: Turbine Torque Users List
> Betreff: AW: Anyone had success with clear method in API to re use a
> Criteria object?
>
>
> I am doing this and I haven't seen a problem yet.
> However I didn't test it explicitly.
>
>
> > -----Urspr√ľngliche Nachricht-----
> > Von: Vinod_Thapliyal [mailto:Vinod_Thapliyal@infosys.com]
> > Gesendet: Dienstag, 18. Februar 2003 11:19
> > An: Turbine Torque Users List
> > Betreff: Anyone had success with clear method in API to re use a
> > Criteria object?
> >
> >
> >  Hi,
> >
> > Is, there someone who has tried to play around with clear()
> > method to bring a criteria back to its original form?  So that it
> > can be used again and again nullifying the need to code again
> > the same criteria.
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
> > For additional commands, e-mail: torque-user-help@db.apache.org
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
> For additional commands, e-mail: torque-user-help@db.apache.org
>


Mime
View raw message