POCO C++ Libraries Blog

News and discussion for the POCO Community


Can Poco::Data Speak C++ as a Native?

Wouldn’t every true C++ programmer talking to a database be happy to be able to do something like this: RecordSet rset(session, “SELECT * FROM Vectors”); for (RecordSet::Iterator it = rset.begin(); it != rset.end(); ++it) std::cout << *it; Or this: std::copy(rset.begin(), rset.end(), std::ostream_iterator<Row>(std::cout)); No doubt. Well, if you’re a C++ aficionado and have a need to […]


The latest on Data

The latest is null support. Not being able to insert/update and check for nulls was an important shortcoming, so I have pushed it ahead of Unicode. Now, the following works: ses << “CREATE TABLE NullTest (i INTEGER)”, now; ses << “INSERT INTO NullTest VALUES(:i)”, use(null), now; RecordSet rs(ses, “SELECT * FROM NullTest”); rs.moveFirst(); assert (rs.isNull(“i”)); […]


NamedTuple and DynamicAny

Since we are doing 1.4 overhaul, I’m not sure what (if anything) to do about following: DynamicAny NamedTuple::operator[] (const std::string& name) It would be nice to be able to do this on a NamedTuple: NamedTuple nt(“name”, 1); nt[“name”] = 2; The way it is done right now is deceptive because it does not modify the […]


Roadmap Update

I have just updated the Project Roadmap. The major change is that we’ll soon have a 1.4 release containing all the recently developed new stuff that does not quite fit into the 1.3.1 maintainance release (e.g., Event framework improvements, Data improvements, Async I/O). There will be a 1.3.1 bugfix release in the coming days, fixing […]


Coming Soon: Async I/O

During a very relaxing one hour run through the forest yesterday, I suddenly had an idea how to implement asynchronous I/O for streams and sockets in POCO with very little effort. I’m going to try my ideas out today, so you can expect to show up something in the SVN repository tomorrow – it shouldn’t […]


West Coast to East Coast

Next month I will travel to the USA to give a few POCO trainings. I will be in the San Jose area from July 12 to July 16, and in the Boston area July 17 to July 21. Since I’ve lots of time in between the training sessions, I’d like to meet up with some […]


Bug Slashing Day

Today I fixed most of the currently open bugs reported on Sourceforge. The result is in the Subversion repository and will soon become release 1.3.1. There are also improvements to the Unix build system. It is now possible to build POCO-based applications and libraries outside of the POCO_BASE directory hierarchy. To do this, you’ll have […]