For the sake of completeness, here is my EOModel (new) config: 

Name: Default
Prototype: EOJDBCMysqlPrototypes
Adaptor: JDBC
url: 
jdbc:mysql://localhost/test?capitalizeTypesnames=true&zeroDateTimeBehaviour=convertToNull
username: xxxx
password: yyyyy
driver: com.mysql.jdbc.Driver
plugin: <empty>

That seems rather logical and corresponds to David's tutorial. 
My mistake was to follow strictly the video and fill out EOModel's fields in 
the same order without checking the field names. But my EOModel version has 
this data presented in a slightly different order than in the video, so the 
informations (url, driver, plugin) were misplaced! 
So, that was a rather instructive mistake. 
And now, let's move on to the next step and keep learning WO. 

Mark, by the way: how did you identify the error? via the log? 

Cheers, 
Andreas

----- Original Message -----
From: "Cheong Hee (Gmail)" <[email protected]>
To: [email protected], "Mark Ritchie" <[email protected]>
Cc: "webobjects-dev" <[email protected]>
Sent: Tuesday, 9 February, 2010 05:47:30 GMT +01:00 Amsterdam / Berlin / Bern / 
Rome / Stockholm / Vienna
Subject: Re: NoSuchMethodException com.mysql.jdbc.Driver.<init>

I supposed that you may only need this in url for your eomodel config:
url: 
jdbc:mysql://ip-address/dbName?capitalizeTypenames=true&useUnicode=true&characterEncoding=UTF-8
username: xxxxx
password: xxxxx

I am using the Driver setting, and not sure its implications.  I thought 
this field could just left it empty.

Cheers

Cheong Hee

----- Original Message ----- 
From: <[email protected]>
To: "Mark Ritchie" <[email protected]>
Cc: "webobjects-dev" <[email protected]>
Sent: Tuesday, February 09, 2010 5:18 AM
Subject: Re: NoSuchMethodException com.mysql.jdbc.Driver.<init>


That was it! Fantastic!

My EOModel configuration wasn't properly filled out. My fault: I didn't look 
correctly at the tutorial...

Thanks a lot guys.

----- Original Mail -----
from: "Mark Ritchie" <[email protected]>
to: "Andreas Thiken" <[email protected]>
Cc: "webobjects-dev" <[email protected]>
sent: Lundi 8 Février 2010 20h32:03 GMT +01:00 Amsterdam / Berlin / Berne / 
Rome / Stockholm / Vienne
Object: Re: NoSuchMethodException com.mysql.jdbc.Driver.<init>

On 8/Feb/2010, at 1:26 AM, Andreas Thiken wrote:
> Does anyone have a suggestion?

Hey Andreas!

I could recreate the exception which you got by using an EOModel with
Driver:
Plugin: com.mysql.jdbc.Driver

These settings work for me:
Driver: com.mysql.jdbc.Driver
Plugin:

Give that a try! ;-)
M.
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/chng34%40gmail.com

This email sent to [email protected] 

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to