2008-05-20

Spring 配置数据源JNDI引用

关键字: spring jndi
Spring 配置数据源JNDI引用 <bean id="dataSource" class="org.springframework.jndi.JndiObjectFactoryBean"> <property name="jndiName"><value>java:comp/env/jdbc/aurora_contact_web</value></property> </bean> 或者 <jee:jndi-lookup id="dataSource" jndi-name="java:comp/ ...
配置Bean  <bean id="propertyConfigurer"   class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"  lazy-init="false">   <property name="locations"> &nbs ...
kong6001
  • 浏览: 6807 次
  • 性别: Icon_minigender_1
  • 来自: 广东广州
  • 详细资料
搜索本博客
存档
最新评论