[appengine-java] Server Error

2011-06-28 Thread rama krishna
Hi All, I developed a project using spring roo and spring tool suite STS using the following commands persistence setup --database GOOGLE_APP_ENGINE --provider DATANUCLEUS --applicationId trialdeck entity --class ~.domain.Speaker --testAutomatically field string --fieldName fullName --notNull fie

[appengine-java] @Nick - ClassCastException on dev server when using ApiProxy to implement Multi tenancy

2010-04-23 Thread Krishna
is a dev server specific issue and I've actually confirmed that my code works correctly in production. However, I'd really like to be able to browse the local datastore on the dev server and am wondering if there is a workaround for this? Thanks, Krishna -- You received this message b

[appengine-java] Re: Eclipse plugin - prevent auto-copy of jars

2010-04-08 Thread Krishna
Thanks Scott, Miguel. For now I am deploying manually and that seems to work. Miguel - thanks for the link to the FAQ. I overlooked the eclipse plugin googlecode website which, retrospectively thinking, should have been the most logical place to look for an answer :-). Krishna On Apr 5, 5:36

[appengine-java] Eclipse plugin - prevent auto-copy of jars

2010-04-04 Thread Krishna
ctly use them. Also, I am not sure which jars need to be retained for sure and I'd really appreciate it if someone could could give me a pointer regarding this. I am pretty new to Java so apologies if this is a naive question. Thanks so much, Krishna -- You received this message because

[appengine-java] Re: Persisting polymorphic classes using the low level API or Objectify

2010-02-13 Thread Krishna
t around this? > > > The front end for my app uses GWT and basically what it does is it   > > gets Vehicle objects via RPC and triggers the corresponding   > > presenter & view based on the vehicleType. Each presenter in turn   > > knows what to do with the corresponding veh

Re: [appengine-java] Re: How to use junit test in the newest SDK1.3.1

2010-02-11 Thread Krishna Caldas
Yes, I missed that method. Maybe add this little trick on tutorial for now!? Krishna 2010/2/11 Max Ross (Google) : > Great, glad to hear it! I forgot to add a method to LocalServiceTestHelper > to set a custom app id. My mistake. I'll make sure this gets added for the > next

Re: [appengine-java] Re: How to use junit test in the newest SDK1.3.1

2010-02-11 Thread Krishna Caldas
You're right! I refactored my code and forget to annotate the new setUp method with @Before. Sorry for taking your time! It works now. Thanks, Krishna 2010/2/11 Max Ross (Google) : > Your code looks fine. Are you sure you're calling setUp() on the > LocalServiceTestHelper? &g

Re: [appengine-java] Re: How to use junit test in the newest SDK1.3.1

2010-02-11 Thread Krishna Caldas
Ooops.. missed your question! It's just: @Override protected Environment newEnvironment() { return new TestEnvironment(); } Thanks, Krishna 2010/2/11 Max Ross (Google) : > Subclassing LocalServiceTestHelper and overriding newEnvironment() shoul

Re: [appengine-java] Re: How to use junit test in the newest SDK1.3.1

2010-02-11 Thread Krishna Caldas
It's the same (attached) I used before update to 1.3.1. Thanks, Krishna 2010/2/11 Max Ross (Google) : > Subclassing LocalServiceTestHelper and overriding newEnvironment() should > work fine. What does your implementation of newEnvironment() look like? > > On Wed, Feb 10

[appengine-java] Re: How to use junit test in the newest SDK1.3.1

2010-02-10 Thread Krishna
at com.google.appengine.api.datastore.DatastoreServiceImpl.beginTransaction(DatastoreServiceImpl.java: 270) I've tried to extend LocalServiceTestHelper and overwrite newEnvironment() with my Environment (who returns appId) but it didn't work... What's wrong? Thanks, Krishna On Feb 10, 10:25 pm, "Ikai L (Googl