• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: From Oracle to MySql - Part II
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: From Oracle to MySql - Part II


  • Subject: Re: From Oracle to MySql - Part II
  • From: Kieran Kelleher <email@hidden>
  • Date: Tue, 4 Jan 2005 09:10:55 -0500

I would first try and use the latest MySQL jdbc driver ..... 2.0.4 is pretty old. I use 3.0.11

What version of MySQL are you using?

________________________________________________________________
Dev Config = OS X 10.3.5 / Java 1.4.2_05 / WO 5.2.3 / XCode v1.5 / MySQL 4.0.20 / Connector-J 3.0.11
Deploy Config = OS X 10.3.5 Server / Java 1.4.2_05 / WO 5.2.3 / MySQL 4.0.20 / Connector-J 3.0.11
My Blog: http://webobjects.webhop.org/



On Jan 4, 2005, at 3:50 AM, Pierre Gilquin wrote:

Hi all,

I have transform an Oracle EOmodel to MySql using switch adaptor. Everything
works fine, the attribute are translated in the MySql types and I am able to
fetch anything in EOmodel.
But it seems that I have problems with sub-classes in applications.
I am able to create an object from a sub classe of Substance (defined by
category = 'CYT') but impossible to read it afterward !
The mysql jdbc driver is mm.mysql-2.0.4-bin.jar


The trace is the following :

...
[2005-01-04 09:09:31 CET] <main> Using JDBCPlugIn
'com.webobjects.jdbcadaptor.MySQLPlugIn' for JDBCAdaptor@12818976
[2005-01-04 09:09:31 CET] <main> connecting with dictionary: {plugin = "";
username = "root"; driver = "org.gjt.mm.mysql.Driver"; password = "<password
deleted for log>"; URL =
"jdbc:mysql://localhost/test?capitalizeTypeNames=true
"; }
[2005-01-04 09:09:32 CET] <main> === Begin Internal Transaction
[2005-01-04 09:09:32 CET] <main> evaluateExpression:
<com.webobjects.jdbcadaptor.MySQLPlugIn$MySQLExpression: "SELECT t0.AUC,
t0.Cmax, t0.DCI, t0.Q0, t0.TDemi, t0.Vd, t0.id, t0.biodisponibilite,
t0.category, t0.idEMediat, t0.invisible, t0.isomere, t0.VERROU,
t0.metabolite, t0.metaboliteActif, t0.nomLocal, t0.poidsMoleculaire FROM
Substance t0 WHERE t0.category = ?" withBindings: 1:"CYT"(category)>
[2005-01-04 09:09:32 CET] <main> fetch canceled
[2005-01-04 09:09:32 CET] <main> 0 row(s) processed
[2005-01-04 09:09:32 CET] <main> === Commit Internal Transaction
[2005-01-04 09:09:32 CET] <main> === Commit Internal Transaction
[2005-01-04 09:09:32 CET] <main> A fatal exception occurred: null
[2005-01-04 09:09:32 CET] <main>
com.webobjects.jdbcadaptor.JDBCAdaptorException
at com.webobjects.jdbcadaptor.JDBCColumn._fetchValue(JDBCColumn.java:322)
at com.webobjects.jdbcadaptor.JDBCColumn.fetchValue(JDBCColumn.java:304)
at com.webobjects.jdbcadaptor.JDBCChannel.fetchRow(JDBCChannel.java:1395)
at
com.webobjects.eoaccess.EODatabaseChannel._fetchObject(EODatabaseChanne l.jav
a:303)



Thank in advance for any help

Pierre.

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
email@hidden


This email sent to email@hidden


_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >From Oracle to MySql - Part II (From: "Pierre Gilquin" <email@hidden>)

  • Prev by Date: From Oracle to MySql - Part II
  • Next by Date: Re: Legacy .dbf DOS system to WebObjects...
  • Previous by thread: From Oracle to MySql - Part II
  • Next by thread: Re: From Oracle to MySql - Part II
  • Index(es):
    • Date
    • Thread