So we used database reverse engineering to get our POJOs. That having been said, I have one that has a Blob in it. No annotation, just a java.sql.Blob object with a getter/setter. The implication is that I have to implement the java.sql.Blob interface and then set one of these in my Pojo. Surely there has to be a better way? Perhaps a default implementation? It seems to me that there's lots of potential for memory problems here. I definitely see that in some of the threads here.
Throw me a bone, please? ;-)
|