I am writing to some procedure through SQLOutput stream from Java. The data structure holds a List also apart than standard types.
I have created below sample entity. Here in class A, how to implement the writeSQL method where I need to write List of Bs. Also let me know how you will read the same object.
I searched over the net but didn't find any clue. Any clue/pointer will be highly appreciated.
Maybe you should first read the javadoc of the SQLOutput interface, and in particular this part
Java API Specification, SQLOutput wrote:The output stream for writing the attributes of a user-defined type back to the database. This interface, used only for custom mapping, is used by the driver, and its methods are never directly invoked by a programmer.
That might explain why you didn't find any clue on the net...