File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Using two Datasources in grails 2.0.3

 
ruchita mahajan
Ranch Hand
Posts: 33
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I am new to Grails.I am trying to use two diffrent datasources in a single grails application for test purpose.Spent complete day on that but no sucess as of now.Please help me out in this
Thanks in Advance
RUCHITA
 
Hussein Baghdadi
clojure forum advocate
Bartender
Posts: 3479
Clojure Mac Objective C
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Multiple Datasources
 
ruchita mahajan
Ranch Hand
Posts: 33
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am able to connect to two different schemas in two different databases.i dont want to hard code the datasource name while using any particular database.Is there any way out using annotations in groovy file which picks up the value of a particular datasource from properties.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic