#1 2012-06-27 16:16:13

wesleychristelis
Member
Registered: 2012-06-15
Posts: 31

concat

Tags: [error, mysql]

when i do any sort of query with concat

eg :

select ('hello','world')

i get the following :

Exception in component tMysqlInput_1
java.sql.SQLException: Invalid value for getInt() - 'helloworld'
    at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1075)
    at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:989)
    at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:984)
    at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:929)
    at com.mysql.jdbc.ResultSetImpl.getInt(ResultSetImpl.java:2788)
    at clienteledata.event_presentation_attendance_resp_v2_0_1.Event_Presentation_Attendance_Resp_v2.tMysqlInput_1Process(Event_Presentation_Attendance_Resp_v2.java:824)
    at clienteledata.event_presentation_attendance_resp_v2_0_1.Event_Presentation_Attendance_Resp_v2.runJobInTOS(Event_Presentation_Attendance_Resp_v2.java:2057)
    at clienteledata.event_presentation_attendance_resp_v2_0_1.Event_Presentation_Attendance_Resp_v2.main(Event_Presentation_Attendance_Resp_v2.java:1925)



my columns match in my schema and DB... so it is not that

Last edited by wesleychristelis (2012-06-27 22:27:35)

Offline

#2 2012-06-28 05:08:36

pedro
Member
Registered: 2011-11-17
Posts: 3682

Re: concat

Hi

Could you show us the structure of your DB table, the query on tMysqlInput and the schema of tMysqlInput?
There must be some wrong settings. Because the exception indicates the wrong data type.

Regards,
Pedro


Only Paranoid Survive.

Offline

Board footer

Powered by FluxBB