db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bill Schneider <bschnei...@vecna.com>
Subject Re: Oracle RAW Datatype
Date Wed, 12 Feb 2003 14:32:48 GMT
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" <rmorse@mdesignz.com>
To: <torque-user@db.apache.org>
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: torque-user-unsubscribe@db.apache.org
> For additional commands, e-mail: torque-user-help@db.apache.org

View raw message