You own database middleware layer