This discussion is archived
0 Replies Latest reply: Mar 30, 2011 8:14 AM by Yann39 RSS

Affect ORDSYS.ORDImageSignature.init() ?

Yann39 Journeyer
Currently Being Moderated
Hi,

Oracle 10g r2.

I want to compare the signature of a BLOB object (an image) with some stored signatures in a PHOTO table.
I don't want to store the ORDImage and ORDImageSignature objects of the BLOB, but I want to generate it on the fly.

So my question is;

can I init an ORDImageSignature object like that ? :
declare
  img_sign ORDSYS.ORDImageSignature;
begin
  img_sign := ORDSYS.ORDImageSignature.init();
  [...]
end;
I get :
ORA-29400: data cartridge error
IMG-00925: unable to write to the ORDImageSignature object
ORA-22275: invalid LOB locator specified
It is possible with ORDimage (img_obj := ORDSYS.ORDImage.init(); works) so why not with ORDImageSignature ?

Am I forced to store that ORDImageSignature ?

Thanks.

Yann.

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points