« Return to Thread: Oracle CHAR(1) mapping as Input

Oracle CHAR(1) mapping as Input

by Vaas :: Rate this Message:

Reply to Author | View in Thread

Hello,

Friends, I am having difficulty in mapping a column - CHAR(1) which I need as input for a stored procedure.

I have tried various combinations.
jdbcType = CHAR, Javatype= java.lang.Character - Throws null pointer exception.

jdbcType = CHAR, Javatype= java.lang.String - Does not work
jdbcType = VARCHAR, Javatype= java.lang.String - Does not work

Any help is highly appreciated.

Thanks in advance.

 « Return to Thread: Oracle CHAR(1) mapping as Input