Re: [appengine-java] Re: First access to a jsp takes a while

2010-02-14 Thread Daniel Benamy
I think google just turned on precompilation in 1.3.1.

On Sun, Feb 14, 2010 at 8:31 AM, Eduardo Ramírez  wrote:
>
>   Hi,
>
>   I think that this extra time you're seeing is the time expended in
> compiling the JSP, which occurs the first time a particular JSP is accessed,
> as you can see in: http://en.wikipedia.org/wiki/JavaServer_Pages_compiler
>
>   You can google around for some precompilation techniques for your JSP if
> you need it.
>
> --
> Eduardo Ramírez
> http://kynes.frenopatico.net
>
> --
> 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] Seeing owned/child entities in the datastore viewer

2010-02-08 Thread Daniel Benamy
Thanks for the reply!

http://code.google.com/p/googleappengine/issues/detail?id=2745

Dan

On Mon, Feb 8, 2010 at 2:48 PM, Ikai L (Google)  wrote:
> Sounds like a pretty cool feature. Go ahead and add it to our feature
> request list:
> http://code.google.com/p/googleappengine/issues/list?can=2&q=datastore+viewer
>
> On Tue, Feb 2, 2010 at 8:10 PM, Daniel Benamy  wrote:
>>
>> Hi,
>>
>> I'm trying to find a way to see the relationships between entities in
>> the data store viewer. If I have:
>> class A {
>>    B foo;
>> }
>> and I'm looking at an instance of A in the data store viewer, is there
>> any way for me to find its B? I feel like this should be pretty simple
>> and maybe I'm just missing something dumb but I've searched a bunch
>> and can't figure this out. I know I can work backwards and find a
>> parent from its child by decoding its key. But my app can obviously go
>> the other way and it would make my life easier if I could too. Can
>> anyone help?
>>
>> Thanks,
>> Dan
>>
>> --
>> 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.
>>
>
>
>
> --
> 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.
> 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.



[appengine-java] Seeing owned/child entities in the datastore viewer

2010-02-02 Thread Daniel Benamy
Hi,

I'm trying to find a way to see the relationships between entities in
the data store viewer. If I have:
class A {
B foo;
}
and I'm looking at an instance of A in the data store viewer, is there
any way for me to find its B? I feel like this should be pretty simple
and maybe I'm just missing something dumb but I've searched a bunch
and can't figure this out. I know I can work backwards and find a
parent from its child by decoding its key. But my app can obviously go
the other way and it would make my life easier if I could too. Can
anyone help?

Thanks,
Dan

-- 
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: Class XXX has multiple relationship fields of type YYYY

2010-01-16 Thread Daniel Benamy
One more thing- I get this error the first time I hit this code after
idling or starting up, but subsequent runs work ok.
Dan

On Sat, Jan 16, 2010 at 2:51 AM, Daniel Benamy  wrote:
> I think I'm hitting this check since updating to 1.2.8. I've got
> something like:
> class A {
>  B bVar;
>  List bList;
> }
> Should I be getting this error? I haven't noticed a problem with my
> app using this setup.
> Thanks!
> Dan
>
> On Dec 5 2009, 12:52 am, "Max Ross (Google)"  +appeng...@google.com> wrote:
>> SDK 1.2.8 contains a new check that detects if one of your JDO or JPA model
>> objects has two relationship fields of the same type.  For example:
>>
>> class A {
>>   List bList;
>>   List anotherBList;
>>
>> }
>>
>> Unfortunately I was a little too aggressive with this check, so the
>> following also run afoul of the check:
>>
>> abstract class B {}
>>
>> class C extends B {}
>> class D extends B {}
>>
>> class A {
>>   List cList:
>>   List dList;
>>
>> }
>>
>> If you get an exception that says
>>
>> Class XXX has multiple relationship fields of type .  This is not yet
>> supported.
>>
>> and your class hierarchy resembles the one above, you can disable this check
>> by with the following config property:
>>
>> > value="true"/>
>>
>> We'll get this fixed shortly.
>>
>> Sorry for the trouble,
>> Max
>
> --
> 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.




[appengine-java] Re: Class XXX has multiple relationship fields of type YYYY

2010-01-16 Thread Daniel Benamy
I think I'm hitting this check since updating to 1.2.8. I've got
something like:
class A {
  B bVar;
  List bList;
}
Should I be getting this error? I haven't noticed a problem with my
app using this setup.
Thanks!
Dan

On Dec 5 2009, 12:52 am, "Max Ross (Google)"  wrote:
> SDK 1.2.8 contains a new check that detects if one of your JDO or JPA model
> objects has two relationship fields of the same type.  For example:
>
> class A {
>   List bList;
>   List anotherBList;
>
> }
>
> Unfortunately I was a little too aggressive with this check, so the
> following also run afoul of the check:
>
> abstract class B {}
>
> class C extends B {}
> class D extends B {}
>
> class A {
>   List cList:
>   List dList;
>
> }
>
> If you get an exception that says
>
> Class XXX has multiple relationship fields of type .  This is not yet
> supported.
>
> and your class hierarchy resembles the one above, you can disable this check
> by with the following config property:
>
>  value="true"/>
>
> We'll get this fixed shortly.
>
> Sorry for the trouble,
> Max
-- 
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.