Hi,
I am using Oracle Thin Driver to connect to Oracle 9i. I am trying to save a java Object into Oracle's BLOB field and retrieve the Java Object as is.
I am very successfull in doing this..except for one case.
Successful case:
ArrayList of Plain Java Object that implements Serializable and has simple primitive types.
Unsuccessful case:
ArrayList of Plain Java Object implements Serializable that has an ArrayList of Object1. Object1 again has an Arraylist of Object2.
IN THIS CASE OF NESTED OBJECTS INSIDE ARRAYLIST...THE OBJECT IS SAVED IN THE DATABASE IN THE BLOB FILED..BUT WHEN RETRIEVING I GET AN EXCEPTION SAYING ..."OptionalDataException".
Please help
I am using Oracle Thin Driver to connect to Oracle 9i. I am trying to save a java Object into Oracle's BLOB field and retrieve the Java Object as is.
I am very successfull in doing this..except for one case.
Successful case:
ArrayList of Plain Java Object that implements Serializable and has simple primitive types.
Unsuccessful case:
ArrayList of Plain Java Object implements Serializable that has an ArrayList of Object1. Object1 again has an Arraylist of Object2.
IN THIS CASE OF NESTED OBJECTS INSIDE ARRAYLIST...THE OBJECT IS SAVED IN THE DATABASE IN THE BLOB FILED..BUT WHEN RETRIEVING I GET AN EXCEPTION SAYING ..."OptionalDataException".
Please help