David Baum
unread,May 30, 2010, 3:33:16 PM5/30/10Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to jiql
Hello jiql world!
I'm trying to persist objects to the GAE datastore.
I'm trying on jiql, as it has no configuration/installation - so I can
concentrate on the gist of things.
To the point:
I am trying to persist a "complex" object. That is, I am trying to
persist an object containing non-trivial data members.
Like so:
Public class MyContainer {
int a;
String str;
ContainedObj obj;
public MyContainer(int i, String s, ContainedObj o) {
...
}
...
}// MyContainer
Public class ContainedObj {
int b;
String t;
Date d;
...
}// ContainedObj
The only working jiql code example I have is the GuestBook.
This example illustrate well how to persist objects having "Natural"
paralles in Java (having ints, longs, Dates, Strings, etc' as their
data members).
However, I did not understand how to persist "Non-trivial" objects -
like the one above, having a "SomeUnfamiliarClass" type data-member
field.
I would like to know how to do so.
I would also like to have pointers to other pieces of code using jiql,
other than the GuestBook.
This will probably do the trick for me.
In any case, thums-up fo the initative, I'am used to SQL.
David