Re: [appengine-java] GAE + Cloud SQL + Hibernate

2012-02-16 Thread JT
We can send you one if that helps.

Hth
On Feb 14, 2012 6:33 AM, "lisandrodc"  wrote:

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



Re: [appengine-java] GAE + Cloud SQL + Hibernate

2012-02-14 Thread Ikai Lan (Google)
That's right. When working with the datastore, it's probably best to
understand it first by learning the low-level API. There's a trap when you
start trying to think of the datastore relationally - do not do this.

--
Ikai Lan
Developer Programs Engineer, Google App Engine
plus.ikailan.com



On Tue, Feb 14, 2012 at 10:12 AM, Paul Ford  wrote:

> Ikai,
>
> This is great so Hibernate on GAE works for Cloud SQL but not Datastore. I
> understand.
>
> Thanks
>
> paul
>
> On Tue, Feb 14, 2012 at 11:57 AM, Ikai Lan (Google) wrote:
>
>> Hibernate works. I've gotten Cloud SQL to work with Hibernate ... the
>> article has just been pending for some time now. You just want to turn off
>> connection pooling and use AppEngineDriver where a SQL Driver is expected.
>> Example configuration XML:
>>
>> *
>> >"-//Hibernate/Hibernate Configuration DTD 3.0//EN"
>> "http://www.hibernate.org/dtd/hibernate-configuration-3.0.dtd";>
>>
>> 
>>
>>
>>
>>
>> > name="connection.driver_class">com.google.appengine.api.rdbms.AppEngineDriver
>> jdbc:google:rdbms://
>> YOUR_CLOUD_SQL_INSTANCE_ID/guestbook
>>
>>
>> 1
>>
>>
>> > name="dialect">org.hibernate.dialect.MySQLDialect
>>
>>
>> > name="cache.provider_class">org.hibernate.cache.NoCacheProvider
>>
>>
>> true
>>
>> 
>>update
>>
>>
>>
>>
>>
>> *
>>
>> --
>> Ikai Lan
>> Developer Programs Engineer, Google App Engine
>> plus.ikailan.com
>>
>>
>>
>> On Tue, Feb 14, 2012 at 9:08 AM, Paul Ford wrote:
>>
>>> Hey Lisa as far as I can tell Hibernate is not supported by GAE. This is
>>> documented on the GAE Java Whitelist.
>>>
>>> Furthermore, JPA and JDO are supported so this should provide all the
>>> ORM you need.
>>>
>>> regards
>>>
>>> paul
>>>
>>>
>>> On Tue, Feb 14, 2012 at 5:33 AM, lisandrodc wrote:
>>>
 Does someone know a simple example application GAE with
 Hibernate and Cloud SQL?
 Supposedly Cloud SQL support.
 (Forming:hibernate.cfg.xml, working with MySQL locally or Cloud SQL
 in
 Server)
 The link:
 https://developers.google.com/cloud-sql/
 It does not mention anything with regard to Hibernate.
 Thanks and regards

 --
 You received this message because you are subscribed to the Google
 Groups "Google App Engine for Java" group.
 To post to this group, send email to
 google-appengine-java@googlegroups.com.
 To unsubscribe from this group, send email to
 google-appengine-java+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/google-appengine-java?hl=en.


>>>
>>>
>>> --
>>> Regards
>>>
>>> Paul
>>>
>>> *Paul W. Ford │ Principal*
>>> Maven Wave Partners LLC
>>> GTalk  +1.312.884.1051  M: +1.312.953.1664
>>> paul.f...@mavenwave.com
>>>
>>> Please check out our Fusion 
>>> Blog for
>>> more insights
>>>
>>>  --
>>> You received this message because you are subscribed to the Google
>>> Groups "Google App Engine for Java" group.
>>> To post to this group, send email to
>>> google-appengine-java@googlegroups.com.
>>> To unsubscribe from this group, send email to
>>> google-appengine-java+unsubscr...@googlegroups.com.
>>> For more options, visit this group at
>>> http://groups.google.com/group/google-appengine-java?hl=en.
>>>
>>
>>  --
>> You received this message because you are subscribed to the Google Groups
>> "Google App Engine for Java" group.
>> To post to this group, send email to
>> google-appengine-java@googlegroups.com.
>> To unsubscribe from this group, send email to
>> google-appengine-java+unsubscr...@googlegroups.com.
>> For more options, visit this group at
>> http://groups.google.com/group/google-appengine-java?hl=en.
>>
>
>
>
> --
> Regards
>
> Paul
>
> *Paul W. Ford │ Principal*
> Maven Wave Partners LLC
> GTalk  +1.312.884.1051  M: +1.312.953.1664
> paul.f...@mavenwave.com
>
> Please check out our Fusion 
> Blog for
> more insights
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine for Java" group.
> To post to this group, send email to
> google-appengine-java@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine-java+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-appengine-java?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



