Why would JDOQL allow some random bit of SQL? JDOQL uses Java syntax, consequently the most logical Java syntax is Collection.contains so you pass in a Collection parameter which has those 5 elements, and do
:param.contains(id)
Obviously looking at the JDO spec would tell you that, and DataNucleus does nothing different.