Haven't tried this but I imagine that from Torque's perspective (JDBC +
Village), RAW and LONG RAW are handled equivalently. In both cases,
PreparedStatement.setBytes and ResultSet.setBytes should take/return a
byte[].  The distinction between the two may only be important in the
database itself.

-- Bill
----- Original Message -----
From: "Robert Morse" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, February 12, 2003 9:04 AM
Subject: Oracle RAW Datatype


> I have an existing Oracle 9i table that has several RAW columns
> defined.  I noticed that Torque converts 'BINARY' types declared in the
> schema file to 'LONG RAW'.  This doesn't work for me because the RAW
> columns have indexes on them.  Before I simply try reading the table
> with what Torque generates, has anyone faced this issue before?  Perhaps
> Torque will read the columns declared as RAW without a problem?
>
> Thanks.
>
> --
> "All motion is not progress, and all movement is not forward" (anon)
> Key ID:  F0533BB6
> Finger Print:  7F07 D9CD 266F 29D4 3616  164D F055 6E4C F053 3BB6
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to