}
}
// 给字段排序一下, fix issue #29
List<MappingInfo> tmp = new ArrayList<MappingInfo>(infos.size());
MappingInfo miId = null;
MappingInfo miName = null;
for (MappingInfo mi : infos) {
if (mi.annId != null) {
if (miId != null) {
throw new DaoException("Allows only a single @Id ! " + type);
}