Tuesday, June 12, 2012

Re: Configure MySQL Instance (Local)

Joe, thank you for the excellent work on Google Cloud SQL and JPA.  I have some clarifying questions regarding the tutorial you linked.  I've spent all day trying to get it to work, and the GPE JPA view can browse the cloud database.  However, some of the switches are eluding me, since I can't get an Persistence.createEntityManagerFactory("MyApp"); without receiving an
"java.util.prefs.Preferences is a restricted class"
message. Do we enable datanucleus JDO/JPA and HRD in the google appengine settings? I'd think not, since those are Datastore things.  Also, which Platform is recommended for someone who has no other requirements, than to run the tutorial successfully? I get the error regardless of whether I use EclipseLink 2.3 or Generic 2.0.  Just need some more details to the tutorial, but I am persistent.  [pun not intended, but not redacted].  :)   Bill


El lunes, 4 de junio de 2012 13:19:50 UTC-4, Joe Faith escribió:
The Google Plugin for Eclipse provides an easy way to get started with JPA and Cloud SQL

J

On Sat, Jun 2, 2012 at 12:28 PM, lisandro <lisandrodc@gmail.com> wrote:
Thanks, but I'm using JPA..How I persist in the database an instance
of a class using JPA with cloud SQL? Of these cases I have not found
ningun example in the web.
Thanks and regards

On 2 jun, 11:13, lisandro <lisandr...@gmail.com> wrote:
> Hi!
>
> I have an application that works with the datastore of google, want to
> migrate the datastore to CloudSQL with MySQL. In "PhpMyAdmin(XAMPP
> tool)",realized the creation of the database named "prode", but it did
> not create any table when I was operating with the system (it works
> with datastore).
>
> I have a problem with configuration MySQL Instance, (run locally)
> The configuration in Eclipse IDE, the window is:
>
> http://es.zimagez.com/zimage/captura74.php.
>
> Thanks and regards



--
Joe Faith | Product Manager | Google Cloud

El lunes, 4 de junio de 2012 13:19:50 UTC-4, Joe Faith escribió:
The Google Plugin for Eclipse provides an easy way to get started with JPA and Cloud SQL

J

On Sat, Jun 2, 2012 at 12:28 PM, lisandro <lisandrodc@gmail.com> wrote:
Thanks, but I'm using JPA..How I persist in the database an instance
of a class using JPA with cloud SQL? Of these cases I have not found
ningun example in the web.
Thanks and regards

On 2 jun, 11:13, lisandro <lisandr...@gmail.com> wrote:
> Hi!
>
> I have an application that works with the datastore of google, want to
> migrate the datastore to CloudSQL with MySQL. In "PhpMyAdmin(XAMPP
> tool)",realized the creation of the database named "prode", but it did
> not create any table when I was operating with the system (it works
> with datastore).
>
> I have a problem with configuration MySQL Instance, (run locally)
> The configuration in Eclipse IDE, the window is:
>
> http://es.zimagez.com/zimage/captura74.php.
>
> Thanks and regards



--
Joe Faith | Product Manager | Google Cloud

No comments:

Post a Comment