Check for autoincrement definition in hibernate
Issue #28: Support compound primary keys