One thing to do is check to make sure that you are using the primitive long type instead of the wrapper Long object. The error message indicates that constructor is expecting a Long object while you are passing in something different, most likely the long primitive type.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.