peterjohnlawrence / com.inova8.odata2sparql.v4

Part of the overall odata2sparql solution, this odata2sparql.v4 module containing the olingo4 dependencies. In other words specifically for odata v4
http://inova8.com/bg_inova8.com/offerings/odata2sparql/
Apache License 2.0
5 stars 5 forks source link

Create pseudo subjectId for operations #62

Closed peterjohnlawrence closed 5 years ago

peterjohnlawrence commented 6 years ago

1: Create a pseudo subjectId of the form using the key fields of an operation entity

subjectid = prod='NWD~Product-58',order='NWD~Order-10863'

compared with normal subjectid for a standard entity

subjectdId = NWD~Product-58

2: Also declare this as the actual primary key of an operation entity

3: Change the subjecId for normal entities from string to quoted string:

NWD~Product-58 -> 'NWD~Product-58'

This will allow unambiguous use of the primary key within OpenUI5, OData and SPARQL

peterjohnlawrence commented 5 years ago

Fixed