Thanks Thomas, changing the platform="mysql" to platform="MySQL" works.

Cheers,
Philip.

-----Original Message-----
From: Thomas Dudziak [mailto:[EMAIL PROTECTED] 
Sent: March 30, 2005 11:13 AM
To: OJB Users List
Subject: Re: Setup Question.


On Wed, 30 Mar 2005 11:09:52 -0800, Philip Denno <[EMAIL PROTECTED]>
wrote:
> Thanks, that makes sense.
> 
> I replaced the jar file to be 1.0.2 and it now loads fine. Now I get 
> the following problem when I launch related to the 
> repository_database.xml
> 
> Once again I took the defaults from the apache website and attempted 
> to customize them. The exact warning from OJB is:
> 
> [DEFAULT] WARN: [PlatformFactory] problems with platform
> org.apache.ojb.broker.platforms.PlatformMysqlImpl:
> org.apache.ojb.broker.platforms.PlatformMysqlImpl
> [DEFAULT] WARN: [PlatformFactory] OJB will use PlatformDefaultImpl 
> instead
> 
> I modified the default file so that it looks like the following:
> 
> <jdbc-connection-descriptor
>                 jcd-alias="default"
>                 default-connection="true"
>                 platform="mysql"
>                 jdbc-level="2.0"
>                 driver="com.mysql.jdbc.Driver"
>                 protocol="jdbc"
>                 subprotocol="mysql"
>                 dbalias="tsi"
>                 username="guest"
>                 password="guest"
>                 batch-mode="false"
>         useAutoCommit="1"
>         ignoreAutoCommitExceptions="false"
>      >
> 
> Are any of these settings incorrect? What exactly is wrong with the 
> mysql platform class?

The platform setting is case sensitive, if you use "MySQL" as the value,
then it should work.

Tom

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to