public void removeRelationshipsWithMappingTable ( String mappingTable ) { try { if ( extendedRelationsDao . isTableExists ( ) ) { List < ExtendedRelation > extendedRelations = getRelations ( null , null , mappingTable ) ; for ( ExtendedRelation extendedRelation : extendedRelations ) { removeRelationship ( extendedRelation ) ; } } } catch ( SQLException e ) { throw new GeoPackageException ( "Failed to remove relationships for mapping table: " + mappingTable , e ) ; } }
Remove all relationships with the mapping table