I am forced into a situation where i am using hibernate createNativeQuery to return a List of Objects arrays.
One of the (many) columns from which my query returns values is a CLOB.
The Object which is returned is com.sun.Proxy object.
I have seen a question here where
getClass().getInterfaces()
was used to identify that it is a WrappedClob being returned.
However given that I now have this proxy object in my Java code, how do I convert it into something useful ... like a String?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…