Ticket #767 (closed defect: fixed)

Opened 10 months ago

Last modified 4 months ago

Fix Criteria functions to handle collections stored as rdf:Seq, rdf:List etc. correctly

Reported by: pradeep Assigned to: pradeep
Priority: critical Milestone:
Component: topaz Version: 0.8.2-SNAPSHOT
Keywords: Criteria, rdf:Seq, rdf:List Cc:
Blocking: Blocked By:

Description

Changing the storeAs of a collection field, breaks existing Criteria fields

    final List<Volume> volumes = session.createCriteria(Volume.class)
            .add(Restrictions.eq ("issueList", issueDOI)).list();

should work correctly when "issueList" is declared as:

@Predicate(uri = Rdf.dc_terms + "issueList", storeAs = Predicate.StoreAs.rdfSeq)
  private List<URI> issueList = new ArrayList<URI>();

Dependency Graph

Change History

02/06/08 00:06:13 changed by pradeep

  • status changed from new to closed.
  • resolution set to fixed.

(In [4642]) Rdf collections fields are also now handled properly in Criteria queries. This fixes #767.

07/16/08 11:00:19 changed by

  • milestone deleted.

Milestone 0.8.3 deleted