See the method start(String jobXMLName, Properties jobParameters) has Properties but values can be any Object. We use long in the injection point.
If we inject our job-id (from our internal jobs application), we obtain 0.
If we use type Long in jobParameters, we obtain null.
Actual status (jberet:1.2.1.Final):
If we set String in jobParameters, we obtain expected number.
Setting long in jobParameters can inject long as well.
But no success with any other type.
This is a code fragment how we start the job with properties:
The XML is attached, see: