oracle - Cannot cast object '(10)' with class 'java.lang.String' to class 'java.lang.Integer' -


i using ireport 3.7.1. have made connection database.i have procedure when given input in number ,it returns word format of number i.e if give input 10,it return ten. problem when executing procedure in pl/sql developer,i getting proper output when firing same procedure in ireport it's giving me exception cannot cast object '(10)' class 'java.lang.string' class 'java.lang.integer' .

casting straight string integer not possible. you'll want use function integer.parseint(stringnumber);


Comments

Popular posts from this blog

matlab - "Contour not rendered for non-finite ZData" -

delphi - Indy UDP Read Contents of Adata -

qt - How to embed QML toolbar and menubar into QMainWindow -