Use a byte array:
@Lob
@Column(length=100000)
private byte[] data;
If you want to use streams, create the blob using Hibernate.createBlob(..)
Use a byte array:
@Lob
@Column(length=100000)
private byte[] data;
If you want to use streams, create the blob using Hibernate.createBlob(..)