CPD Results

The following document contains the results of PMD's CPD 4.3.

Duplications

FileLine
org/deegree/metadata/persistence/ebrim/eo/EbrimEOMDStore.java337
org/deegree/metadata/persistence/ebrim/eo/EbrimEOMDStore.java437
    public MetadataResultSet<RegistryObject> getRecords( MetadataQuery query )
                            throws MetadataStoreException {

        PreparedStatement stmt = null;
        ResultSet rs = null;
        ConnectionManager connManager = workspace.getSubsystemManager( ConnectionManager.class );
        Connection conn = getConnection( true );
        try {
            EOPropertyNameMapper propMapper = new EOPropertyNameMapper( query.getQueryTypeNames(), useLegacyPredicates );
            if ( query.getFilter() instanceof IdFilter ) {
                throw new MetadataStoreException( "ID filters are currently not supported." );
            }

            AbstractWhereBuilder wb = new PostGISWhereBuilder( null, propMapper, (OperatorFilter) query.getFilter(),
                                                               query.getSorting(), false, useLegacyPredicates );
            AliasedRIMType returnType = propMapper.getReturnType( query.getReturnTypeNames() );
            StringBuilder idSelect = new StringBuilder( "SELECT DISTINCT(" );