Blog Archives

Database abstraction

Today I’m working again on the database abstraction layer of PhOSCo.NG. It should be possible to recognize a lost database connection to provide information about this event to the user. It isn’t a trivial problem, because every JDBC operation can stop with such an error. Every database management system implements that as a special error code, so the implementation must be datastore-specific. Damn!