You can leave off, the index and the __type__ attributes and then it should work (from the data POV) with SDN4.
Not sure about the built in support for SDN, that's something we could look into. Cheers, Michael On Thu, Aug 10, 2017 at 8:48 AM, Sameer Rafiq <[email protected]> wrote: > It seems Nosqlunit-Neo4j is not working correctly with SDN 4. It inserts > following graphml node into Database but The Node doesn't have the label > due to which its repository class doesn't return the required node. > > <?xml version="1.0" encoding="UTF-8"?> > <graphml xmlns="http://graphml.graphdrawing.org/xmlns" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xsi:schemaLocation="http://graphml.graphdrawing.org/xmlns > http://graphml.graphdrawing.org/xmlns/1.0/graphml.xsd"> > <graph id="G" edgedefault="directed"> > <key id="__type__" for="node" attr.name="__type__" > attr.type="string"></key> > <key id="productId" for="node" attr.name="productId" > attr.type="string"></key> > > <node id="3"> > <data key="__type__">com.etilize.burraq.datasource.Product</data> > <data key="productId">100001235</data> > <index name="__types__" key="className">com.etilize. > burraq.datasource.Product > </index> > </node> > </graph> > </graphml> > > The tutorial which I followed was using SDN 2.1 and was working fine. > According to SDN 4 reference documentation TypeRepresentation classes are > removed and that may be the reason the Label is missing in Product Node. > Did anyone face the same issue? > > -- > You received this message because you are subscribed to the Google Groups > "Neo4j" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Neo4j" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
