我已经定义在resources.groovy文件春天JDBC模板下面给出: jdbcTemplate(org.springframework.jdbc.core.JdbcTemplate) {
dataSource = ? // Here I need get the datasource from JNDI
}
我需要从JNDI数据源,并注入它的数据源春模板的属性。 PS:Gra
嗨,我在Grails中很新,在grails中有一个非常简单的问题,我希望有人能帮助我。 我有一个简单的域类人如下: class Person {
String name // name of the person
Date dob // date of birth
} // end of class
我已经在我的数据库几个人的条目。 在另一种形式中,我想让用户从下拉