| | |
About byte array
Please support our Java advertiser: Programming Forums - DaniWeb Sister Site
![]() |
•
•
Join Date: Sep 2008
Posts: 34
Reputation:
Solved Threads: 0
hello,
I am using byte array to store values in it & then i am storing that
byte array into database using
while retreiving values it works fine if last byte value is not zero.
But if it is zero, i think,last value is not getting saved in database.
So there is problem while retrieving the values from database and it says that last byte is not available.
How can I solve this problem.It's very urgent.Plz help.
I am using byte array to store values in it & then i am storing that
byte array into database using
Java Syntax (Toggle Plain Text)
st.setBytes(1,myBytearray);
while retreiving values it works fine if last byte value is not zero.
But if it is zero, i think,last value is not getting saved in database.
So there is problem while retrieving the values from database and it says that last byte is not available.
How can I solve this problem.It's very urgent.Plz help.
We need more details as to the type of "st" and your entire query, table structure etc.
What do you expect us to solve from the given information.
What do you expect us to solve from the given information.
"Any fool can write code that a computer can understand. Good programmers write code that humans can understand."
"How to ask questions the smart way ?"
"How to ask questions the smart way ?"
![]() |
Similar Threads
- converting byte array to long (C++)
- Problem with byte array to string (Java)
- 2's complement of BYTE array in c++ or vc++ (C++)
- Coverting a string to a byte array (Visual Basic 4 / 5 / 6)
- object stream and byte array conversion (Java)
Other Threads in the Java Forum
- Previous Thread: difference
- Next Thread: 'J' Suffix and Swing
| Thread Tools | Search this Thread |
Tag cloud for Java
android api appinventor apple applet application arc arguments array arrays automation binary bluetooth c++ chat class classes client code codesnippet compiler component csv database doctype draw ebook eclipse error event exception fractal freeze game givemetehcodez graphics gui html ide image input integer intellij iphone j2me java java.xls javaprojects jni jpanel julia linux list login loop loops mac map method methods mobile netbeans newbie number online oracle page parameter print problem program programming project recursion reporting rotatetext scanner screen server set size sms socket sort sourcelabs sql string superclass swing system template test testautomation threads time title tree tutorial-sample windows working






