Sql Generation correction

Unpersistent definition and association are no longer included in the
sql  generated file