Re: [appengine-java] GAE + Cloud SQL + Hibernate

2012-02-14 Thread Paul Ford
Ikai,

This is great so Hibernate on GAE works for Cloud SQL but not Datastore. I
understand.

Thanks

paul

On Tue, Feb 14, 2012 at 11:57 AM, Ikai Lan (Google) wrote:

> Hibernate works. I've gotten Cloud SQL to work with Hibernate ... the
> article has just been pending for some time now. You just want to turn off
> connection pooling and use AppEngineDriver where a SQL Driver is expected.
> Example configuration XML:
>
> *
> "-//Hibernate/Hibernate Configuration DTD 3.0//EN"
> "http://www.hibernate.org/dtd/hibernate-configuration-3.0.dtd";>
>
> 
>
>
>
>
>  name="connection.driver_class">com.google.appengine.api.rdbms.AppEngineDriver
> jdbc:google:rdbms://
> YOUR_CLOUD_SQL_INSTANCE_ID/guestbook
>
>
> 1
>
>
>  name="dialect">org.hibernate.dialect.MySQLDialect
>
>
>  name="cache.provider_class">org.hibernate.cache.NoCacheProvider
>
>
> true
>
> 
>update
>
>
>
>
>
> *
>
> --
> Ikai Lan
> Developer Programs Engineer, Google App Engine
> plus.ikailan.com
>
>
>
> On Tue, Feb 14, 2012 at 9:08 AM, Paul Ford wrote:
>
>> Hey Lisa as far as I can tell Hibernate is not supported by GAE. This is
>> documented on the GAE Java Whitelist.
>>
>> Furthermore, JPA and JDO are supported so this should provide all the ORM
>> you need.
>>
>> regards
>>
>> paul
>>
>>
>> On Tue, Feb 14, 2012 at 5:33 AM, lisandrodc  wrote:
>>
>>> Does someone know a simple example application GAE with
>>> Hibernate and Cloud SQL?
>>> Supposedly Cloud SQL support.
>>> (Forming:hibernate.cfg.xml, working with MySQL locally or Cloud SQL
>>> in
>>> Server)
>>> The link:
>>> https://developers.google.com/cloud-sql/
>>> It does not mention anything with regard to Hibernate.
>>> Thanks and regards
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Google App Engine for Java" group.
>>> To post to this group, send email to
>>> google-appengine-java@googlegroups.com.
>>> To unsubscribe from this group, send email to
>>> google-appengine-java+unsubscr...@googlegroups.com.
>>> For more options, visit this group at
>>> http://groups.google.com/group/google-appengine-java?hl=en.
>>>
>>>
>>
>>
>> --
>> Regards
>>
>> Paul
>>
>> *Paul W. Ford │ Principal*
>> Maven Wave Partners LLC
>> GTalk  +1.312.884.1051  M: +1.312.953.1664
>> paul.f...@mavenwave.com
>>
>> Please check out our Fusion 
>> Blog for
>> more insights
>>
>>  --
>> You received this message because you are subscribed to the Google Groups
>> "Google App Engine for Java" group.
>> To post to this group, send email to
>> google-appengine-java@googlegroups.com.
>> To unsubscribe from this group, send email to
>> google-appengine-java+unsubscr...@googlegroups.com.
>> For more options, visit this group at
>> http://groups.google.com/group/google-appengine-java?hl=en.
>>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine for Java" group.
> To post to this group, send email to
> google-appengine-java@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine-java+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-appengine-java?hl=en.
>



-- 
Regards

Paul

