Hi,

I was wondering the behaviour of getObjectsById operatiob upon
different argument values.

1st) getObjectsById(Collections.EMPTY_SET),  the user has not done any
invalid operation on the interface, thus it should just return another
empty collection. Currently, Datanucleus raises an exception.

2nd) when getObjectsById(null) is invoked, it raises a JDOUserException.

3rd) getObjectsById(Object... oids) where oids == null, it raises a
JDOUserException.

4th) getObjectsById(Object... oids) or
getObjectsById(Collections.EMPTY_SET), where one of the id elements is
null, it raises a JDOUserException.


Any thoughts?

Erik

Reply via email to