Newbie question here: I’m using ANSI C on server to crunch numbers for a web application. The C function needs to load data from an Oracle database, process it, and save it back to the database.
Is C capable of doing this, or do I need another language as a middle-man?
How do people approach this problem?
Do I need to build a bridge from C to another language, for example, learn JNI or build a PHP extension, and let them do the communicating with the database? I’m trying to avoid this route because it’s seems fairly complex. Hoping to converge on a simple approach. That is, a (mainstream) approach that is well documented with examples on the internet, or if I need to ask a question there’s lots of people around that have done it.
You need to use Oracle OCI, which is a bunch of C APIs to interface with the database.