Checked mysql and pgsql with new data layer. Some fixes applies. It needs another iteration but core features should be OK now.
A fix