Me again.
I just got another problem now:
I want to set the Blob size to the maximum possible in DB2, which is 2 GB.
Unfortunatly, the @Column(length) - field only takes int as argument, and 2 GB in bytes is too large to be stored in an integer.
What i would need is something like this:
Code:
import javax.persistence.Column;
public class Test {
@Lob
@Column(length=2147483648)
byte[] array;
}
The above code doesnt work and btw leads to a pretty creepy bug in eclipse, which prevents you from opening the file again after saving.
Is there any other way to do that?
Thanks in advance.