private Streamable<?> persistLob(final Streamable<?> lob, final FileStore store, byte[] bytes) throws TeiidComponentException {
// if this is already saved to disk just return
if (lob.getReference() instanceof BaseLob) {
try {
BaseLob baseLob = (BaseLob)lob.getReference();
InputStreamFactory isf = baseLob.getStreamFactory();
if (isf.isPersistent()) {
return lob;
}
} catch (SQLException e) {
// go through regular persistence.