Reputation: 107
I'm developing a Google App Engine Java application with endpoints, which uses Appengine datastore for its persistence (Using JPA and Datanucleus) and works fine.
Now I want to migrate my backend(database) to Google Cloud SQL. I have already created cloud sql account and instance. I also granted permission for my GAE app to use this instance.
Now, how I can i rewrite my app or what are the changes I should make to my application, in order to migrate to cloud sql.
Any good tutorial is there for it? Any help is greatly welcomed.
Upvotes: 0
Views: 203
Reputation: 1404
If you are willing to migrate from Datastore to SQL database. You need to make changes basically at your Database Layer (DAO Layer).
Upvotes: 2