aspose file tools
The moose likes Groovy and the fly likes how to read DataSource.groovy file in grails to get the database connection details ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Languages » Groovy
Bookmark "how to read DataSource.groovy file in grails to get the database connection details ?" Watch "how to read DataSource.groovy file in grails to get the database connection details ?" New topic
Author

how to read DataSource.groovy file in grails to get the database connection details ?

Nazeer Ahammad
Ranch Hand

Joined: Feb 26, 2012
Posts: 43
Hi All,

How to get database connection details(url,username,password and drivername...) in grails which is represented in ......\grails-app\conf\DataSource.groovy .



Please help me...

Regards,
Nazeer,,,,,
 
Have you tried LearnNowOnline? http://www.learnnowonline.com/
 
subject: how to read DataSource.groovy file in grails to get the database connection details ?