title: Grails: Getting the Data Source in a normal groovy class
body: <p>How can I get access to the data source from within a normal groovy class?  Injection doesn't work like it does with services.</p>
  
  <p>The reason for this is that I need to do some manual database calls (ie: SQL statements using the groovy.sql.Sql class) from the groovy class since I'm working with a legacy database.</p>