Guest User

Untitled

a guest
Sep 25th, 2011
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 0.62 KB | None | 0 0
  1.   <bean id="dataSource" class="hu.xxx.services.CustomDelegatingDataSourceImpl" destroy-method="destroy">
  2.         <property name="targetDataSource"><ref bean="targetDataSource"/></property>
  3.         <property name="url" value="${jdbc.url}"/>
  4.         <property name="username" value="${jdbc.username}" />
  5.         <property name="password" value="${jdbc.password}" />
  6.         <property name="suppressClose" value="true"/>
  7.     </bean>
  8.  
  9.     <bean id="targetDataSource" class="org.springframework.jdbc.datasource.SingleConnectionDataSource">
  10.         <property name="driverClassName" value="${jdbc.driverClassName}"/>
  11.     </bean>
Advertisement
Add Comment
Please, Sign In to add comment