[appengine-java] Re: date comparison fails

2011-08-09 Thread Vik
any advise on this plz? Thankx and Regards Vik Founder http://www.sakshum.org http://blog.sakshum.org On Tue, Aug 9, 2011 at 8:51 PM, Vik wrote: > Hie > > I am trying to execute following query: > > Query query = pm.newQuery(AdUsage.class, "smsUseDate == :smsUseDate && " + > " vendorSeq == :

Re: Отг: Re: Отг: Re: [appengine-java] Data is saved in the datastore when transaction is rolled back

2011-08-09 Thread Jose Montes de Oca
"Does this means that If I migrate my app use the High Replication Datastore, the issue with the DatastoreTimeoutException will go away?" If the DatastoreTimeoutException is related due to a M/S issue at the moment, then yes. Cheers, Jose -- You received this message because you are subs

[appengine-java] Re: Getting a grip on startup

2011-08-09 Thread Jose Montes de Oca
Hi John, If you have a large number of files in your WEB-INF/classes directory, that could possible be the significant factor in the slowness. Its not good to compare loading time on your development server and on production, mostly because accessing files on production take much longer than lo

[appengine-java] Re: Federated Login redirecting to Google OpenID and not /_ah/login_required on Java GAE

2011-08-09 Thread Vishal
According to http://code.google.com/appengine/articles/openid.html, if you've configured your application to use "Federated Login" instead of "Google Accounts" (the default), then it should always redirect to / _ah/login_required for authentication. The only possible exception I see is the dev cons

[appengine-java] Re: Multiple PersistenceManagerFactory with Singleton?

2011-08-09 Thread dimi
gk and Simon, Thanks for you reply. After reading my own post again, I noticed I copied the wrong PMF code. I'm using this example (the mix up happened when I changed my code to the code above because I though the "pmfInstance == null"-check could be the problem :D) import javax.jdo.JDOHelpe

Re: [appengine-java] Re: Federated Login redirecting to Google OpenID and not /_ah/login_required on Java GAE

2011-08-09 Thread JT
Are you sure documentation says you can use your own login servlet? As far as I know it always redirect to google for authentication, I hope I am wrong. On Aug 9, 2011 1:09 PM, "Vishal" wrote: > I'm still blocked on this! Does anyone have any thoughts or pointers? > > Thanks! > > Vishal > > On Au

[appengine-java] Re: Federated Login redirecting to Google OpenID and not /_ah/login_required on Java GAE

2011-08-09 Thread Vishal
I'm still blocked on this! Does anyone have any thoughts or pointers? Thanks! Vishal On Aug 6, 12:32 am, Vishal Arora wrote: > Hello Wise Java AppEngineers, > > I need your help to figure out what I'm doing wrong. I've enabled > Federated Login for my Java app, but whenever I visit a security-

[appengine-java] Delay for later request

2011-08-09 Thread WillSpecht
I am have created a search bar similar to facebook that shows you names and pictures as you type into a search bar. e.g. typing jo would bring up a drop down of "John Smith" and "Michael Jordan". This works really well on the development server, and even works really well in production, when the

[appengine-java] Re: Entity modelling

2011-08-09 Thread Simon Knott
Given that the target GAE datastore should be optimised for reads, since writes are expensive, normalization of data is by no means the way to go. Are Categories and Groups joined in any way? i.e. Has a specific Category got a set of groups, or the other way around? If not, then storing the gr

[appengine-java] Re: Multiple PersistenceManagerFactory with Singleton?

2011-08-09 Thread Simon Knott
Whilst I don't know what could cause this error, what makes you believe that "static" and "static final" are equivalent? Static variables are in no way implicitly final. -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To view th

[appengine-java] Re: Entity modelling

2011-08-09 Thread gk
Recommended beginner's reading: http://en.wikipedia.org/wiki/Database_normalization On Aug 7, 11:49 pm, MK Z wrote: > Hello. > I need some help. Assuming I have three tables/objects: forum, forum > category, forum group. > > Forum - stores all topics posted by user. This object/table relates to

