Wednesday, April 17, 2013

Re: GAE No connectivity to local dev MySQL instance with data nucleus

I think I see the gap in the documentation. I think the bridge needs to be setup on the JPA page for google app engine to include a section for setting up the persistence.xml for google cloud sql. There are separate pages for google cloud sql documentation, but they don't include the persistence.xml config and only explain what to select for the settings in the eclipse plugin. There is also a page which is completely irrelevant because it talks about basic JPA setup inside of Eclipse using EclipseLink. Also, none of the pages talk about where to copy certain jar files. Like the mysql.jar file in the impl folder. You have to do a search to find posts about that placement. It would be better to have all of that in that newly documented section.

On Wednesday, April 17, 2013 10:00:17 AM UTC-4, James May wrote:
Takashi,

I will give that a try. Strange thing is that I have read and searched on line for quite a while and I didn't find any documentation that said to remove that line. My understanding was that the vm arguments were supposed to be used in the connection. The documentation for JPA in the Google App Engine documentation tell us to put that line in the persistence.xml.


Maybe the documentation needs to be updated to include what you should do for local mysql instances? Also, the two lines you have declared are for the instance running in the cloud. Will these two settings trigger the use of the vm arguments for the local mysql database since the google app engine storage will not be used?

Thanks.
James

--
You received this message because you are subscribed to the Google Groups "Google Cloud SQL discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-sql-discuss+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments:

Post a Comment