code: private static RelatedTablesCoreExtension getRelatedTableExtension(
  			GeoPackageCore geoPackage) {
  		return new RelatedTablesCoreExtension(geoPackage) {
  			@Override
  			public String getPrimaryKeyColumnName(String tableName) {
  				return null;
  			}
  		};
  	}
docs: Get a Related Table Extension used only for deletions
  
  @param geoPackage
  GeoPackage
  @return Related Table Extension