DataSource
instances via the Java Naming and Directory Interface (JNDI). Sometimes you are required to look-up a DataSource
via JNDI.Grails supports the definition of JNDI data sources as follows:dataSource {
jndiName = "java:comp/env/myDataSource"
}
DataSource
remains the same.