struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mikkel Bruun <mikkel.br...@valtech.dk>
Subject Poolman and charset
Date Tue, 12 Feb 2002 11:07:22 GMT
I have been using the struts connection pool for some time but have decided
to switch to poolman

My original connection pool conf looked like this

<data-source key="db">
      <set-property property="autoCommit" value="false"/>
      <set-property property="description" value="Some db"/>
      <set-property property="driverClass" value="com.inet.tds.TdsDriver"/>
      <set-property property="maxCount" value="30"/>
      <set-property property="minCount" value="1"/>
      <set-property property="password" value=""/>
      <set-property property="url"
value="jdbc:inetdae7:10.30.0.199:1433?database=mydb"/>
      <set-property property="user" value="xxx"/>
      <set-property property="password" value="xxx"/>
      <set-property property="charset" value="Cp850"/>
      <set-property property="loginTimeout" value="5"/>
</data-source> 

As you can see I have a charset=cp850, which is a must as I am connecting to
a legacy MS SQL database...

So the question is, how do I set this parameter in the poolman.xml file???

I have tried adding it to the url

<url>jdbc:inetdae7:10.30.0.199:1433?database=mydb&charset=Cp850</url>

which makes poolman throw up...

any suggestions???

thanks

Mikkel Bruun

--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message