For my app, i'm storing data in simpleDB, but since SimpleDB has a 1024 character per attribute maximum so larger values should be stored in S3.
I'm doing something like this ::
@Basic(fetch=FetchType.LAZY)
@Lob
private byte[] multimedia; //to be stored in s3
and @Lob on its getters and setters The JPA query is giving no error....but NO multimedia field is being created either in s3 or simpleDB. Kindly guide where to look for solution to this problem
Also suggest how to make the rows of simpledb refer to same multimedia object in s3(to reduce data redundancy) as when i did this by manually creating lobkey and tried to use that value in another object...it created a new copy in s3 with a new key.
Thanks