Oele Geirnaert – Config DataSource.groovy

Dear All,

Today i figured out how to configure your DataSource.config file to make a connection to you MongoDB when your application is hosted on Jelastic.

You can find this config @PasteBin: Oele Geirnaert – Config DataSource.groovy

Don’t forget to install the MongoDB plugin (grails > install-plugin mongodb) and to disable the hibernate plugin.
You can disable this plugin by going to your  BuildConfig.groovy file and remove the line runtime “:hibernate:$grailsVersion”.
But as always, it’s much better to comment this line (as kind of back-up) instead of removing…

Kind Regards,
Oele

Advertenties

Geef een reactie

Vul je gegevens in of klik op een icoon om in te loggen.

WordPress.com logo

Je reageert onder je WordPress.com account. Log uit / Bijwerken )

Twitter-afbeelding

Je reageert onder je Twitter account. Log uit / Bijwerken )

Facebook foto

Je reageert onder je Facebook account. Log uit / Bijwerken )

Google+ photo

Je reageert onder je Google+ account. Log uit / Bijwerken )

Verbinden met %s