The database abstraction layer doesn't take care of that sort of thing? O.o