Re: [appengine-java] Example GAE with Cloud Sql

2012-01-22 Thread JT
Try both empty. Works for me couples of weeks back. HTH On Jan 21, 2012 5:53 PM, "Bobert" wrote: > Hello, > > I've tried this example > https://developers.google.com/cloud-sql/docs/developers_guide_javamodified > with following changed code: > > public String getEmployee() throws SQLException {

Re: [appengine-java] Example GAE with Cloud Sql

2012-01-22 Thread Narinder Kumar
Hello Bobert, Not sure whether it may be the cause but : Instance == Your Google API Project ID:InstanceName HomeCome == Your DB created within the instance. For example in my case the code snippet is something like: Connection connection = null; try { DriverManager.registerDriver(new AppE

[appengine-java] Re: Browser does not send session cookie back

2012-01-22 Thread Sven Busse
Hi again, ok, i think, i found the problem. Seems, like sessions are not supported across ports. When running on the same port, it works. -- 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 h

[appengine-java] Browser does not send session cookie back

2012-01-22 Thread Sven Busse
hello, i have an html page with JavaScript. It runs on http://127.0.0.1. I have a local GAE run on http://127.0.0.1: I send a request to my local GAE testserver via XMLHTTPRequest. My servlet successfully gets the request, creates a new session via getSession(true) and returns. My client

[appengine-java] Spring Scaffolding within MyEclipse to GAE / J connecting to Google Cloud SQL

2012-01-22 Thread paul william ford
I followed Dave Meurer's demo on scaffolding & deploying to GAE pretty much verbatim found - http://www.youtube.com/watch?v=logAmwRMTiQ Only differences is that I am connecting to Google Cloud SQL not amazon cloud db. My database connects fine within MyEclipse connection wizard. But the scaffol

Re: [appengine-java] Example GAE with Cloud Sql

2012-01-22 Thread Bobert
Thank you but what you wanted to write. I see no answer! -- 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/-/oUctSf8CI-QJ. To post to thi

[appengine-java] Re: Eclipse unable to compile after updating

2012-01-22 Thread Arjun Damodar
Hi Yunwen, It now shows "App Engine SDK [invalid] (outbound)" I'm attaching a screenshot here.. http://www.freewebs.com/arjundamodar/SDKCapture220112.JPG AD On Jan 21, 3:42 am, Yunwen Ye wrote: > Click Java Build Path for the project, and see if App Engine SDK is > invalid. If true, click Edit

[appengine-java] Re: Unowned relations JPA examples for datanucleus plugin v2

2012-01-22 Thread datanucleus
To make a relation unowned (in v2) you mark (both sides if bidirectional) as @Unowned Unowned M-N work fine with SVN trunk code, though there may have been some things incomplete in RC versions -- You received this message because you are subscribed to the Google Groups "Google App Engine for Ja

[appengine-java] Re: Unowned relations JPA examples for datanucleus plugin v2

2012-01-22 Thread Paul Bartosik
Marc, The Google App Engine documentation for JPA says that ManyToMany and unowned relationships are not supported. http://code.google.com/appengine/docs/java/datastore/jpa/overview.html Even so, why are you using the url String as your @Id for the second table? Why not another Key? -Paul