public int deleteByIdCascade ( Long id ) throws SQLException { int count = 0 ; if ( id != null ) { SpatialReferenceSystem srs = queryForId ( id ) ; if ( srs != null ) { count = deleteCascade ( srs ) ; } } return count ; }
Delete a Spatial Reference System by id cascading