writing your own some ORM kind shit? spring-like decorators - maybe those in repository class of Spring? that create queries from function names? or logging before and after or even just parameterizable caches with different eviction strategies implemented with decorators in python