remove uses of org.hibernate.mapping.Array
remove uses of org.hibernate.mapping.PrimitiveArray
fix failing tests