Objective C and Databases

Hi all

I come from a primarily Java background and am tackling a new Mac OS X carbon application.

One thing I'm struggling with is to find any good Open Source frameworks for connecting to a database?

Forgive me for referencing Java but in Java you would load a driver up (of your choice) and use that to perform your SQL queries using the inbuilt Java classes.

Is there such a capability in Obj C and are there any useful tutorials?

I have found a few frameworks such as Baseten but all seem relatively old ?

Thanks in advance,

James

G5, Mac OS X (10.5.5)

Posted on Oct 23, 2008 4:58 AM

Reply
7 replies

Oct 23, 2008 6:32 AM in response to etresoft

Hi there

Thank you for the reply.

Having looked at SQLLite our system is going to require access to a Database server (in the past we've used Postgresql) as we need to allow multiple users to access the DB.

I have found information on iODBC that can provide access to a variety of Database Servers (required DB server download) and it looks like this might be a way forward?

Oct 23, 2008 7:33 AM in response to eggsy84

eggsy84 wrote:
Having looked at SQLLite our system is going to require access to a Database server (in the past we've used Postgresql) as we need to allow multiple users to access the DB.


That was just one example out of umpteen. If you like PostgreSQL, use that. You can use the libpq library or an Objective-C wrapper.

I have found information on iODBC that can provide access to a variety of Database Servers (required DB server download) and it looks like this might be a way forward?


Perhaps. It is already installed on your Mac.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Objective C and Databases

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.