Select to view content in your preferred language

(Java) Inconsistent long typings for OIDs/counts in Enterprise SDK 11.0

569
0
10-28-2022 03:21 AM
Labels (1)
JulianSchlüntz
New Contributor

As documented, OIDs and counts have been changed to long.

But some methods still return ints for these values. For example queryRowCount and queryRowIDs of Class MapServer. The class Class LongArray despite its name also only uses ints.

Can the values actually be longs?

Can i run into trouble if those methods only return ints?

Should I be using other methods instead?

Is that an oversight?

0 Kudos
0 Replies