spring-social-showcase-xml with local database datasource
Hi I'm totally beginner in spring framework and spring social, I already download the the spring-social-showcase-xml that using xml configuration it run perfectly, but in this example use some embed datasource.
I need to configure it so it can using my local database as datasource, I already have account table, and userconnection table in my local database.
Now if I'm correct the datasource configuration in org.springframework.social.showcase.config.MainCon fig.java, so which point and how to modify it, so I can use my local database as datasource?, any help either with java or xml configuration it's okay as long I can use my local database as datasource.
I'm using mysql and already add the dependency for mysql
Code:
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>5.1.9</version>
</dependency>
any suggestion please