In database it is showing the value of the 3rd column is in decimal form (i.e. 123.45)
String getInfo = "{CALL PKG_TICKET.IF_TINFO" + "(?, ?, ?)}";
gcs_getInfo = (OracleCallableStatement)go_dbConn.prepareCall(getInfo);
System.out.println("The amount in the Database:"+gcs_getInfo.getString(3));
But after executing this code, I got 123,45 in my log file, while it's value is 123.45 in DB.
Is there any problem in code or any conversion problem in database or what???
Plz provide the solution as quick as possible
String getInfo = "{CALL PKG_TICKET.IF_TINFO" + "(?, ?, ?)}";
gcs_getInfo = (OracleCallableStatement)go_dbConn.prepareCall(getInfo);
System.out.println("The amount in the Database:"+gcs_getInfo.getString(3));
But after executing this code, I got 123,45 in my log file, while it's value is 123.45 in DB.
Is there any problem in code or any conversion problem in database or what???
Plz provide the solution as quick as possible