• 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: Connecting to Database
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Connecting to Database


  • Subject: Re: Connecting to Database
  • From: "email@hidden" <email@hidden>
  • Date: Mon, 13 Aug 2001 18:55:41 +0200

no. there is no way to connect from cocoa similar to jdbc or odbc to a database. but you have several other options without buying any additional software:

1. use the client-api of your database
this is the fastest method (even faster than odbc or jdbc), but it means you have to implement a database stub for every database you want to support. the client-api's are usually a part of every distribution

2. use the java-objc-bridge and implement your database access with jdbc. this isn't the best way if you need performance. but you have to implement your stuff only once for most popular databases.

3. you can also buy some frameworks to access several databases. this version has only one disadvantage: money!

hope this helped,

thomas.


Am Montag, 13. August 2001 um 17:33 schrieb So Hok Chun, Bill:

Hi, everyone.

I'm new to Cocoa. I'd like to know whether there exist any means to connect
a Cocoa program to a database (eg.: Postgresql, mySQL)

Is there any ways similar to JDBC in Java or ODBC?

Thanks for your help.

Bill
_______________________________________________
cocoa-dev mailing list
email@hidden
http://www.lists.apple.com/mailman/listinfo/cocoa-dev


  • Follow-Ups:
    • Re: Connecting to Database
      • From: François Frisch <email@hidden>
    • Re: Connecting to Database
      • From: Ondra Cada <email@hidden>
References: 
 >Connecting to Database (From: "So Hok Chun, Bill" <email@hidden>)

  • Prev by Date: Selecting objects, help needed...
  • Next by Date: RE: E-mail
  • Previous by thread: Re: Connecting to Database
  • Next by thread: Re: Connecting to Database
  • Index(es):
    • Date
    • Thread