prepared KnowledgeTreeDao and KnowledgeTemplateDao for using inheritance
(jdbc)