title: Oracle connection using Spring jdbc template, ORA-12514
body: <p>I am very new to Spring JDBC template. I am trying to run a sort of hello world program. </p>
  
  <p>My issues is if I define url as : </p>
  
  <pre><code>jdbc:oracle:thin:@some_host:1521:some_service
  </code></pre>
  
  <p>it works perfectly fine, however defining like below throws the above mentioned error.</p>
  
  <pre><code>jdbc:oracle:thin:@(DESCRIPTION= 
     (ADDRESS=(PROTOCOL=TCP)(HOST=some_host) (PORT=1521)) 
     (CONNECT_DATA=(SERVICE_NAME=some_service)))
  </code></pre>
  
  <p>Here is my <code>beans.xml</code>, What am I doing wrong?</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8" ?&gt;
  &lt;beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.springframework.org/schema/beans
      http://www.springframework.org/schema/beans/spring-beans-3.0.xsd "&gt;
  
      &lt;bean id="dataSource" class="oracle.ucp.jdbc.PoolDataSourceFactory" factory-method="getPoolDataSource"&gt;
          &lt;property name="URL" value="jdbc:oracle:thin:@(DESCRIPTION= 
              (ADDRESS=(PROTOCOL=TCP)(HOST=some_host) (PORT=1521)) 
              (CONNECT_DATA=(SERVICE_NAME=some_service)))" /&gt;
      &lt;!--  property name="URL" value="jdbc:oracle:thin:@some_host:1521:some_service" /&gt; --&gt;
          &lt;property name="User" value="some_user" /&gt;
          &lt;property name="Password" value="some_password" /&gt;
          &lt;property name="ConnectionFactoryClassName" value="oracle.jdbc.replay.OracleDataSourceImpl" /&gt;
          &lt;property name="ConnectionPoolName" value="mypool" /&gt;
          &lt;property name="MinPoolSize" value="1" /&gt;
          &lt;property name="MaxPoolSize" value="20" /&gt;
          &lt;property name="InitialPoolSize" value="1" /&gt;
      &lt;/bean&gt;
  
      &lt;!-- Definition for studentJDBCTemplate bean --&gt;
      &lt;bean id="studentJDBCTemplate" class="StudentJDBCTemplate"&gt;
          &lt;property name="dataSource" ref="dataSource" /&gt;
      &lt;/bean&gt;
  
  &lt;/beans&gt;
  </code></pre>