*Paul W. Ford │ Principal*
Maven Wave Partners LLC
GTalk  +1.312.884.1051  M: +1.312.953.1664
paul.f...@mavenwave.com

Please check out our Fusion
Blog for
more insights

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



Re: [appengine-java] GAE + Cloud SQL + Hibernate

2012-02-14 Thread Ikai Lan (Google)
Hibernate works. I've gotten Cloud SQL to work with Hibernate ... the
article has just been pending for some time now. You just want to turn off
connection pooling and use AppEngineDriver where a SQL Driver is expected.
Example configuration XML:

*
http://www.hibernate.org/dtd/hibernate-configuration-3.0.dtd";>



   

   
com.google.appengine.api.rdbms.AppEngineDriver
jdbc:google:rdbms://
YOUR_CLOUD_SQL_INSTANCE_ID/guestbook

   
1

   
org.hibernate.dialect.MySQLDialect

   
org.hibernate.cache.NoCacheProvider

   
true


   update

   

   

*

--
Ikai Lan
Developer Programs Engineer, Google App Engine
plus.ikailan.com



On Tue, Feb 14, 2012 at 9:08 AM, Paul Ford  wrote:

> Hey Lisa as far as I can tell Hibernate is not supported by GAE. This is
> documented on the GAE Java Whitelist.
>
> Furthermore, JPA and JDO are supported so this should provide all the ORM
> you need.
>
> regards
>
> paul
>
>
> On Tue, Feb 14, 2012 at 5:33 AM, lisandrodc  wrote:
>
>> Does someone know a simple example application GAE with
>> Hibernate and Cloud SQL?
>> Supposedly Cloud SQL support.
>> (Forming:hibernate.cfg.xml, working with MySQL locally or Cloud SQL
>> in
>> Server)
>> The link:
>> https://developers.google.com/cloud-sql/
>> It does not mention anything with regard to Hibernate.
>> Thanks and regards
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Google App Engine for Java" group.
>> To post to this group, send email to
>> google-appengine-java@googlegroups.com.
>> To unsubscribe from this group, send email to
>> google-appengine-java+unsubscr...@googlegroups.com.
>> For more options, visit this group at
>> http://groups.google.com/group/google-appengine-java?hl=en.
>>
>>
>
>
> --
> Regards
>
> Paul
>
> *Paul W. Ford │ Principal*
> Maven Wave Partners LLC
> GTalk  +1.312.884.1051  M: +1.312.953.1664
> paul.f...@mavenwave.com
>
> Please check out our Fusion 
> Blog for
> more insights
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine for Java" group.
> To post to this group, send email to
> google-appengine-java@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine-java+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-appengine-java?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



Re: [appengine-java] GAE + Cloud SQL + Hibernate

2012-02-14 Thread Paul Ford
Hey Lisa as far as I can tell Hibernate is not supported by GAE. This is
documented on the GAE Java Whitelist.

Furthermore, JPA and JDO are supported so this should provide all the ORM
you need.

regards

paul

On Tue, Feb 14, 2012 at 5:33 AM, lisandrodc  wrote:

> Does someone know a simple example application GAE with
> Hibernate and Cloud SQL?
> Supposedly Cloud SQL support.
> (Forming:hibernate.cfg.xml, working with MySQL locally or Cloud SQL
> in
> Server)
> The link:
> https://developers.google.com/cloud-sql/
> It does not mention anything with regard to Hibernate.
> Thanks and regards
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine for Java" group.
> To post to this group, send email to
> google-appengine-java@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine-java+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-appengine-java?hl=en.
>
>


-- 
Regards

Paul

*Paul W. Ford │ Principal*
Maven Wave Partners LLC
GTalk  +1.312.884.1051  M: +1.312.953.1664
paul.f...@mavenwave.com

Please check out our Fusion
Blog for
more insights

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] GAE + Cloud SQL + Hibernate

2012-02-14 Thread lisandrodc
Does someone know a simple example application GAE with
Hibernate and Cloud SQL?
Supposedly Cloud SQL support.
(Forming:hibernate.cfg.xml, working with MySQL locally or Cloud SQL
in
Server)
The link:
https://developers.google.com/cloud-sql/
It does not mention anything with regard to Hibernate.
Thanks and regards

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.