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 Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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,,,,,
 
 
subject: how to read DataSource.groovy file in grails to get the database connection details ?