My professional interests are as follows:

  1. Enterprise Java Development (Spring&Hibernate).
  2. Groovy and Grails Web Development.
  3. Up & coming languages for the JVM such as Clojure and Scala.
  4. OLTP and OLAP Database Modeling.
  5. Enterprise Application Integration (Talend, Pentaho BI, TIBCO BusinessWorks, DataStage).
  6. Web 2.0 technologies: DOM frameworks, Ajax frameworks, 360gs CSS framework, WordPress,
  7. Security.
  8. Mobile development (iPhone & Android).
2d
comment How to tell a Grails plugin to use a secondary datasource (not the default one)?
@meurer thanks for updating your answer that totally did it. I knew about Environment, I have used it in Bootstrap in the past as well. Not sure why I did not think of it.
2d
accepted How to tell a Grails plugin to use a secondary datasource (not the default one)?
Dec
10
comment How to tell a Grails plugin to use a secondary datasource (not the default one)?
@meurer forgot to mention you in my comment, please see above see if you have any suggestions.
Dec
10
revised How to tell a Grails plugin to use a secondary datasource (not the default one)?
Adding update section based on the answer that is currently provided
Dec
10
comment How to tell a Grails plugin to use a secondary datasource (not the default one)?
I understand that this solution will work but that means that all my domains have to have the static mapping entry indicating the name of the datasourse to use. The problem now is that when I am developing the plugin itself I have to comment out the mapping from all of the domains because when I run the plugin individually it expects the data source to be called datasource instead of datasource_lookup. This makes it very improductive every time i want to develop the plugin commenting out and each time im ready to release uncomment and then publish the plugin. Is there a better way to do it?
Dec
9
asked How to tell a Grails plugin to use a secondary datasource (not the default one)?
Nov
22
awarded Popular Question
Nov
20
awarded Yearling
Nov
20
awarded Autobiographer
Nov
20
reviewed Approve suggested edit on How to get the latest changes in custom Grails plugin from artifactory without deleting the plugin from .grails folder?
Nov
20
awarded Custodian
Nov
20
asked How to get the latest changes in custom Grails plugin from artifactory without deleting the plugin from .grails folder?
Nov
20
comment How can I load grails plugins from a custom artifactory repo?
@RMorrisey I removed the dependency.distribution as in the Programming Grails book example that I was following and replaced it with this and it works grails.project.repos.myRepo.url = "serverRoot/artifactory/plugins-release-local/"; grails.project.repos.default = "myRepo" grails.project.repos.myRepo.type = "maven" grails.project.repos.myRepo.username = "admin" grails.project.repos.myRepo.password = "password"
Nov
20
revised Unable to publish a Grails Plugin into artifactory - No configuration found for repository 'true'
added solution
Nov
18
comment How can I load grails plugins from a custom artifactory repo?
@RMorrisey did you find the answer to this? I am unable to publish the plugin and I have the correct url and the dependency distribution in the BuildConfig.groovy as stated above
Nov
18
asked Unable to publish a Grails Plugin into artifactory - No configuration found for repository 'true'
Nov
13
comment Grails legacy mapping error Column is not the same data type as referencing column in foreign key
Yes sqlType is the answer.
Nov
6
accepted Method on class [] was used outside of a Grails application. If running in the context of a test using the mocking API or bootstrap Grails Correctly
Nov
6
asked Grails legacy mapping error Column is not the same data type as referencing column in foreign key
Nov
3
comment GGTS repetitive method name/signature error in controllers
I had the same issue, downgrading to jdk7 fixed it for me.
1 2 3 4 5