Only return property-to-db mapping as properties enumeration if the node
is stored in a relational database. Otherwise, the actual properties are returned.
This commit is contained in:
parent
8f75b2183c
commit
bfa99996c8
1 changed files with 1 additions and 1 deletions
|
@ -1245,7 +1245,7 @@ public final class Node implements INode, Serializable {
|
|||
*/
|
||||
public Enumeration properties () {
|
||||
|
||||
if (dbmap != null && dbmap.getProp2DB ().size() > 0)
|
||||
if (dbmap != null && dbmap.isRelational() && dbmap.getProp2DB ().size() > 0)
|
||||
// return the properties defined in type.properties, if there are any
|
||||
return new Enumeration () {
|
||||
Iterator i = dbmap.getProp2DB().keySet().iterator();
|
||||
|
|
Loading…
Add table
Reference in a new issue