Spring Hibernate Configuration for Google Cloud SQL (to deploy in GAE)

186 views
Skip to first unread message

Sarika Sukumaran

unread,
Mar 6, 2014, 7:02:53 AM3/6/14
to google-a...@googlegroups.com
I have a web application created with spring, hibernate, maven and using google cloud sql. I cannt successfully deploy it in google app engine. Can anyone help me.
What is the correct spring datasource bean settings for connecting to cloud sql?

Vinny P

unread,
Mar 14, 2014, 1:14:19 AM3/14/14
to google-a...@googlegroups.com
On Thu, Mar 6, 2014 at 6:02 AM, Sarika S <sarik...@gmail.com> wrote:
I have a web application created with spring, hibernate, maven and using google cloud sql. I cannt successfully deploy it in google app engine. Can anyone help me.
What is the correct spring datasource bean settings for connecting to cloud sql?



Before deploying the application to production App Engine, have you tried deploying it within the development App Engine environment? If so, how are you currently configuring it to work in dev?
 
 
-----------------
-Vinny P
Technology & Media Advisor
Chicago, IL

App Engine Code Samples: http://www.learntogoogleit.com

Kevin G

unread,
Mar 14, 2014, 11:06:25 PM3/14/14
to google-a...@googlegroups.com
Does this help?

Within AppicationContext

<!-- Database Configuration-->
    <import resource="classes/config/spring/beans/DataSource.xml"/>
 
    <import resource="classes/config/spring/beans/HibernateSessionFactory.xml"/>
 

 
Reply all
Reply to author
Forward
0 new messages