Difficulties generating an entity's DAO and SQL for a new extension
civix generate:entity is experimental and, last I checked, broken.

When I need to do this, my approach is as follows:


create my XML file for the new entity
run a helper script to generate the SQL and DAO


Have a look at the helper files in CiviVolunteer for guidance; they should work for any project with minimal modification.