File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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 Head First Android this week in the Android 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,,,,,
 
jQuery in Action, 3rd edition
 
subject: how to read DataSource.groovy file in grails to get the database connection details ?
 
It's not a secret anymore!