Welcome to the Treehouse Community
The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.
WHat are the steps I need to take in order to connect giflib to a postgresql database?
can we do this all from the "app.properties" file?
I notice that we all also have to make changes to "hibernate.cfg.xml" in order to change the dialect ...can this be done in the "app.properties" file instead?
i added: compile 'postgresql:postgresql:9.1-901-1.jdbc4'
to dependencies.. but wasn't sure if we also needed to configure it as runtime dependency instead..
..I'm trying to connect it to a heroku postgresql database for a challenge..
Please help me somebody!! :)
I think the strengths of this model and the separation of concerns here is that it doesnt matter what datasource we plug in as long as the app.properties file and the data config class are rigged up to properly config the data source.