I am using JPA hibernate, wicket, weblogic, and oracle 11.
I have a Table, which has 8 columns, and one of them is a BLOB type. I store big XLS files in this BLOB. I am querying only 10 rows, but it takes a lot of time, I guess because of the big XLS files. I setted the blob type to be lazy in the entity:
@Basic(fetch=FetchType.LAZY)
@Lob
@Column(name = "EXCEL")
private Byte[] xls;
But it is as slow as before. How could I really set, to not to load the BLOB files, only if I querying the BLOBs?