fix in AS logic + hibernate dialect removed