Is there any example of storing a blob?
If it were an .jpeg image for instance, what would the return value be
(MyGenericRow extends JavaScriptObject)?
public final native ??? getBlob(String name) /*-{
return this[name];
}-*/;
I wonder if I could serialize a java class and store it as blob,
retrieve it and deserialize it. It would save the trouble of writing
a complicated Overlay and sql to handle a class with ArrayLists of
data.
Thanks for any help/feedback!
Shawn
I don't have an example using a BLOB with the Database API. It would be an interesting experience to try some experiment here.
If you'd like to (de)serialize a Java class instance, there is no straight answer: Please look here (http://stackoverflow.com/questions/683123/json-java-serialization-that-works-with-gwt) for some suggestions.
HTH,
Bart Guijt
E: bgu...@gmail.com
T: +31 6 30408987
> --
> You received this message because you are subscribed to the Google Groups "gwt-mobile-webkit-users" group.
> To post to this group, send email to gwt-mobile-...@googlegroups.com.
> To unsubscribe from this group, send email to gwt-mobile-webkit...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/gwt-mobile-webkit-users?hl=en.
>