This week's book / license giveaways are in the JDBC and Relational Databases and Java in General forums.
We're giving away four copies each of PostGIS in Action and Java Advanced Topics Training and have the authors on-line!
See this thread and this one for details.
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


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,,,,,
 
Don't get me started about those stupid light bulbs.
 
subject: how to read DataSource.groovy file in grails to get the database connection details ?