[appengine-java] Re: HashMap within an Embedded Class

2011-07-23 Thread J.Ganesan
If you are looking for a tool which enables to have a single business
model for both datastore access and for presentation, please examine
the project here http://www.datastoregwt.com/Demo.jsp .

J.Ganesan
www.DataStoreGwt.com

On Jul 23, 2:21 pm, Sébastien Tromp  wrote:
> Ok, I will handle this differently then.
>
> Concerning the persistence framework, my biggest issue with AppEngine is
> that its limitations limit what I can do with my model (just thinking about
> polymorphism here). I have thus adopted two models, one for the business,
> one for the datastore access.
> I have looked at Objectify, and why it seems nice, it doesn't really seem to
> offer a way to circumvent this kind of things (I still need to bother with
> Key objects for instance).
>
> But since I read only good things about these frameworks I'll keep looking
> into them.
>
> Thanks for your help.
> --
> Sébastien Tromp
>
> 2011/7/22 Max 
>
>
>
>
>
>
>
> > This is a known bug and seems still not fixed yet. You will need to
> > manually serialize in you code
>
> > Also, if you just started coding on GAE, check out Objectify / Twig / Siena
> > etc. These are all very good frameworks.
>
> >  --
> > You received this message because you are subscribed to the Google Groups
> > "Google App Engine for Java" group.
> > To view this discussion on the web visit
> >https://groups.google.com/d/msg/google-appengine-java/-/B51GO7gHVksJ.
>
> > To post to this group, send email to
> > google-appengine-java@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.

-- 
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-java@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.



Re: [appengine-java] Re: HashMap within an Embedded Class

2011-07-23 Thread Sébastien Tromp
Ok, I will handle this differently then.

Concerning the persistence framework, my biggest issue with AppEngine is
that its limitations limit what I can do with my model (just thinking about
polymorphism here). I have thus adopted two models, one for the business,
one for the datastore access.
I have looked at Objectify, and why it seems nice, it doesn't really seem to
offer a way to circumvent this kind of things (I still need to bother with
Key objects for instance).

But since I read only good things about these frameworks I'll keep looking
into them.

Thanks for your help.
-- 
Sébastien Tromp

2011/7/22 Max 

> This is a known bug and seems still not fixed yet. You will need to
> manually serialize in you code
>
> Also, if you just started coding on GAE, check out Objectify / Twig / Siena
> etc. These are all very good frameworks.
>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine for Java" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/google-appengine-java/-/B51GO7gHVksJ.
>
> To post to this group, send email to
> google-appengine-java@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.
>

-- 
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-java@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.



[appengine-java] Re: HashMap within an Embedded Class

2011-07-22 Thread datanucleus
On Jul 22, 7:29 am, Max  wrote:
> This is a known bug and seems still not fixed yet. You will need
> to manually serialize in you code

It may be a known bug to you, but perhaps if someone actually register
it in Google's issue log then they would know about it?
http://code.google.com/p/datanucleus-appengine/issues/list
If it exists there, then refer to it so the user knows which one to
star

-- 
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-java@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.



[appengine-java] Re: HashMap within an Embedded Class

2011-07-21 Thread Max
This is a known bug and seems still not fixed yet. You will need to manually 
serialize in you code

Also, if you just started coding on GAE, check out Objectify / Twig / Siena 
etc. These are all very good frameworks. 


-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine-java/-/B51GO7gHVksJ.
To post to this group, send email to google-appengine-java@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.



[appengine-java] Re: HashMap within an Embedded Class

2011-07-21 Thread Sébastien Tromp
On Jul 17, 3:26 pm, objectuser  wrote:
> I think this is pretty much busted.  Within top-level entity, it's fine.  In
> and embedded entity, I get the error in the OP.

Does anyone has any clue on this? I'm running in the exact same issue
(and apparently I'm not the only one either:
http://stackoverflow.com/questions/6117495/jdo-hashmap-within-an-embedded-class)

Cheers,
--
seb

-- 
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-java@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.



[appengine-java] Re: HashMap within an Embedded Class

2011-07-17 Thread objectuser
I think this is pretty much busted.  Within top-level entity, it's fine.  In 
and embedded entity, I get the error in the OP.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine-java/-/pIyyUhBvS3gJ.
To post to this group, send email to google-appengine-java@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.



[appengine-java] Re: HashMap within an Embedded Class

2011-07-16 Thread objectuser
I'm still trying to figure it out, but I appear to have the same problem.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine-java/-/th0atdR-LKEJ.
To post to this group, send email to google-appengine-java@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.



[appengine-java] Re: HashMap within an Embedded Class

2011-05-24 Thread mscwd01
The issue I have though is HasMap's are supported if serialized=true
is set. What I want to determine is why cant I use a HashMap within an
embedded class?

Thanks

On May 24, 2:36 pm, Brandon Donnelson  wrote:
> Here are the supported property
> types:http://code.google.com/appengine/docs/java/datastore/entities.html#Pr...
>
> You could make an entity that has a key and value properties. Then you could
> store your values into the entities like the hashmap. You would have to
> manage the sort with an incremented order value.
>
> Brandon Donnelsonhttp://gwt-examples.googlecode.com

-- 
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-java@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.



[appengine-java] Re: HashMap within an Embedded Class

2011-05-24 Thread Brandon Donnelson
Here are the supported property 
types: 
http://code.google.com/appengine/docs/java/datastore/entities.html#Properties_and_Value_Types

You could make an entity that has a key and value properties. Then you could 
store your values into the entities like the hashmap. You would have to 
manage the sort with an incremented order value.

Brandon Donnelson
http://gwt-examples.googlecode.com

-- 
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-java@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.