This is either an error in your xml schema or Torque (are you using a
recent version of the tdk or turbine). If you declare the column type
as INTEGER it should not convert this to byte[]. What does the column
tag look like in your schema?
Alexander Banthien wrote:
>
> Hi all,
>
> I would greatly appreciate a little help on how to use the function
> <Class>Peer.retrieveByPK(byte[]) that torque produces. (where my PK is
> an INTEGER)
>
> Why the byte[] as an argument?
> How do I convert my "id" (coming out of ParameterParser) into a byte[],
> so that MySQL will understand what is meant? a simple getBytes() doesn't
> do the job.
>
> Thanks in advance, Regards
>
> Alexander
>
> --
> ----------------------------------------------------------
> Alexander Banthien
> JusTec GmbH
> Haslacher Str. 126
> 79115 Freiburg
> Germany
> Tel:+49 (0) 761 401269 00
> Fax:+49 (0) 761 401269 13
> WWW: http://www.justec.de
> E-Mail: [EMAIL PROTECTED]
> ----------------------------------------------------------
>
> ------------------------------------------------------------
> To subscribe: [EMAIL PROTECTED]
> To unsubscribe: [EMAIL PROTECTED]
> Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
> Problems?: [EMAIL PROTECTED]
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]