Hi

I'm not exactly sure how Jython (Python) types get coerced to Java types. It seems that long gets converted to java.math.BigInteger

Is it possible to convert a python long to java.lang.Long and preserve the type? My problem is that I'm passing parameters to a Jasper report and if the report parameter type is set to java.lang.Long, passing a python long causes this exception:
net.sf.jasperreports.engine.JRException: Incompatible java.math.BigInteger value assigned to parameter myparam_name in the invoice dataset.