Computer Tips and Tricks from Biniam
Showing posts with label Sql. Show all posts
Showing posts with label Sql. Show all posts

Friday, April 15, 2016

Multiple datasource in Grails Services with SQL

Code talks more than blog post!

Here is an example code with 2 MySql datasources and getting data from the second datasource using Groovy SQL.

https://gist.github.com/biniama/ed9e397b374211d7933b4f5c34e20f48

More reading:
http://grails.github.io/grails-doc/2.5.0/guide/single.html#multipleDatasources https://orkus.wordpress.com/2012/11/11/setup-multiple-data-sources-in-grails-2/
http://peedeebeesblog.blogspot.de/2015/04/grails-multiple-data-sources-and-plain.html?showComment=1460720540479
Posted by Unknown at 5:44 AM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: Grails, Home, Sql
Older Posts Home
Subscribe to: Posts (Atom)

Search This Blog

Blog Archive

  • ▼  2018 (1)
    • ▼  August (1)
      • My tech experience in Addis Ababa
  • ►  2016 (4)
    • ►  August (1)
    • ►  May (1)
    • ►  April (2)
  • ►  2015 (3)
    • ►  July (1)
    • ►  March (1)
    • ►  January (1)
  • ►  2014 (31)
    • ►  December (2)
    • ►  November (3)
    • ►  September (1)
    • ►  July (3)
    • ►  June (7)
    • ►  April (3)
    • ►  February (6)
    • ►  January (6)
  • ►  2013 (37)
    • ►  December (7)
    • ►  November (7)
    • ►  October (1)
    • ►  September (5)
    • ►  August (5)
    • ►  July (7)
    • ►  June (4)
    • ►  May (1)

Popular Posts

  • Solving You have started VMware Server with an out-of-date copy of the application.
  • Android: Solving "Error:The SDK Build Tools revision (19.0.1) is too low. Minimum required is 19.1.0"
  • SpudSoft Excel Emitter - Single Sheet with No Repeating Header and Page Break Interval Zero/ 0 (Java)
  • Solved: MySQL Issue Connection using old (pre-4.1.1) authentication protocol refused.
  • Publishing to Tomcat v6.0 Server at localhost has encountered a problem.
  • Bootstrap CSS templating in Grails.
  • Making VMware Server 2 work on Windows 8
  • Keystore vs. Truststore and Testing a Java SSL connection
  • Target runtime Apache Tomcat v6.0 is not defined
  • Using the asset pipeline grails plugin to write Page Specific Javascript

Total Pageviews

Biniam's Codes

Biniam's Codes

Pages

  • Home
  • Programming Tips
  • Windows Tips
  • Grails
  • Funny
  • Git
  • JavaScript (JS) / JQuery
  • Life Skills
  • የኮምፒውተር ጥያቄና መልሶች
  • Collection
  • Sql
  • addis ababa
  • ethiopia
  • experience

Favourite Links

  • Daniel's View
  • Sheger FM 102.1

Contributors

  • Unknown
  • Unknown
Copyright (c) 2013: Biniam A.. Picture Window theme. Powered by Blogger.