Issue Details (XML | Word | Printable)

Type: Task Task
Status: Open Open
Priority: Major Major
Assignee: Unassigned
Reporter: Andy Jefferson
Votes: 0
Watchers: 0

If you were logged in you would be able to see more operations.
DataNucleus Store Neo4j

Use "table name" as the property value on the index (instead of class name)

Created: 31/Jul/12 07:45 PM   Updated: 31/Jul/12 07:45 PM
Component/s: Persistence
Affects Version/s: None
Fix Version/s: None

 Description  « Hide
When we create a Node we currently put it into the index for the class in question, as

db.index().forNodes("DN_TYPES").add(node, "class", className);

If the table name is specified we likely should do

db.index().forNodes("DN_TYPES").add(node, "class", tableName);

Note that, to find the object in a polymorphic query, if the class has persistable superclasses then we also put it with that class too, so would need to use the table name of the superclass in that case also

Sort Order: Ascending order - Click to sort in descending order
There are no comments yet on this issue.