on 03-20-2007 7:15 AM
i am struggling to store binary[] into database
webdynpro data dictionary having the following fields
Message - binary
how am i going to store into database and retrieve from database and bind to a textbox....
pls advice
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Purely based on jdbc, you can do the following:
For storing in:
PreparedStatement ps = ...
ps.setBinaryStream(i, new ByteArrayInputStream(byteArray),
byteArray.length);
For retrieving from:
ps.getBinaryStream(i);
Dennis
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.