I have an app which does upload and download of files. That works well, but there is problem. The annotation
@Basic(fetch = FetchType.LAZY)
@Column(name = "file", nullable = false)
private Byte file;
seems not work because when i list all files, all bytes that belong to files are brought. So, how can i avoid that?
Could anyone help me to solve this problem?
Retrieving data ...