prepared queries
fixed basedao - always fetch persistentclass through method