This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Groovy and the fly likes overriding datasource in grails application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Languages » Groovy
Bookmark "overriding datasource in grails application" Watch "overriding datasource in grails application" New topic
Author

overriding datasource in grails application

ruchita mahajan
Ranch Hand

Joined: Jun 16, 2009
Posts: 33
while using multiple databases in grails appiction,if i add my datasource and enviornment code to config.xml,batchconfig.groovy,datasource.groovy all together,than who will override whom?I mean datasouce written in which of the above listed files will get priority over other.

Thanks
Ruchita
 
jQuery in Action, 2nd edition
 
subject: overriding datasource in grails application
 
Similar Threads
Retrieve values from a bean in JSP
Choosing web application framework
jforum plugin for grails
Grails weak points
Errors upon trying to use ActiveMQ