El jueves, 14 de junio de 2012 06:21:33 UTC-4, Raksit Ashok escribió:
On Wed, Jun 13, 2012 at 11:23 PM> wrote:
Takashi,
I actually got it working (with EclipseLink 2.3). I did end up disabling DataNucleus in the settings, but I think it disables that anyway when you select Cloud SQL as opposed to Datastore. So now that JPA is working with Cloud SQL, I want to add GWT back into my project, but it immediately propagates a connection error upon checking "use GWT" and running the project. I detailed the issue here: http://stackoverflow.com/questions/11020304/addition- of-gwt-breaks-cloud-sql-jpa- using-eclipse-gpe As already pointed at your stackoverflow posting, this might be a JDK issue.
I think if Google could get this to work using GPE, it would make Cloud SQL much more convenient to use, as well as add a powerful use case (serving up GWT apps) for Cloud SQL. Thanks for any thoughts.
I was able to run a test GWT+GAE application with JPA facet configured.
El martes, 12 de junio de 2012 20:53:30 UTC-4, Takashi Matsuo escribió:I'm going to publish more detailed tutorial article about that, so stay tuned.
As I said in other thread, can you try disabling Datanucleus and see
what happens?
-- Takashi
On Wed, Jun 13, 2012 at 7:23 AM:Takashi Matsuo | Developer Advocate | tmatsuo@google.com> 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
>> https://developers.google.com/eclipse/docs/cloudsql-jpatools
>>
>> 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
>> https://developers.google.com/eclipse/docs/cloudsql-jpatools
>>
>> 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