The following code fragment gives the idea: ResultSet rs = ps.executeQuery(); while( rs.next() ) { if( !rs.isNull( 3 ) ) { InputStream is = rs.getBlobInputStream( 3 ); // read the column using InputStream } } @Andy: FWIW, you can also "convert an existing comment to an answer" with the help of the leftmost button below the comment...
(07 Mar '12, 03:54)
Volker Barth
|
Can you tell us what platform and API you are using? What version of UltraLite are you using?
I am using Android. I have the image stored in ultralite database in form of byte array.
The following code fragment gives the idea:
Is that what you are looking for?