code: private boolean containsCompositeKey(TableInfo tableInfo)
      {
          return tableInfo.getTableIdType() != null && tableInfo.getTableIdType().isAnnotationPresent(Embeddable.class);
      }
docs: Contains composite key.
  
  @param tableInfo
  the table info
  @return true, if successful