Thanks,

I was doing some unnecessary transactions.

2010/3/31 Ikai L (Google) <ika...@google.com>

> Why not just store these all in the User entity? Then you don't have to
> worry about multiple retrievals and such. If you're concerned about indexes
> being created on null values, you could always just use the low-level API
> (if you are using Java) and store only the fields you need.
>
> Off topic because this is a style issue, but these are poor names for
> classes. It's not a relational database so "table" is inaccurate. Even if
> you were building objects to map to an RDBMS for persistence, a single
> instance of your object is not a table. It'd be a "FacebookAccount" or a
> "TwitterAccount".
>
>
> On Wed, Mar 31, 2010 at 7:49 AM, BimboJones <bimbojone...@gmail.com>wrote:
>
>> Hi,
>>
>> I have the following setup:
>>
>> FacebookTable {
>> String facebookid;
>> String globalid;
>> }
>>
>> TwitterTable {
>> String twitterid;
>> String globalid;
>> }
>>
>> GlobalUser{
>> String generatedKey;
>> List<String> socialids;
>> List<Informations> infos;
>> ..
>> }
>>
>> Suppose i want to create a user through Facebook i get a FacebookTable
>> that is connected to a GlobalUser, then i want to add a previous
>> Twitter account(with a GlobalUser) to that Facebook+GlobalUser, so i
>> have to merge the Informations and update the globalids.
>> I can't do that because these arent from the same entitygroup..
>> Any suggestions?
>>
>> the login process is like so:
>> -> User authenticates through Facebook -> fetch globalid from
>> FacebookTable -> fetch GlobalUser -> return session.
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Google App Engine for Java" group.
>> To post to this group, send email to
>> google-appengine-j...@googlegroups.com.
>> To unsubscribe from this group, send email to
>> google-appengine-java+unsubscr...@googlegroups.com<google-appengine-java%2bunsubscr...@googlegroups.com>
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/google-appengine-java?hl=en.
>>
>>
>
>
> --
> Ikai Lan
> Developer Programs Engineer, Google App Engine
> http://googleappengine.blogspot.com | http://twitter.com/app_engine
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine for Java" group.
> To post to this group, send email to
> google-appengine-j...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine-java+unsubscr...@googlegroups.com<google-appengine-java%2bunsubscr...@googlegroups.com>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-appengine-java?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to