store blob data in long text Oracle

I’m running liferay 6.1 service builder for data persistence, I tried blob type column but there are compilation errors and hibernate proxy errors.

So I wanted to define the column as long datatype & send inputstream using OutputBlob. Is this the right way to do or any suggestions will be helpful