Forums Register Login

String to Object conversion & vice-versa

+Pie Number of slices to send: Send
I want to convert an object into string to store it in databse as varchar. Also when I retrieve this string from database, I should be able to get the same object i.e string to object conversion should be possible. Has anyone done this? Please share your ideas....

Thanks in advance.
+Pie Number of slices to send: Send
How about serializing the Object in a String?

P.
+Pie Number of slices to send: Send
Serialize the object to a blob (java.sql.Blob) or use an O-R Mapping tool such as Hibernate.
+Pie Number of slices to send: Send
example, if I have to convert an array of Integer to string....The ava data types implement serializable...so i should be able to do it.How?
It is an experimental device that will make my mind that most powerful force on earth! More powerful than this tiny ad!
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 2133 times.
Similar Threads
Forbidden Conversions
convert String into Object
String literal comparisons - help!
Simple question on SelectOneRadio
String and StringBuffer
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 07:04:52.