Menu

#10 '=' not allowed in jdbc properties

open
nobody
5
2012-09-15
2002-08-06
No

JdbcConnectionPool.getProperties(String) makes no
allowances for equals signs inside of properties, which
makes the following illegal:

com.protomatter.jdbc.pool.sqlsvrpool=\
...
jdbc.URL=jdbc:microsoft:sqlserver://10.141.76.16;Databa
seName=A;User=B;Password=C, \ ...

com.protomatter.jdbc.pool.sqlsvrpool.jdbcProperties \
user=asiadev,\
password=asiadev

A simple fix is attached.

Protomatter has saved me a lot of time and effort -
thanks!

--steve

Discussion

  • Steve Hunter

    Steve Hunter - 2002-08-06

    com.protomatter.jdbc.pool.JdbcConnectionPool#getProperties(String) replacement

     
  • Steve Hunter

    Steve Hunter - 2002-08-06

    Doh! Make that an (i+1) in the 2nd arg to 'put' . How embarrassing...

     

Log in to post a comment.

Monday.com Logo