how to insert multiple columns(around 40) into my sql database using java
I am not sure whether you need compulsory callable statement or not.

If you are ready to use other ways, best way is convert your Excel sheet into CSV file and you can directly load data from CSV file into database by using following syntax:

"Load data infile "c:/filename.csv" into table tablename Fields terminated by ',' Lines terminated by '\r\n'"

This is sample syntax, and you can find the full syntax in net based on requirement.