i've been developing a small app that required an embedded database. i'd used SQLite with a degree of success, but i wanted a change, especially when someone said something about the files getting easily corrupted. my next choice was embedded Firebird. since i was writing a C++ application, i decided to use the default C++ API for Firebird, IBPP.
developing this app has been a great learning experience. for instance, i found out that using std::vector
as a container calls the copy constructor for stored objects. there's a class in my code that has a private copy constructor, mainly to prevent me from trying to make copies of existing objects (if each object is to be completely unique, there'd be a need for that, wouldn't there?). i wasn't sure about it, so i stored pointers to objects of that class in the std::vector
. later, i duplicated the code relating to the vector and tried using actual objects. my compiler (Visual C++ 2005 Express) gave me a major error in the vector
include header, of all places! heh!
my app i going along fine, and i hope to be done with it by Saturday. on the subject, Sleepcat Software was bought by Oracle. interestingly, i just found out this morning while googling for embedded databases, even though the announcement is dated February last year.
saa te, later!
No comments:
Post a Comment