郁闷的~~c3p0连接池配置

郁闷的~~c3p0连接池配置
正常配置:
<bean id="dataSource"
  class="com.mchange.v2.c3p0.ComboPooledDataSource"
  destroy-method="close">
  <property name="driverClass">
   <value>com.microsoft.jdbc.sqlserver.SQLServerDriver</value>
  </property>
  <property name="jdbcUrl">
   <value>jdbc:microsoft:sqlserver://localhost:1433;DatabaseName=xxx</value>
  </property>
  <property name="user">
   <value>xxx</value>
  </property>
  <property name="password">
   <value>xxx</value>
  </property>
 </bean>
使用IDE格式化后,变为
<bean id="dataSource"
  class="com.mchange.v2.c3p0.ComboPooledDataSource"
  destroy-method="close">
  <property name="driverClass">
   <value>com.microsoft.jdbc.sqlserver.SQLServerDriver</value>
  </property>
  <property name="jdbcUrl">
   <value>
      jdbc:microsoft:sqlserver://localhost:1433;DatabaseName=xxx
   </value>
  </property>
  <property name="user">
   <value>xxx</value>
  </property>
  <property name="password">
   <value>xxx</value>
  </property>
 </bean>
就死活也不认得了,我狂晕哦....

你可能感兴趣的:(郁闷的~~c3p0连接池配置)