on 2012 Feb 10 7:51 PM
Can any one tell me how to get bitmap from ultralite database using ResultSet.getBlobInputStream?
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 } }
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Andy: FWIW, you can also "convert an existing comment to an answer" with the help of the leftmost button below the comment...
User | Count |
---|---|
73 | |
10 | |
8 | |
7 | |
7 | |
6 | |
6 | |
6 | |
6 | |
6 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.