|| cls.getEmbeddingMetaData() != null)
throw new MetaDataException(_loc.get("not-base-vers", cls));
VersionMappingInfo info = vers.getMappingInfo();
info.assertNoJoin(vers, true);
info.assertNoForeignKey(vers, !adapt);
info.assertNoUnique(vers, false);
if (info.getColumns().size() > 1) {
Column[] templates = new Column[info.getColumns().size()];
for (int i = 0; i < info.getColumns().size(); i++) {
templates[i] = new Column();