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.
http://www.liferaysavvy.com/2013/12/using-blob-data-type-in-liferay-service.html

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