Avoid NPE when retrieving null relationsDepth
The NPE leads to a broken cache inside of weborb's serializer - it merely can't see that there's a relationsDepth field and ignores it further.
@@ -99,7 +99,7 @@ public class QueryOptions
this.relationsDepth = relationsDepth;
}
- public int getRelationsDepth()
+ public Integer getRelationsDepth()
{
return relationsDepth;
}
