You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ojb-user@db.apache.org by Bilge Erkan <bi...@polar.biz.tr> on 2004/02/26 02:29:11 UTC
Setting connection properties of the JDBC driver
Hi,
How can I set the connection properties of org.gjt.mm.mysql.Driver like
characterEncoding and useUnicode?
Thanks,
Bilge
---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-user-help@db.apache.org
Re: Setting connection properties of the JDBC driver
Posted by Jim Theodoridis <oj...@tera.gr>.
Hi.
try this
...............
<jdbc-connection-descriptor
jcd-alias="MySQL"
default-connection="true"
platform="MySQL"
jdbc-level="3.0"
driver="org.gjt.mm.mysql.Driver"
protocol="jdbc"
subprotocol="mysql"
dbalias="//localhost:3306/ALternative?useUnicode=true&characterEncoding=
UTF-8"
username="root"
password=""
eager-release="false"
batch-mode="false"
useAutoCommit="1"
ignoreAutoCommitExceptions="false"
>
.......
it works fine to me
I use MySQL 3.23 with greek characters on Struts
----- Original Message -----
From: "Bilge Erkan" <bi...@polar.biz.tr>
To: <oj...@db.apache.org>
Sent: Thursday, February 26, 2004 3:29 AM
Subject: Setting connection properties of the JDBC driver
> Hi,
>
> How can I set the connection properties of org.gjt.mm.mysql.Driver like
> characterEncoding and useUnicode?
>
> Thanks,
> Bilge
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
> For additional commands, e-mail: ojb-user-help@db.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-user-help@db.apache.org