Re: [appengine-java] Re: JDO preview release : child object is still null !

2009-11-27 Thread Max Ross (Google)
Eventually, yes, but we felt that supporting basic inheritance was the more
critical need so that's what got all the attention for 1.2.8.  Polymorphic
relations typically require either joins, discriminator columns, or both.
 We'd like to avoid all of that, and I think we can, but we have to wait
until we make some changes to how we store relationship data in the physical
model.  That's the next major change we have planned.  Polymorphic
relationships will come after.

Max

On Wed, Nov 25, 2009 at 1:30 AM, Prashant  wrote:

> Is there any plan to support polymorphism in relationships? I tried it with
> 1.2.8 pre-release, felt disappointed seeing it is not supported yet. I was
> expecting it to be supported in 1.2.8 release.
>
> --
> 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.
>

--

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.




Re: [appengine-java] Re: JDO preview release : child object is still null !

2009-11-25 Thread Prashant
Is there any plan to support polymorphism in relationships? I tried it with
1.2.8 pre-release, felt disappointed seeing it is not supported yet. I was
expecting it to be supported in 1.2.8 release.

--

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.




[appengine-java] Re: JDO preview release : child object is still null !

2009-10-27 Thread Max Ross (Google)
Sorry, no docs on this yet, but if you're mixing inheritance and a
one-to-one or a one-to-many relationship it's not going to work yet.

Max

On Tue, Oct 27, 2009 at 9:12 AM, Rick  wrote:

>
> Is there a link describing the known issues (& fixes) with JDO & child
> relationships? I think, I may be seeing the same problem. Thx.
>
> On Oct 26, 1:52 pm, "Max Ross (Google)" 
> 
> >
> wrote:
> > I intend to support that for the next release, yes.
> >
> >
> >
> > On Mon, Oct 26, 2009 at 1:03 PM, Prashant  wrote:
> > > what if i change the abstract class to a normal class? will it be
> > > supported??
> >
>

--~--~-~--~~~---~--~~
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: JDO preview release : child object is still null !

2009-10-27 Thread Rick

Is there a link describing the known issues (& fixes) with JDO & child
relationships? I think, I may be seeing the same problem. Thx.

On Oct 26, 1:52 pm, "Max Ross (Google)" 
wrote:
> I intend to support that for the next release, yes.
>
>
>
> On Mon, Oct 26, 2009 at 1:03 PM, Prashant  wrote:
> > what if i change the abstract class to a normal class? will it be
> > supported??
--~--~-~--~~~---~--~~
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: JDO preview release : child object is still null !

2009-10-26 Thread Max Ross (Google)
I intend to support that for the next release, yes.

On Mon, Oct 26, 2009 at 1:03 PM, Prashant  wrote:

> what if i change the abstract class to a normal class? will it be
> supported??
>
>
> >
>

--~--~-~--~~~---~--~~
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: JDO preview release : child object is still null !

2009-10-26 Thread Prashant
what if i change the abstract class to a normal class? will it be
supported??

--~--~-~--~~~---~--~~
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: JDO preview release : child object is still null !

2009-10-26 Thread Max Ross (Google)
I'm expecting to have it in place by the next release, but anything related
to relationships has been a beast to implement so it's possible it won't be
done in time.

I will say that it's unlikely I'll be able to add support for the specific
example you've provided, where your parent has a reference to an abstract
base class.  This requires all sorts of additional work that is definitely
out of scope for the next release.

Max

On Mon, Oct 26, 2009 at 12:31 PM, Prashant  wrote:

> Thanks for your quick response !
>
> I really need to use this kind of relationship, i am expecting it to be
> supported in the upcoming version, will it be?
>
>
> >
>

--~--~-~--~~~---~--~~
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: JDO preview release : child object is still null !

2009-10-26 Thread Prashant
Thanks for your quick response !

I really need to use this kind of relationship, i am expecting it to be
supported in the upcoming version, will it be?

--~--~-~--~~~---~--~~
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: JDO preview release : child object is still null !

2009-10-26 Thread Max Ross (Google)
Hi Prashant, thanks for trying out the preview release!

It looks like you're trying to persist a relationship, and as I pointed out
in the note announcing the availability of this release, only simple types
and embedded types are currently supported, not relationship.  So, I'm not
surprised to hear you're seeing this behavior.  It was not my intention to
give anyone the impression that what you are trying to do should work, so if
I gave you that impression I apologize.

Max
On Mon, Oct 26, 2009 at 2:18 AM, Prashant  wrote:

> Update: i test it on production server, child objects are not even getting
> saved !
>
>
> >
>

--~--~-~--~~~---~--~~
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: JDO preview release : child object is still null !

2009-10-26 Thread Prashant
Update: i test it on production server, child objects are not even getting
saved !

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---