Programming for Oracle on Linux, Part 2
As I pointed out in the first part of this series, interaction with Oracle databases can be as simple as a few hundred lines of code. Between our C source and Makefile, we've written a mostly complete application with a decent amount of exception handling and comments in a total of 394 lines of code. To be more complete, we could add signal handling and some additional database consistency checks, but for our modest application these things can be done in a small amount of code as well. Additionally, as with Perl, it would be possible to link against other database connection libraries, such as the libmysqlclient library for MySQL or PostgreSQL's libpq, and use wrapper functions to make our interfaces more generic. But that's another topic for another time.
Webinar: 8 Signs You’re Beyond Cron
On Demand NOW
Join Linux Journal and Pat Cameron, Director of Automation Technology at HelpSystems, as they discuss the eight primary advantages of moving beyond cron job scheduling. In this webinar, you’ll learn about integrating cron with an enterprise scheduler.View Now!
|Non-Linux FOSS: All the Bitcoin, None of the Bloat||May 26, 2015|
|Dr Hjkl on the Command Line||May 21, 2015|
|Initializing and Managing Services in Linux: Past, Present and Future||May 20, 2015|
|Goodbye, Pi. Hello, C.H.I.P.||May 18, 2015|
|Using Hiera with Puppet||May 14, 2015|
|Urgent Kernel Patch for Ubuntu||May 12, 2015|
- Initializing and Managing Services in Linux: Past, Present and Future
- Non-Linux FOSS: All the Bitcoin, None of the Bloat
- Dr Hjkl on the Command Line
- Using Hiera with Puppet
- Mumblehard--Let's End Its Five-Year Reign
- Gartner Dubs DivvyCloud Cool Cloud Management Vendor
- Goodbye, Pi. Hello, C.H.I.P.
- Urgent Kernel Patch for Ubuntu
- Infinite BusyBox with systemd
- It's Easier to Ask Forgiveness...