When you're running in appengine, your app will connect to Cloud SQL, assuming you've set up the connection properly (in the guestbook example, this is due to code of the form c = DriverManager.getConnection("jdbc:google:rdbms://instance_name/guestbook");). When you're running locally in the dev appserver, the JDBC driver proxies to a database on your local machine, assuming you've set the system properties up correctly.
Thanks,
Brian
No comments:
Post a Comment