code: public static void deleteMetadata(GeoPackageCore geoPackage, String table) {
  
  		MetadataReferenceDao metadataReferenceDao = geoPackage
  				.getMetadataReferenceDao();
  		try {
  			if (metadataReferenceDao.isTableExists()) {
  				metadataReferenceDao.deleteByTableName(table);
  			}
  		} catch (SQLException e) {
  			throw new GeoPackageException(
  					"Failed to delete Metadata extension. GeoPackage: "
  							+ geoPackage.getName() + ", Table: " + table, e);
  		}
  
  	}
docs: Delete the Metadata extensions for the table
  
  @param geoPackage
  GeoPackage
  @param table
  table name
  @since 3.2.0