The problem is the same for the following versions: mysql-connector-java-5.0.4-bin.jar mysql-connector-java-3.1.14-bin.jar mysql-connector-java-3.1.8-bin.jar mysql-connector-java-3.0.15-ga-bin.jar
I've checked with debugger - attribute's value is presented with NSData in __dictionary property of EOEnterpriseObject. And it should've been converted with "fromBlob" before getting there. on 1/12/07 5:25 PM, Kieran Kelleher at [EMAIL PROTECTED] wrote: > I have a vague recollection of problems like this when I switched > from 3.0 driver to 3.1 driver, so I have been using 3.0.X driver > since. It won't hurt to try the 3.0.X driver .... if that solves the > issue be sure to let us know. > > Regards, Kieran > > > On Jan 12, 2007, at 5:37 AM, Denis Frolov wrote: > >> Hi, >> >> I have the same problem as Timo had in this thread two years ago: >> http://www.wodeveloper.com/omniLists/webobjects-dev/2004/March/ >> msg00340.html >> >> I'm also using try/catch to do a manual conversion in eo's accessor >> method. >> I've also noticed that the problem goes away if I change attribute's >> externalType to TEXT in eomdel while leaving it set to BLOB in >> database. >> Although this solution seems to be viable - it is of no real use since >> database's field will be set to TEXT next time sql is generated from >> EOModeler/Entity Modeler. >> >> I've also tried >> >> I'm using mysql-connector-java-3.1.14-bin.jar and MySQL 4.1.18. >> >> The questions are: >> 1. Did anyone (Timo?) succeed in solving the problem? >> 2. Is there any hidden danger in calling "fromBlob" to make a >> conversion so >> late in eo's accessor method manually? Can this lead to EOF problems? >> >> --- >> Denis Frolov >> Design Maximum MA >> >> Tel: +7 863 2648211 >> Fax: +7 863 2645229 >> Web: http://www.designmaximum.com >> >> >> >> _______________________________________________ >> 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/kieran_lists% >> 40mac.com >> >> This email sent to [EMAIL PROTECTED] > > --- Denis Frolov Design Maximum MA Tel: +7 863 2648211 Fax: +7 863 2645229 Web: http://www.designmaximum.com _______________________________________________ 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]
