Jump to content

Recommended Posts

Posted

when i am running the report with stored procedure report is running fine. in that  report there are several expressions.

due to performance issues i converted sp to sql code , now same code when i am running in jaspersoft studio , while reading the fields its showing an error

 

Error: cannot cast from java.lang.integer to java.lang.bigdecimal.

please suggest me any one

 

Best Regards,

Harish.

 

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted

There's not java.lang.integer nor java.lang.bigdecimal. Java is case sensitive so it should be java.lang.Integer and java.lang.BigDecimal.

It's just saying there's a Integer column that's being used in BigDecimal expression.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...