perltie seems appropriate - although the documentation foucuses on tying hashes, scalars and array, don't let this fool you - tie is just as good at tying objects to database entries.
One world, one people
Comment on Re: Best way to store an object collection.