So, we have to do an implementation of a rather complex Database Management System in C - I already wrote it using an ODBC driver, but it's getting out of hand at this point in terms of maintenance (adding new things, changing behavior, etc).I was going to rewrite the thing using C-Hibernate, but before I spend the next two weeks on this I thought I'd ask if anyone else had used or heard of anything similar to Hibernate?Google search didn't really bring up anything else quite like Hibernate, but I'm worried that the keywords I'm using wouldn't bring up everything..
10/19/2007 1:07:05 PM
sigh .. so the only ORM out there that is already set-up to work in a C or C++ environment is DataXtend CE - which apparently costs a buttload.
10/19/2007 4:13:46 PM
why not java?this is the type of thing that java does really well...
10/19/2007 11:45:29 PM
maybe he wants it to be really fast?
10/20/2007 10:14:45 AM
Core Data on OSX -- free with the OS, and it has sweet modeling tools. You don't have to write all those tedious XML files or write tedious fucking code like you do with hibernate.[Edited on October 20, 2007 at 11:32 AM. Reason : java]
10/20/2007 11:13:53 AM
Well while I personally consider Java to be almost as efficient as C now-a-days unfortunately we have to interact with rather old legacy code and need certain database interactions to be done in near real-time.I'm gonna write some exploration code to see if I can get the job done while interacting with an outside Java process. It's fairly important for maintenance and prototyping issues to use an ORM for this sort of thing due to the fact that we're talking about so many parameters that are being updated in real time and need to be accessed by various processes (both to compute further parameters and to give out to end users via web services). Rewriting the SQL code each time a change has to be made during this prototype and during the later maintenance phases would start taking up my entire time at work and I'm not really into that solution :oSadly we need to have this database running up on the plane it's going on and we're very limited in space and power so having another machine to run another OS would be out of the question.[Edited on October 22, 2007 at 4:43 PM. Reason : .]
10/22/2007 4:28:15 PM