| | |
About byte array
![]() |
•
•
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 |
-xlint add android api applet application applications array arrays automation bank bi binary blackberry bluetooth chat class client code compile compiler component database development digit eclipse equation error event fractal freeze functiontesting game gameprogramming givemetehcodez graphics gui health html hyper ide idea image infinite input int integer j2me java javame javaprojects jetbrains jni jpanel jtable julia learningresources linux list login loop main map method methods mobile myregfun netbeans newbie nonstatic notdisplaying pearl problem program programming project qt recursion scanner screen scrollbar server set sms sort sorting spamblocker sql sqlserver string superclass swing system text-file thread threads tree variablebinding windows xor






