• 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
ODBCKit problems with MySQL DB
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ODBCKit problems with MySQL DB


  • Subject: ODBCKit problems with MySQL DB
  • From: "matt" <email@hidden>
  • Date: Thu, 28 Aug 2008 12:45:30 -0400

I am having a problem with the ODBCKit, and a MySQL database.

I really like the design and usage of the ODBCKit, and it is quite easy to use.

There is however quite a serious problem that I cannot get around.  When a recordset is returned, I can only see one record.  Attempting to move to another record (moveNext) sets the isEOF property, and there is no data available.

ODBCRecordset *rs = [odbcConnection open:@"select * from Stuff"];
rs.moveFirst;
while(!rs.isEOF)
  {
  [popup addItemWithTitle:[[rs fieldByName:@"Name"] asString]];
  [rs moveNext];
  }

I ran across a bug report of the same issue from last year, and a response that this has only been tested with the ActualTechnologies ODBC driver.  I have used both the MySQL connect driver, as well as the Actualtechnologies drivers with the same exact result.

Has anyone got past this, and how did you do it?  I would like to use the ODBCKit, however because of deadlines, may be forced to abandon completely.  Are there any other Cocoa ODBC alternatives?

Thanks in advance for any and all help.
Matt





________________________________________________________________
Sent via the WebMail system at youney.com




_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: ODBCKit problems with MySQL DB
      • From: Martin Stoufer <email@hidden>
  • Prev by Date: Re: Quitting all active applications
  • Next by Date: Re: CFBundleIconFile: heiß or hot?
  • Previous by thread: Re: Semi-transparent offscreen CALayer
  • Next by thread: Re: ODBCKit problems with MySQL DB
  • Index(es):
    • Date
    • Thread