使用spring配置jndi数据源
如果resourceref属性为false,又想在容器中查找的话,可以在jndiName属性的值前加java:comp/env前缀,否则就会报Name test is not bound in this Context异常。
发布时间: 2012-10-27 10:42:26 作者: rapoo
使用spring配置jndi数据源
如果resourceref属性为false,又想在容器中查找的话,可以在jndiName属性的值前加java:comp/env前缀,否则就会报Name test is not bound in this Context异常。