Hello.
I'm trying to figure out how to display Images using the
requestFactory.
I have an entity that represents an Image and I want to have a simple
list of all images.
I'm wondering what data type should I use for holding the image data.
The RequestFactory docs mention that primitives are not allowed
however
if I create an entity like this one:
@Entity
public class Picture {
...
@Lob
@Basic(fetch=javax.persistence.FetchType.LAZY)
private Byte[] data;
...
}
I'm getting runtime exception saying Byte is not a primitive type.
What would be the best way to put JPA entities. requestFactory and
UiBinder together?
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en.