[appengine-java] Re: Multiple PersistenceManagerFactory with Singleton?

2011-08-09 Thread gk
Dimitry, that's a nice mystery... "final" on PMF doesn't seem to make a difference here. "static" members are implicitly "final" too, by the way ("static" and "static final" is equivalent). Class type inititialization (and thus static field initialization) is implicitly synchronized, so no worry

[appengine-java] date comparison fails

2011-08-09 Thread Vik
Hie I am trying to execute following query: Query query = pm.newQuery(AdUsage.class, "smsUseDate == :smsUseDate && " + " vendorSeq == :vendorSeq"); List usageList = (List)query.execute(today, chosenVendorSeq); the vendorSeq is matching and the passed date is: Tue Aug 09 00:00:00 UTC 2011

[appengine-java] Re: Full Text Feature - Google I/O 2011

2011-08-09 Thread gk
Pavel, are you referring to Kimchy's solution using Compass? What is Your expirience with larger indexes? Thanks! On Aug 9, 1:44 pm, Pavel Kaplin wrote: > This does not work on more or less large index. Actually, it works > only on lab-size data. > > On Aug 9, 12:52 am, gk wrote: > > > > > >

[appengine-java] Re: Query issue

2011-08-09 Thread Ronoaldo José de Lana Pereira
Hi vikceo, Googling your error message description, I guess that your JDOQL syntax is incorrect. Can you check this thread

Re: [appengine-java] Framworks

2011-08-09 Thread JT
Hibernate might work with in memory database like hsql or derby but I will let ikai or google folks to confirm it. On Aug 9, 2011 3:50 AM, "Amrendra Tripathi" wrote: > Hi Plz Any one tell, > > How to change the browse button style in struts. I want to change it italic. > > Thanks in Advance > > >

[appengine-java] Re: ArrayIndexOutOfBoundsException when trying to persist an ArrayList of Objects which utilise inheritence

2011-08-09 Thread Rolf Aden
The only supported inheritance mapping strategy for polymorphic relationships is currently for JDO) new-table for the base class and superclass-table for all subclasses JPA) SingleTable. This means, everything in the inheritance hierarchy ends up in one entity kind, as you have noticed. Since we

[appengine-java] Re: Full Text Feature - Google I/O 2011

2011-08-09 Thread Pavel Kaplin
This does not work on more or less large index. Actually, it works only on lab-size data. On Aug 9, 12:52 am, gk wrote: > Search functionality in Your GAE application? > > I recommend Kimchy's incredibly simple and good screencast: > > http://www.kimchy.org/searchable-google-appengine-with-compas

[appengine-java] DatastoretimeExceptions

2011-08-09 Thread Aswath Satrasala
Hello All, Recently for the past 2-3 days, I see the logs with DatastoreTimeoutExceptions. Anyone experiencing the same... -Aswath www.AccountingGuru.in. -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, sen

Re: [appengine-java] Framworks

2011-08-09 Thread Amrendra Tripathi
Hi Plz Any one tell, How to change the browse button style in struts. I want to change it italic. Thanks in Advance On 9 August 2011 13:17, Hariharan Anantharaman < hariharan.ananthara...@gmail.com> wrote: > Struts--yes( i have used 1.3 version, but i think 2.x is also possible) > > Hibernate-

Re: [appengine-java] Framworks

2011-08-09 Thread Hariharan Anantharaman
Struts--yes( i have used 1.3 version, but i think 2.x is also possible) Hibernate--No Thanks Hari 2011/8/9 Islam Farouk Bahnasy > Is it possible to use Struts and Hibernate with appengine? > > -- > You received this message because you are subscribed to the Google Groups > "Google App Engine f

[appengine-java] Framworks

2011-08-09 Thread Islam Farouk Bahnasy
Is it possible to use Struts and Hibernate with appengine? -- 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/-/D44giYK645sJ. To post to t