This discussion is archived
1 Reply Latest reply: Aug 25, 2010 8:03 AM by 600743 RSS

getters return under java '???'

600743 Newbie
Currently Being Moderated
Hello,

I am using Oracle Multimedia Java API 11.1. Most of getters metods which return String, don't return the actual value, but '???'. I can read actual value with sql

select id, p.image.mimeType as info from photos p ;

but through java API I am getting '???', for example:

PreparedStatement stmt = conn.prepareStatement( "select image " +
" from photos order by description" );

OrdImage img = (OrdImage)rset.getORAData(1, OrdImage.getORADataFactory() );

System.out.println("Type: " + img.getMimeType() );

returns "Type: ???"

cheers,
Bart

Legend

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