Not specifically commenting on the bitmask approach but with the more general mechanismdont your views end up as massive nested statements. ie: select (select value from EAV where id=? and...
I remember building a COM object based system where the com objects represented entities which corresponded to tables in the database. To avoid having to change the interface of...