Suggest a feature
×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: XML
Posted by: JUNE CHERN
Added: Dec 25, 2019 11:16 PM
Views: 85
Tags: spring
  1.     <bean id="dataSource" class="org.springframework.jndi.JndiObjectFactoryBean">
  2.         <!--通过jndiName指定引用的JNDI数据源名称 -->
  3.         <property name="jndiName">
  4.             <value>java:comp/env/jdbc/smbms</value>
  5.         </property>
  6.     </bean>
  7.